jwTube - Making JWPlayer 6 work with YouTube in HTML5 mode

A summary of the issue and implementation instructions can be found at this supporting blog post.

In Page Examples

These examples demonstrate how to implement jwTube when the JW Player is configured as part of the initial page load.

Single file | RSS Playlist | Media Playlist | YouTube Playlist | Inline / Merged Playlist

Dynamically Loaded Example

This example demonstrates how to implement jwTube when the JW Player is loaded dynamically as a result of a user interaction - such as when loading the video into a popup.

Single file


Code

HEAD

<script type="text/javascript" src="jwplayer.js"></script>
<script type="text/javascript" src="jwtube.min.js"></script>

BODY

<script type="text/javascript">
  jwplayer("container").setup({
    "title":"Danny Macaskill - Industrial Revolutions",
    "description":"Industrial Revolutions is the amazing new film from street trials riding star Danny Macaskill. Filmed and edited for Channel 4's documentary Concrete Circus by Stu Thomson from http://www.CutMedia.com",
    "image":"danny_macaskill.jpg",
    "width": "50%",
    "aspectratio":"16:9",
    "file": "http://www.youtube.com/watch?v=ShbC5yVqOdI",
    "type":jwtube.setType()
  });
</script>

Notes: