-
Notifications
You must be signed in to change notification settings - Fork 9
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
Playing ads on AppleTV with kaltura-player-rn #66
Comments
Please check it on our samples if you see the same |
@giladna Do you maybe have an example implementation with pre-roll ads for react-native-tvos ? I will try to provide some more context to the errors that we are getting:
Do you have an idea what could the issue be? And my last question is could you point us towards a documentation on how to add mid-roll ads? Ideally with the PlayKit_IMA plugin. |
Hi @attilakiss323, Sorry for the late reply. Thanks, |
Description
I am using the PlayKit_IMA plugin to play pre-roll ads in our React Native TVos project with kaltura-player-rn. The first time I open the video player the ad loads as expected, however if I then exit the player and open it again the ad does not load anymore.
AdEvents.AD_REQUESTED
is fired, butAdEvents.STARTED
is not.Setup
Where the initial config looks like this:
Not sure if it is relevant for the config, but we are playing DRM protected videos.
Versions
Gemfile:
Observation
As far as I can tell the issue is that in
IMAPlugin.swift
when the ad is loaded it is immediately discarded as well, but I haven't been able to figure out why.Any suggestion would be highly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: