Oct. 21, 2009Irvine
I downloaded JW Player..
I tried to apply skin to my default player.swf
but I can't. It doesn't work.
How Can I apply?
and after embedding player.swf, I can't see progress bar in play bar.
How can I set this?
Please Help me ^^
Thanks all
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="748" height="780">
<param name="movie" value="http://www.bestoneprice.com/movie_player/player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=http://www.bestoneprice.com/ocirvine/oc_class/free_grammar/1-5.flv&image=http://www.bestoneprice.com/ocirvine/oc_class/free_grammar/grammar_title.jpg" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="http://www.bestoneprice.com/ocirvine/oc_class/free_grammar/1-5.swf"
width="748"
height="780"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.bestoneprice.com/ocirvine/oc_class/free_grammar/1-5.flv&image=http://www.bestoneprice.com/ocirvine/oc_class/free_grammar/grammar_title.jpg&duration=123&skin=http://www.bestoneprice.com/movie_player/skin/modieus.swf"/>
</object>
Oct. 22, 2009hobbs
You failed to put a reference to the skin in the flashvars for the object element.
Generally, when the progrsss bar doesn't work, it's because your FLV container doesn't have the correct metadata. Yours has a duration of zero.
Magic: FLV
Version: 1
Has audio: yes
Has video: yes
Offset: 9
--- Tag #1 at 0xD (13) ---
Tag type: Meta
Body length: 268
Timestamp: 0
* Metadata event name: onMetaData
* Metadata contents: {
'duration' => 0.000000
'width' => 748.000000
'height' => 748.000000
'videodatarate' => 500.000000
'framerate' => 24.000000
'videocodecid' => 2.000000
'audiodatarate' => 0.093750
'audiosamplerate' => 22050.000000
'audiosamplesize' => 16.000000
'stereo' => true
'audiocodecid' => 2.000000
'filesize' => 0.000000
}
Previous tag size: 279
Use FLVMDI to post-process your FLV file to create and inject the metadata.
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.