Skip to content

Commit 734fbfe

Browse files
committed
The mp4Video check includes h264 now.
1 parent 0f6dd1a commit 734fbfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/system/Device.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ Phaser.Device.canPlayVideo = function (type) {
12271227
{
12281228
return true;
12291229
}
1230-
else if (type === 'mp4' && this.mp4Video)
1230+
else if (type === 'mp4' && (this.mp4Video || this.h264Video))
12311231
{
12321232
return true;
12331233
}

0 commit comments

Comments
 (0)