i use the jwplayer (player.swf) as flash fallback (object) in the video tag. I have two videos on the site and wonder if its normal that i have two http requests even the player.swf is the same.
Then the other thing is that the player.swf is not cached - I don't get a 304. But the expires header is one month in the future.
<video width="334" height="250" controls preload="none" poster="/uploads/my_poster.jpg">
<source src="/uploads/my.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
<source src="/uploads/my.webm" type='video/webm; codecs="vp8, vorbis"' />
<source src="/uploads/my.ogv" type='video/ogg; codecs="theora, vorbis"' />
<object width="334" height=开发者_JAVA技巧"250" type="application/x-shockwave-flash" data="/design/mediaplayer/flash/player.swf">
<param name="movie" value="/design/mediaplayer/flash/player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="never" />
<param name="wmode" value="opaque" />
<param name="flashvars" value='controlbar=over&skin=/design/mediaplayer/flash/skin/skin.xml&image=/uploads/my_poster.jpg&file=../../../uploads/my.mp4' />
</object>
</video>
精彩评论