LongTail Video is now JW Player - New Name, Same Passion For Video

Close

JW Player Support Documentation

Basic YouTube stream

Here is an example of a basic setup of JW Player, using a YouTube stream. This setup works on all desktop browsers and mobile devices:

Note JW Player uses the official Chromeless Player API from YouTube.

Embed code

As always, ensure you have uploaded a copy of JW Player and included the script in the <head> of your page, together with your player key. See the Quick Start Guide for more info. Next, place the following embed code at the location you want the player to appear:

<div id="myElement"></div>

<script>
    jwplayer("myElement").setup({
        file: "http://www.youtube.com/watch?v=ac7KhViaVqc",
        image: "/uploads/myPoster.jpg"
    });
</script>

See Embedding JW Player for more info.

Still don't have the new JW Player? Get It Here