How to enable cardboard mode in Youtube Android Player API?

倾然丶 夕夏残阳落幕 提交于 2019-12-23 16:07:43

问题


I want to enable viewing 360-degree videos from Youtube inside my app in the cardboard mode which splits the video into two halves for the two lenses in a Google cardboard, like in the Youtube app. I'm using Youtube's Player API for Android to show youtube video's in my app but I don't see any option to enable cardboard mode in the YouTubePlayer interface docs.

Please advice how can this be done. Thanks

来源:https://stackoverflow.com/questions/42840077/how-to-enable-cardboard-mode-in-youtube-android-player-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!