Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Version v1.1.0 does not work in Firefox #17

Open
hannesdorn opened this issue Nov 9, 2022 · 3 comments
Open

Version v1.1.0 does not work in Firefox #17

hannesdorn opened this issue Nov 9, 2022 · 3 comments
Labels
unconfirmed Needs more information

Comments

@hannesdorn
Copy link

hannesdorn commented Nov 9, 2022

The new version does not work in firefox anymore.

Uncaught DOMException: Permission denied to access property "stop" on cross-origin object dsgvo-video-embed.min.js:32
(Async: EventListener.handleEvent)

Firefox 106.0.5
Firefox 107.0b9

@a-v-l
Copy link
Owner

a-v-l commented Nov 10, 2022

Hm, I can't reproduce this on my Mac with Firefox 106.0.5. I will check later on a Windows machine.
Did this occur with the demo?

@hannesdorn
Copy link
Author

The demo is working, the new version works in a regualar website, but not in my WordPress website. I am going to investigate it further next week.

@a-v-l a-v-l added the unconfirmed Needs more information label Mar 3, 2023
@egolive
Copy link

egolive commented Mar 6, 2023

If you load the video using the src attribute in this manner:

<iframe width="560" height="315" src="https://www.youtube.com/embed/hZ3w5VMr8gw?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

you will encounter the error that is the subject of this issue.

To resolve this issue, you must load the video using the data-src attribute as described in the documentation.

<iframe width="560" height="315" **data-src**="https://www.youtube.com/embed/hZ3w5VMr8gw?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

So maybe this is the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unconfirmed Needs more information
Projects
None yet
Development

No branches or pull requests

3 participants