-
Notifications
You must be signed in to change notification settings - Fork 8
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
can we change the surface type (from 360 to normal view) at runtime? #12
Comments
Yes, this should work and it is OK to change the projection type at any time when playing a video stream (no need to pause/continue or anything like that). Many of our players have a separate button for toggling projection type at user's will. There are two options:
You probably need to swap the projection using this command when the ad begins: And, when the ad ends, return to 360 projection like this:
There is an example of this approach, too: |
Dear @trantako , your quick response is highly appreciated Thank you |
There is now a separate document that discusses ads (SERVING_ADS.md) as well as 5 examples of different approaches. Closing the issue. |
Can we change the surface type from 360 degrees to be a normal (2d) preview?
The problem is that I need to display a video ad in the middle of the video, but the ad is shown in 360 mode.
so we need to change the type when the ad starts, and change it back to the surface type(360) once the ad is complete.
I tried to change the projection type as you mentioned in the doc, but it didn't work
Thanks in advance
The text was updated successfully, but these errors were encountered: