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

MediaView have no easy way to track if ads playing #60

Open
TrueRokuDev opened this issue Apr 14, 2021 · 1 comment
Open

MediaView have no easy way to track if ads playing #60

TrueRokuDev opened this issue Apr 14, 2021 · 1 comment

Comments

@TrueRokuDev
Copy link

There is no way to track if Ads is playing without any tricks. It would be nice to put some interface to track it.
You are tracking this to set some states in ContentManagerMedia.brs:
sub OnRAFPlayingAds(event as Object) isPlayingAds = event.GetData() if isPlayingAds SetState("RAFPlaying") else SetState("RAFSuccess") end if end sub
I think it's a good place to provide developer info if ads playback is in process.

@RokuChris
Copy link
Contributor

This has been improved in v2.7. You can now use RAF's setTrackingCallback feature with MediaView.

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

No branches or pull requests

2 participants