pokerogue
pokerogue copied to clipboard
Game won't start in Firefox due to "Uncaught TypeError: G.requestVideoFrameCallback is not a function"
Hello! The game won't render on my display due to a recent update. The game was working just fine a few days ago, but the game now only displays a black screen. I've tried forcing a browser cache reset, and disabling my ad blocker. I don't believe I have any other extensions that would interfere with the game launching.
I am using Firefox 124.0.2 on Windows 11
You can fix this by using any other browser as it's a Firefox-specific issue. It doesn't happen to me on Firefox oddly enough, so not sure what causes it to break.
If you're comfortable running code in the console, you can open the console on https://pokerogue.net and run
'requestVideoFrameCallback' in HTMLVideoElement.prototype
'getVideoPlaybackQuality' in HTMLVideoElement.prototype
and see what values it shows.
This function is actually not supported in Firefox, but the engine should have a polyfill to resolve that missing function. For me it works, but for some others it doesn't seem to.
This function is actually not supported in Firefox, but the engine should have a polyfill to resolve that missing function. For me it works, but for some others it doesn't seem to.
What FireFox version are you using?
Closing this issue as no other reports have popped up or been added here