Skip to content

Aframe Vimeo Play/Pause Controls stop working with multiple videos. #26

@niverik2k

Description

@niverik2k

I was able to create a component,boxplaypause to allow playback to play and pause by clicking the <a-entity> And it works, until you attach the component to two entities in the same scene. There are no errors, and the console logs show that the component runs the code, but the 'vimeo.play()' and 'vimeo.pause()' stop working. I included a version with both autoplaying, to show that both videos are able to play at the same time and that the only thing that stops working is the play pause control.... I am using the most recent version of aframe 1.0.4

This is a link to the project
https://justinwking-vimeosample.glitch.me/

This is a link to the html document with the script, you would need to use it with the server.
playback.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions