Embed Jwplayer

Hi I am trying to embed jwplayer in a betheme page but I am having difficulty.

I have done it before with another theme and added javascript in the header and added code in the page.
I have been unsuccessful thus far.

Is it possible to add javascript to this theme like other themes?

In the head:
<script src="{CLOUD-HOSTED_PLAYER_LIBRARY_URL}"></script>
In the body:
<div id="myElement"></div>

<script type="text/JavaScript">
    jwplayer("myElement").setup({ 
        "playlist": [{
                "file": "{MEDIA_ASSET_URL}"
        }]
    });
</script>


Comments

Sign In or Register to comment.