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

Give play authorization for ad video tag. #5

Conversation

larryaubstore
Copy link

This is a pull request to fix the 'play authorization' issue on mobile devices.

@shawnbuso
Copy link
Contributor

Thanks for the pull request! Unfortunately I don't think this is the ideal solution, as it would result in re-initializing the AdDisplayContainer every time the user clicks a new video, and that call only needs to be made once. I do have a fix in the works on my end and it should be out in the next few days.


// Give play authorization to the ad video tag
if(navigator.userAgent.match(/(iPod|iPhone|iPad)/) ||
navigator.userAgent.toLowerCase().indexOf('android') > -1) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

android

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

Successfully merging this pull request may close these issues.

None yet

3 participants