To play 360 videos from YouTube in my app, I integrated YouTube API. It plays normal video properly in its builtin YouTube player, but it doesn't support 360 videos. After so much digging, I use YouTubeStandalonePlayer to play 360 videos, but only work when I open that 360 video in light-box. Otherwise, when I set the light-box as false, it opens a full screen YouTube player, but the 360 videos stuck in there. It's just play for a second and get paused, same thing happen when we seek the video just to play for one second and get paused. Other YouTube API player does not play 360 videos properly.
Any suggestion will be helpful