
code doesn't work, what am i doing wrong?
Hello,
i'm trying to host jwplayer on the site,
i got the basic code with url of the player and licence key and put it on the header of the page
<script src="mysite/jwplayer-7.2.4/jwplayer.js"></script>
<script>jwplayer.key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";</script>
then i put the code on the page with Low def and hi def videos, logo and image, but it doesn't work
<div id=“jwplayer”>Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer(“jwplayer”);
playerInstance.setup({
sources: [{
file: "mysite/Facce_tv_low.mp4”,
},{
file: "mysite/Facce_tv.mp4"
}]
image: "mysite/Facce_tv1080.jpg",
width: 640,
height: 360,
title: 'title',
description: ‘description’,
mediaid: 'dW7FIoMA’,
logo: {
file: 'mysite/image.png',
hide: true,
link: 'mysite'
}
});
</script>
could anyone tell what's wrong?
thank you