Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Chromecast Code Example


Hi,

Am working on a JW Player configuration to send to Chromecast. This is what I have, but it's not working. Is there a complete code example that I could use as a reference? Have been looking everywhere with no joy.

Below is an example of what I am working with presently.

-Tim

----------

<head>

<title>JW Player Test</title>

<script src="jwplayer/jwplayer.js"></script>
<script>jwplayer.key="[MY ENTERPRISE JW LICENSE KEY]==";</script>

</head>

<body>

<!--
~~~~~~~~~~~~- JW PLAYER ~~~~~~~~~~~~~~-
-->



<div id="player">Loading the player...</div>
<script type="text/javascript">
jwplayer('player').setup({
        file: 'http://[MY WOWZA SERVER]:1935/secure/l2cam.stream_360p/playlist.m3u8',
skin: 'jwplayer/bekle.xml',
        width: '100%',
height: '100%',
        image: 'images/wowza_poster.jpg',
aspectratio: '16:9',
        primary: 'html',
"ga":{},
cast:{
appid:”[MY APP ID]”,
railcolor:”#e31e76",
// loadscreen:”/img.png”,
// endscreen:”/img.png”,
logo:”logo.png”
},
    });

</script>
</div>

</body>

2 Community Answers

mark

User  
1 rated :

Please try a mp4 file first, if this works it means a crossdomain issue.

Cooper Reid

JW Player Support Agent  
0 rated :

Tim -

Can you please provide a link so we can troubleshoot your issue?

Regards,
Cooper

This question has received the maximum number of answers.