
problem with custome video player
Hi, when I launch a custom video player on a certain site and go into full screen mode, and then want to exit it through ESC, I can’t do it and the picture freezes. I went to the browser console, and it gave me this error: Uncaught (in promise) TypeError: Not in fullscreen mode
cancelFullScreen https://interneturok.ru/assets/custom-2dc6965f3c367b4e4590249bd2036dfc.js:578 hotkeys https://interneturok.ru/assets/custom-2dc6965f3c367b4e4590249bd2036dfc.js:675 dispatcher https://interneturok.ru/assets/custom-2dc6965f3c367b4e4590249bd2036dfc.js:131|
The technical support of that site told me to write to the browser support, I understood the problem is not on their side. I tried everything and went through incognito mode, the problem did not go away. Give me some advice or maybe the problem is with this site and not with the browser, I also tried to launch this video player through Google Chrome and there were no problems there
All Replies (2)
How is a custom video player a Firefox browser issue? Sounds more like it's their site playback then Firefox itself. And since there is no screenshot of the issue or what video is the problem no one can verify what is happening.
This is what the GPTchat wrote about the error from the console:
Yes, this error is directly related to exiting fullscreen mode. It says that the custom-2dc6965f3c367b4e4590249bd2036dfc.js script on the site is trying to exit fullscreen when the browser thinks it is no longer in it.
That is, Firefox has already exited fullscreen mode, but the player itself "thinks" that it is still there. Therefore, when you press Esc, the script calls cancelFullScreen(), and the browser throws the error "Not in fullscreen mode".
Plus screen Error