Reputation: 672
I am unable to get any source to play YouTube 360 degree videos on my android application. I have searched about the Google VR SDK but how to play youtube 360 video through it, i don't know. Looking for some examples or sources to achieve the same. Thanks in Advance.
Upvotes: 1
Views: 1846
Reputation: 404
Google VR SDK's official repository contains sample projects that demo SDK capabilities. There is a specific sample project that shows how to play a 360deg video (see "sdk-simplevideowidget" project at https://github.com/googlevr/gvr-android-sdk/tree/master/samples).
However, there is no current way to use Google VR SDK to play YouTube videos directly. You'll either need to package the 360deg videos in your app or stream it from another location that has a direct URL to the video asset.
Upvotes: 3
Reputation: 756
Have you looked at this Google Developers 'Getting started'? It also has a code example.
Also this Codelabs tutorial is a great guide.
Upvotes: 0