Can we play 360 video using GvrView of google VR android sdk? - android

By using VrVideoView we can play 360 video but my issue is that, we cannot put video controller such as (Previous,Next,Play,Pause) in Bi-rectangular View. So how we can add this controller in VrVideoView (If we can). And I found that we cannot play 360 video using GvrView. So i just want to add video controller in 360 video in Bi-rectangular view.

Related

Is there anyway to Embed youtube 360 video to Android

I want to live stream a 360 video to my android app.
The main function of the app is to watch live 360 videos.
I tried using the YouTube API, but it does not work as it doesn´t render the video. I tried using the Google VRVideoView from the cardboard API. But it seems it can´t parse YouTube URI.
Is there any way I can do this? Or any alternative platform that supports 360 video steaming on mobile?
I have used Pan frame SDK to play 360 video in Android App. I have updated the complete source code in Github,
https://github.com/JayaprakashR-Zealot/360VR
Please let me know if you find any issues.

how to view normal video in cardboard like youtube

I have an app that plays normal and VR videos. My app has two players to play both types. In my VrVideoView there is a button that makes video play in stereo mode.
My question is: how can I view normal videos in Cardboard just like the YouTube app?

Load 360 degree video on youtube using VrVideoView (Google VR SDK)?

I want to load a 360 degree video, which is on youtube, in an native android app using VrVideoView (Google VR SDK).
Looking at the android api reference here, it doesn't seem to be supported,
but it seems to be available for iOS version?
Is there anyway to do this on android? Thanks
You can't play YouTube videos in custom video player because of YouTube content policy.
Even if you get video stream URL, your application will be rejected from Google Play.
The only thing you can do is to use Android YouTube player API
In the case of a 360 YouTube video it is 'Mono 360 uses a single pano.'
You can solve this problem by changing VrVideoView.Options
VrVideoView.Options options = new VrVideoView.Options();
options.inputType = VrVideoView.Options.TYPE_MONO;
videoWidgetView.loadVideoFromAsset("<your local youtube video>", options);
if you are not integrated sdk yet here is the .
link
for more info link

How to play 360 mp4 vids?

I'm fascinated by the 360 videos on YouTube as of recently. I'd like to develop a sample Android application that can play a 360 video and be able to pan/swipe with it along with being able to use accelerator/gyroscope.
Few questions:
What file format is 360 video? Where can I download sample 360 video?
Is it even possible to use Android library to play 360 video? If so, what player would I need to use to "play" 360 video?
How can I handle pan/swipe for a 360 video played by the native player?
Is it possible to play an existing YouTube 360 video using Android native Player? And at the same time be able to handle pan/swype/gyro?
Please provide a code sample. Thanks!
360 Videos are just videos recorded by a 360 camera. What separates them from a normal video is just the meta data.
Use panframe library for Android/iOS.
http://www.panframe.com

Playing spherical videos using YouTube Android API

Is it possible to play spherical youtube videos using YouTube Android API?
When I tried it just renders spherical video on flat surface like normal video.

Categories

Resources