Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add new event user-interacted event so we know we can send play() / setVolume() and setMute(false) #1062

Open
DATEx2 opened this issue Dec 11, 2024 · 0 comments

Comments

@DATEx2
Copy link

DATEx2 commented Dec 11, 2024

Expected Behavior

To be able to add external buttons such as volume on/off, play/pause.

Actual Behavior

Currently adding the buttons, of course outside the iframe causes the vimeo player to trigger errors

NotAllowedError: play() failed because the user didn't interact with the document first. 

Steps to Reproduce

Add a video to a page
Add a button and when you click on the button execute player.setMute(false); player.play()
You will be getting the above error, even if your button is positioned absolutely in top of the iframe.

Adding this event would let us know to create the customized buttons, just when the user has already interacted with the video, hence that they would also be working - as otherwise, they would fail if the user hasn't interacted with the page just yet - and there is absolutely no possibilty to know when he interacted already with the iframe video or not!!

The lack of this event makes the outside buttons rather unusable - so please implement it ASAP.

Thank you

@DATEx2 DATEx2 changed the title Add new event user-interacted so we know we can send play() / setVolume() and setMute(false) Add new event user-interacted event so we know we can send play() / setVolume() and setMute(false) Dec 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant