Hi,
I’m having a few problems with my swf communicating with my flv. If anyone has suggestions that would be great.
I have the following actionscript in my flv:
var flvSource:String = src_flv;
video.contentPath = flvSource;
video.skin = skinSource;
And here is the code within my html page. I have uploaded the flv to a CMS so have to use a query to get its location etc (String src_flv), and this is where problem is occuring. As when I just FTP flv to server and point to it, there is no problem.
String src_flv = “http://servername/servlet/BlobServer?blobkey=id” +
“&blobwhere=” + videoID +
“&blobcol=url_flv&blobtable=Video&blobheader=video/x-flv”;
String src_swf = “http://servername/servlet/BlobServer?blobkey=id” +
“&blobwhere=” + videoID +
“&blobcol=url_swf&blobtable=Video”;
<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000”
codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0”
width=“450”
height=“300”
align=“middle”>
<param name=“allowScriptAccess” value=“always”>
<param name=“movie” value=’<%=src_swf%>’>
<param name=“quality” value=“high”>
<param name=“bgcolor” value="#ffffff">
<param name=“FlashVars”
value="&skinSource=/futuretense_cs/Video/ClearExternalPlaySeekMute.swf&src_flv=<%=src_flv%>&autoPlay=false&autoRewind=false"
/>
<embed src=<%=src_swf%>
flashvars="&skinSource=/futuretense_cs/Video/ClearExternalPlaySeekMute.swf&src_flv=<%=src_flv%>&autoPlay=false&autoRewind=false"
quality=“high”
align=“middle”
bgcolor="#ffffff"
width=“450”
height=“300”
allowScriptAccess=“always”
type=“application/x-shockwave-flash”
pluginspage=“http://www.macromedia.com/go/getflashplayer”>
</object>