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
LVL 2
ldvhaiAsked:
Who is Participating?
 
COBOLdinosaurConnect With a Mentor Commented:
If you need it for a Wordpress site there is a plugin that looks promising:

https://wordpress.org/plugins/jw-player-plugin-for-wordpress/

If it is for another environment you may need to look to the support for the theme or cms vendor to see if they have a plugin to give you the support you want.

Cd&
0
 
ldvhaiAuthor Commented:
Thanks for your sharing.

LDVHai
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.