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.
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.