pokerogue icon indicating copy to clipboard operation
pokerogue copied to clipboard

Game won't start in Firefox due to "Uncaught TypeError: G.requestVideoFrameCallback is not a function"

Open ironminer888 opened this issue 10 months ago • 4 comments

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. Here's what the dev console in my browser says

I am using Firefox 124.0.2 on Windows 11

ironminer888 avatar Apr 15 '24 17:04 ironminer888

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.

Flashfyre avatar Apr 15 '24 17:04 Flashfyre

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.

samme avatar Apr 15 '24 18:04 samme

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.

Flashfyre avatar Apr 15 '24 19:04 Flashfyre

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?

Gammer0909 avatar Apr 22 '24 12:04 Gammer0909

Closing this issue as no other reports have popped up or been added here

bennybroseph avatar May 16 '24 10:05 bennybroseph