Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add call to setAdWillAutoplay #484

Closed
shawnbuso opened this issue Jan 10, 2018 · 3 comments
Closed

Add call to setAdWillAutoplay #484

shawnbuso opened this issue Jan 10, 2018 · 3 comments

Comments

@shawnbuso
Copy link
Contributor

No description provided.

@shawnbuso
Copy link
Contributor Author

Blocked by #341

@Smartclip-ES
Copy link

Hi there!

My video-js + IMA implementation was working fine until a few days ago. Now I can´t mute the ad on some VPAIDs.
As you can see in the link below, this implementation is quite different to your example.

https://em2.storage.oraclecloud.com/v1/Storage-a482323/smartclip-services/sc_player/simple.html?vast=https%3A%2F%2Fdev.smartclip.net%2Fusr%2Feme%2FtestVast%2Fcoke.xml&autoplay=true&muted=true&poster=https://s.libertaddigital.com/videos/los-favoritos-de-la-temporada-del-motor-6060167-1.jpg&content_video=https://em2.storage.oraclecloud.com/v1/Storage-a482323/smartclip-services/sc_player/dependencies/media/sc_background.mp4&height=611.7018750000027&width=1087.47&container=sc_player14050323

You will see that i simply create the video player as muted and init the video if the var autoplay is set to true.

Is there any simple way to insert the changes needed to make it work without copying your full example?

Thanks in advance

@shawnbuso
Copy link
Contributor Author

The example we created is designed to work cross-platform - some platforms allow you to autoplay anything any time, some have limited support, and others never let you autoplay. The example we have will autoplay if allowed, and fall back to click-to-play if not. That makes it a bit complicated.

All that aside, it shouldn't be affecting your ability to mute a VPAID ad. I tested your page, but in my tests I was able to mute the ad that loaded. Are you only seeing this on specific devices or platforms?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants