Link to home
Start Free TrialLog in
Avatar of ldvhai
ldvhai

asked on

Embed HTML5 into JWplayer 6

Dear All,

             I have a JWplayer 6's source  (Only running on Flash). And now i want to embed HTML5 fallback into JWplayer (Running both Flash and HTML5). What should i do?

This is my source code:

<html>
<script type="text/javascript" src="jwplayer.js" ></script>
<script type="text/javascript">jwplayer.key="N8zhkmYvvRwOhz4aTGkySoEri4x+9pQwR7GHIQ==";</script>
<div id='playerduylgdVjCrkH'></div>

<div id='content' class="jwplayer" style='margin: 0px auto'>Not found video</div>
    <script type='text/javascript'>
        jwplayer("content").setup({
            volume: "100",
            menu: "true",
            allowscriptaccess: "always",
            wmode: "opaque",
            file: "http://14.0.24.237/hmt/_definst_/smil:hmt/bigbuckbunny.smil/playlist.m3u8",
            width: "60%",
            height: "60%"
        });
    </script>
</html>

Open in new window


Thanks advance,
LDVHai
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ldvhai
ldvhai

ASKER

Thanks for your sharing.

LDVHai