Validate your FLV Player
As I blogged a while ago about validating flash swf, I thought it might be useful to include this code for validating flash flv player. I think this validates for xhtml strict so should be OK for everything else.
===========================================
<!-- flash -->
<object type="application/x-shockwave-flash"
data="../vid/flvplayer.swf?file=yourclip.flv&autoStart=false
width="340" height="286"
id="VideoPlayback">
<param name="movie"
value="../vid/flvplayer.swf?file=yourclip.flv&autoStart=false
docId=8755581808731033658" />
<param name="allowScriptAcess"
value="sameDomain" />
<param name="quality" value="best"/>
<param name="bgcolor"value="#ffffff" />
<param name="scale" value="noScale"/>
<param name="salign" value="lb"/>
<param name="FlashVars"
value="playerMode=embedded" />
</object>
<a href="http://www.adobe.com/shockwave/download/alternates/"
title="get flash plug-in">Flash plug-in required</a>
===========================================
Thx to Kev for his work on this.
For the main flash validation codes, go here
UPDATE
I CORRECTED THE CODE, WHICH HAD A MISSING '8' IN THE PARAM NAME MOVIE VALUE...IT WILL NOW WORK IN IE AS WELL AS FF AND OPERA... :)
1 Comments:
there was an error on this code...
BOTH lines of code that look like this
file=yourclip.flv&
should include the #38, be sure to not miss the 8 in the second line like this...
Post a Comment
<< Home