![](https://secure.gravatar.com/avatar/fcfdb0824fdc1606832d722ae0f4fa5e?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Invalid License key
Hello guys,
I have a problem with the license key.
http://www.lanacion.us/
I've used the embed code from the Dashboard, and paste the <script> cloud-hosted player code in the header, but it shows me the following error :
Error setting up player:
Invalid license key
Here is my code
<script src="http://jwpsrv.com/library/K7g9XryNEeS8AQp+lcGdIw.js"></script>
<script type="text/javascript">
(function() {
var dVideo = document.createElement("div");
dVideo.id = "video";
dVideo.className = "video";
document.onreadystatechange = function(){
if(document.readyState === "complete"){
document.body.insertBefore(dVideo,document.body.firstChild);
var playerInstance = jwplayer("video");
console.log(playerInstance);
playerInstance.setup({
playlist: "http://content.jwplatform.com/feeds/ZZA07xFG.rss",
width: 350,
height: 250,
volume: 5,
autostart: true,
advertising: {
client: "vast",
tag: "https://pubads.g.doubleclick.net/gampad/ads?sz=400x300&iu=/33437307/Kawasaki_2&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=[referrer_url]&description_url=[description_url]"
}
});
playerInstance.on('adRequest', function(){
console.log('dolor ahi...');
});
}
}
})();
</script>
Any ideas??