Jump to content

I can't use external video for videoTexture


Recommended Posts

  • 3 weeks later...

Hello, is there a way to use the html5 video element with tracks as texture to sychronize text informations and chapter menus in babylonjs?

<video id="video1" autoplay muted crossorigin="" poster="poster/_lebensweltdresden.jpg" controls="false" loop preload="auto">
                    <source src="video/video.mp4" type="video/mp4" />
                           <track id="track-chapters" src="vtt/chapters.vtt" kind="metadata" srclang="en" default>
                        <track id="track-title" src="vtt/title.vtt" kind="metadata" srclang="en" default>
                      <track id="track-map" src="vtt/map.vtt" kind="metadata" srclang="en" default>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...