mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
The requestVideoFrame
polyfill has been updated to the latest release, which should resolve some SSR framework issues.
This commit is contained in:
parent
0a169a6ab6
commit
9723414a16
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
// From https://github.com/ThaUnknown/rvfc-polyfill
|
||||
|
||||
if (HTMLVideoElement && !('requestVideoFrameCallback' in HTMLVideoElement.prototype) && 'getVideoPlaybackQuality' in HTMLVideoElement.prototype)
|
||||
if (typeof HTMLVideoElement !== 'undefined' && !('requestVideoFrameCallback' in HTMLVideoElement.prototype) && 'getVideoPlaybackQuality' in HTMLVideoElement.prototype)
|
||||
{
|
||||
HTMLVideoElement.prototype._rvfcpolyfillmap = {}
|
||||
HTMLVideoElement.prototype.requestVideoFrameCallback = function (callback) {
|
||||
|
|
Loading…
Add table
Reference in a new issue