Saturday, March 27, 2010

Serving an FLV file over HTTPS

Received a set of files that were created via Camtasia



There are files with extensions html, swf, xml, flv, js



If you call the HTML file, you will view an flash movie. All
works fine on my machine and a test machine running under HTTP.



When I move the files to a server running under SSL it
doesn't. It loos like the SWF file is loaded, but the FLV file
never does, so all I see is a shell where the movie should be
presented. Tring to find out is anyone can give me a lead to what
might be going on





Here is part of the Html file



%26lt;/head%26gt;

%26lt;body %26gt;

%26lt;div id=''flashcontent''%26gt;

%26lt;div id=''noexpressUpdate''%26gt;

%26lt;p%26gt;The Camtasia Studio video content presented here
requires JavaScript to be enabled and the latest version of the
Macromedia Flash Player. If you are you using a browser with
JavaScript disabled please enable it now. Otherwise, please update
your version of the free Flash Player by %26lt;a href=''
http://www.macromedia.com/go/getflashplayer''%26gt;downloading
here%26lt;/a%26gt;. %26lt;/p%26gt;

%26lt;/div%26gt;

%26lt;/div%26gt;

%26lt;script type=''text/javascript''%26gt;

// %26lt;![CDATA[

var fo = new FlashObject( ''Movie_controller.swf'',
''Movie_controller.swf'', ''320'', ''295'', ''8'', ''#FFFFFF'', false, ''best''
);

fo.addVariable( ''csConfigFile'', ''Movie_config.xml'' );

fo.addVariable( ''csColor'' , ''FFFFFF'' );

fo.addVariable( ''csPreloader'' , 'Movie_preload.swf' );

if( args.movie )

{

fo.addVariable( ''csFilesetBookmark'', args.movie );

}

fo.write(''flashcontent'');

// ]]%26gt;



%26lt;/script%26gt;

%26lt;/body%26gt;

%26lt;/html%26gt;



Only relationship to the FLV file I see is in the
Movie_config.xml file



%26lt;playlist%26gt;

%26lt;array%26gt;

%26lt;fileset%26gt;

%26lt;video1%26gt;

%26lt;duration type=''Number''%26gt;1241.12%26lt;/duration%26gt;

%26lt;uri%26gt;Movie.flv%26lt;/uri%26gt;

%26lt;frameRate type=''Number''%26gt;25%26lt;/frameRate%26gt;

%26lt;keyframeRate type=''Number''%26gt;125%26lt;/keyframeRate%26gt;

%26lt;blendingMode%26gt;Normal%26lt;/blendingMode%26gt;

%26lt;isFlv type=''Boolean''%26gt;1%26lt;/isFlv%26gt;

%26lt;/video1%26gt;
Text
sssServing an FLV file over HTTPS
I resolved a similar issue by adding the flv mime type to the
server.



Extension: .flv

MIME Type: video/x-flv



Hope this helps.



Chad



  • beauty blog
  • colon cleansing
  • sun mask
  • No comments:

    Post a Comment