0

I am using a jwplayer in my website. but I am getting this error. Anyone can please tell me that why I get this error. Error loading player: window.getComputedStyle(...) is null.

I find some solution but I cannot understand what to do. and I use google chrome, safari, microsoft edge and IE jwplayer run perfectly. so any one please.

enter image description here
here,Is the image. that show you what's my problem.

Sasikumar Murugesan
  • 4,412
  • 10
  • 51
  • 74
stackoverhelp
  • 61
  • 2
  • 3
  • 15
  • can you add/post a snippet of the source javascript to your question? – Anson W Han Dec 08 '17 at 05:24
  • Actually i can't post my code. for personal reason. but i am telling you that i am using jwplayer api and that api is not supported in mozilla firefox. – stackoverhelp Dec 08 '17 at 05:35
  • without a snippet of what's being passed to the function, it's rather difficult to debug specifics. Most likely, the element being passed in the function can't be found; if it's a class or ID that's assigned via javascript and not static in the DOM, you may have a race condition/sequence of operations issue causing the failure. Also, you may want to review the "notes" section here: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle#Notes – Anson W Han Dec 08 '17 at 06:07
  • Not find any help from this link. have you other option.? – stackoverhelp Dec 08 '17 at 07:21
  • JW Player is supported in Firefox. – HeidiWF Dec 08 '17 at 15:28
  • you may also want to check if there are other javascript errors on the page that may be resulting in the likely race condition causing a dynamically attributed video element to not be detected. – Anson W Han Dec 08 '17 at 16:02
  • Are you using the latest version of Firefox? I see bug reports pointing to this error occurring with iframes set to display: none in older versions of FF. – HeidiWF Dec 08 '17 at 20:54

0 Answers0