question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

e.player.elements is null (Firefox Mobile 59, Android 7)

See original GitHub issue

I’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:open
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
paulconlincommented, May 9, 2018

Any updates on this one?

4reactions
sampottscommented, Apr 24, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found