问题
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