e.player.elements is null (Firefox Mobile 59, Android 7)
See original GitHub issueI’m seeing various issues on latest Firefox Mobile through Sentry after upgrading to v3:
TypeError: e.player.elements is null
at func(node_modules/plyr/dist/plyr.js:4326:1)
at wrapped(vendor/raven.js:443:1)
I’m also seeing something on Mobile Safari 11.2.6:
TypeError: null is not an object (evaluating 'this.player.elements.container')
at value(node_modules/plyr/dist/plyr.js:4101:1)
at value([native code])
at wrapped(vendor/raven.js:443:1)
My Plyr version is 3.0.11.
I don’t have these devices myself so I haven’t been able to reproduce these issues yet. Are these mobile browsers supposed to be supported?
This probably deserves it’s own ticket but I’m also seeing this sometimes on latest Chrome upon initializing the player:
Uncaught TypeError: Cannot read property 'display' of null
at r.updateProgress (plyr.js:2630)
at HTMLVideoElement.<anonymous> (plyr.js:4204)
at HTMLVideoElement.i (raven.js:443)
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Mozilla Firefox Release Notes
java.lang.NullPointerException: at android.widget.PopupWindow$PopupViewContainer.dispatchKeyEvent(Po… 763433, ExposedPropertiesOnly::check should leave the ...
Read more >Html5 audio dynamic source is null, how to detect it?
For exist file, works fine. But for null result of Play action in Call controller I´m not able to catch event of null...
Read more >Firefox version history - Wikipedia
Firefox was created by Dave Hyatt and Blake Ross as an experimental branch of the Mozilla browser, first released as Firefox 1.0 on...
Read more >Microsoft 365 Roadmap
\n This item will be republished to the roadmap in the future if applicable.","status":"Cancelled","moreInfoLink":null,"publicRoadmapStatus":"Include this ...
Read more >What is the Opera Web Browser? - Dummies.com
Opera Mini : This browser is primarily available for mobile devices. Accessing the internet with Opera on iOS, Android, Windows Phone, tablets, ...
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
Any updates on this one?
Well the root cause is the listeners still firing. I could add the null checking but that’s not really going to solve the issue. The listeners would still fire and they are only bound initially if the UI is supported anyway. I’ll take another look.