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

Chromecast not working when Advertising added


Hi,

We're trying to enable Chromcast support on our player, and it normally seems to work. However we are using the advertising setup to add prerolls for disclaimers, etc. When a video has one of these prerolls, the Casting icon appears, but clicking it does nothing. If the preroll is removed from the video, then it works.

The prerolls are being added via .setup using:

advertising: {
client: "vast",
schedule: {
adbreak1: {
offset: "pre",
tag: bumper_path,
}
},
admessage: ' '
}

Where "bumper_path" is a valid url to the disclaimer/preroll.

Is there any issue with our implementation? Prerolls have always worked fine for us using this method. Everything else continues to work correctly, the preroll plays, then the video (the casting icon only shows when the full video starts playing), the icon is just not clickable.

Thanks.

3 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

I do not believe Chromecast supports the use of advertising within the setup of our player as it considers this third party advertising. https://www.youtube.com/static?template=terms

Randy

g...

User  
0 rated :

Hi Randy,

Thanks for the response.

The casting docs (https://support.jwplayer.com/customer/portal/articles/1611847-introduction-to-casting) do mention that advertising will be disabled, which is fine. But in this case the "ad" is playing, only after that do they even get the casting option, which then doesn't do anything.

It sounds like how it's supposed to work, is that casting should be allowed, but ads would be disabled (this isn't really an issue, especially if the ad has already played), or the casting button should not be visible.

Sorry, I'm also not sure what I'm supposed to be looking at with regards to that YouTube link.

Thanks.

Randy

JW Player Support Agent  
0 rated :

Hello,

At the moment our player does not support the Chromcast implementation with advertising at this time. I do think this is in part to restrictions on ad content. We are looking into alternate methods for casting, etc that might change this whole mechanism in upcoming releases.

Randy

This question has received the maximum number of answers.