Duplicate Events at window
See original GitHub issueExpected behaviour
A single ‘play’ event should be capture-able at the window when an HTML5 player is interacted with.
Actual behaviour
Plyr emits a duplicate CustomEvent with a special property pointing to the Plyr instance.
Environment
- Browser:
- Version:
- Operating System:
- Version:
Steps to reproduce
- Add a capturing listener
window.addEventListener('play', console.log, true);
- Click the Play button
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Duplicate Log Entries In Windows Event Logs - TechNet
I've only noticed recently but I seem to be getting a lot of duplicate log entries in my windows events System, Application and...
Read more >How to prevent duplicate events - kiko.io
Most important parameter on removing is the instance of the event handler, which was used the add the event previously.
Read more >If you have duplicate events on your iCloud Calendar
If you see duplicate calendars or events on your iPhone, iPad, iPod touch, Mac, or PC after you set up iCloud Calendar, follow...
Read more >Duplicate Events - Knowledgebase
You can also find the Duplicate Event button on the editor page of the event that you'd like to duplicate. A new window...
Read more >Duplicate event listeners when multiple windows are open ...
You should make a variable to tell if the event is already being listened.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll leave it open as a reminder
Oh, also, there’s an easy fix to check the event -
Event.isTrusted
will befalse
if the Event is not natively triggered. That’s only useful for folks who are aware of the issue, though, and I’m concerned about those who aren’t.