Can I change the view of a 360 YouTube video with the gyroscope in the browser?

1.3k views Asked by At

I would like to embed a 360 youtube video into a web page and then allow the user to 'look around' by affecting which direction of the video is displayed based on the phone's gyroscope.

Does Youtube provide an API for this level of control in the browser?

(See here for an example of a 360 youtube video: https://www.youtube.com/watch?v=gQEyezu7G20)

1

There are 1 answers

0
Nate On BEST ANSWER

The YouTube IFrame API (API for embedding a YouTube video into a webpage) doesn't currently allow for controlling pan/tilt of 360 degree videos. I filed an enhancement request for this feature.