Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Nest old jwplayer in new html video tag


I'm not a big fan of things hosted on other servers so I'm going to nest an old jwplayer (6) in the new <video> tag.
How would I nest this?

<p id="player1" class="player"></p>
<script type="text/javascript">var so = new SWFObject("inc/player.swf","mpl","320","240","9.0.115");
so.addParam("allowscriptaccess","always");
so.addParam("allowfullscreen","false");
so.addParam("flashvars","&file=/videos/mp4/busker_whatis.mp4&image=img/busker_whatis.jpg&backcolor=000000&frontcolor=efcb89&lightcolor=efcb89&screencolor=000000&controlbar=over&stretching=none&autostart=false&link=http://website.com/buskers.php#gallery&linktarget=_self&bufferlength=2");
so.write("player1");</script>

4 Community Answers

s...

User  
0 rated :

I just read:
mp4/m4v video files will not play in Firefox. And if you use the HTML5 video tag, Firefox also won’t fallback to Flash, either. It will just show a blank box. You need to include an ogv file format in addition to mp4.
Is this true? Kinda defeats my plan for display in Firefox.
And just why won't Firefox play mp4 anyway?

s...

User  
0 rated :

I guess it's the latest JWplayer or drop Firefox coverage.

s...

User  
0 rated :

For future reference, mp4 is OS dependent. For example, Firefox won't play it natively in Windows XP...it needs a discontinued plugin (quicktime). In Windows 7 up, it plays natively.

Todd

JW Player Support Agent  
0 rated :

Why don’t you just self-hosted an old JW6 player? Better yet, self-host JW7…

This question has received the maximum number of answers.