Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
I.kishanth's avatar
I.kishanth
Honored Guest
4 years ago

Allow predefined HTML attribute in <video> tag to define video as 2D / 3D and 180VR /360VR

I have a small website with VR Videos that are exclusively for Oculus devices. The video-clips are emmbedded with video-Tag.

 

HTML Code:

<video controls>
  <source src="video.mp4" type="video/mp4">
</video>

 

Everytime the user has to select manually the following parameter. 3D-Side by Side, 180°VR or 360°VR.

It would be awesome, if Meta can introduce a custom html attribite to video tag to preselect.

 

Eg. HTML Code:

<video controls>
  <source vrangle="180" vrmode="3DSide"  src="video.mp4" type="video/mp4">
</video>

 

Or with better naming 🙂

 

Thank you.

1 Reply

  • amorford's avatar
    amorford
    Honored Guest

    I too am interested in how to set the VR Format on the HTML Video tag,

    https://delight-vr.com/documentation/dl8-video/ is a paid solution with a clearly defined format="<string>"

    How does this get missed by the team developing the Oculus Web Browser experience? 

    Please share publicly and document whatever you (Oculus) seem to have shared just with Delight VR.