videojs-vr icon indicating copy to clipboard operation
videojs-vr copied to clipboard

Autodetect if video is 360

Open samueleastdev opened this issue 5 years ago • 3 comments

Hi, I am pretty sure I know the answer to this but thought it was worth asking here.

Can you autodetect if a video is 360 VR so I don't have to build the logic into my setup?

Thanks

samueleastdev avatar Mar 31 '20 18:03 samueleastdev

Yeah, I don't think we can reasonably add that in. For mp4 videos, we'd need to download the video ourselves and parse the mp4 and for HLS/DASH, we don't have hooks into the data from VHS and on Safari we are limited like we are with mp4. Unfortunately, the best approach is to sideload the information along with the source.

gkatsev avatar Mar 31 '20 19:03 gkatsev

I believe you can parse and detect if the video has 'spherical' information, you can even detect its projection type etc.

rama-thelagathoti avatar May 18 '20 11:05 rama-thelagathoti

I believe you can parse and detect if the video has 'spherical' information, you can even detect its projection type etc.

That is correct. See my post here.

EndeavourAccuracy avatar Jul 03 '21 20:07 EndeavourAccuracy