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

Pause ads problem #37

Open
KVA24 opened this issue Jan 9, 2024 · 3 comments
Open

Pause ads problem #37

KVA24 opened this issue Jan 9, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@KVA24
Copy link

KVA24 commented Jan 9, 2024

Sorry to bother you,
I want to ask about a problem, when the ad starts, I can stop it by clicking. But I don't want that, so is there a way to stop this action?
I tried resume the player after "ad_pause" event, but this will cause a delay in the experience.

@kslimani kslimani self-assigned this Jan 10, 2024
@kslimani kslimani added the question Further information is requested label Jan 10, 2024
@kslimani
Copy link
Owner

By default, ad click is handled by the IMA ad itself. (default behaviour may differ if ad is played, for example, using VPAID)

A solution is to implement custom ad click element, using the clickTrackingElement option.

see also AdDisplayContainer opt_clickTrackingElement argument from IMA documentation.

@KVA24
Copy link
Author

KVA24 commented Jan 11, 2024

I tried your option of using clickTrackingElement, but it didn't work.
Another problem, when I tested it on some Mac devices using the Safari browser, there was a phenomenon of black screen ads when pausing. Do you have experience with this issue?

@kslimani
Copy link
Owner

Nothing comes to my mind about this black screen ads.

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

No branches or pull requests

2 participants