load a youtube video

  • a bit off topic on this, but related since i am using this XML example for a video.


    All is working fine.
    But now i want to add a 'button' layer to skip the video and trigger some action.


    I see the button layer, the mouse hovers over it, but the onclick event is not triggered.
    Only when the video-layer is closed, the onclick event of the buttons is actually triggered.


    It feels like something is blocking it, while the video is playing.
    Is this right? can i do something about this?


    as a quick test i added this layer:




    so the onclick is not triggerd when the video layer is there and playing,
    but when the video layer is deleted, it does trigger.


    I want to create a basic button to 'skip this video' and move on to the next step...


    Any ideas?

  • Hi,

    the WebVR Browser API allows only using manually rendered WebGL content in VR - that's excludes all HTML elements.

    And the only API that Youtube offers for embedding is via <iframe> and that's a HTML element.

    That means Youtube is not possible in VR.

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!