Possible to use Youtube iFrame in 360 Video Player?


I was hoping to leverage a service like youtube for it’s adaptive bitrate streaming for 360 videos (a higher res video on a phone would kill performance, and youtube seems to handle down ressing accordingly, pretty well).

After reading another thread it seems like iFrame may be a no-go, do to it being a separate DOM element, and also for the fact that texture.setSource, doesn’t take in an iFrameElement. I was able to get m3u8 files playing with hls.js, but again, was hoping to leverage a service that can take care of the video processing and bandwidth based quality levels, and also work with the 360 player (play on inside of sphere).

Any suggestions here, or has anyone tackled a similar problem?


I’m afraid not, you need the mp4 stream.

1 Like

A post was split to a new topic: YouTube iframe integration problems