
Dynamically Loading a Video Player
I am using premium version 6.12
Is there a sample anywhere about how to set up an embed code for a player that would be Dynamically Loaded on to a page? Like, what would the code below look like if it was Dynamically set for a player to work?
div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
file: “ http://www.youtube.com/v/JVnT6W8i_K8?” ,
sharing: {},
image: "http://www.mywebsite.com/images/prettyimage.jpg",
primary: "flash",
autostart: true,
skin: "five",
width: "100%",
aspectratio: "16:9"
});
</script>