dsgvo-video-embed
dsgvo-video-embed copied to clipboard
Version v1.1.0 does not work in Firefox
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
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?
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.
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.