Hi everyone,
I’m working on a project using Phaser 3 on MacOS, and I’m trying to load a video file in MOV format. However, I’m encountering the following error:
VideoFile: No supported format for test_mov_video
phaser.js:128609 Uncaught TypeError: Cannot read properties of null (reading 'type')
at new VideoFile2 (phaser.js:128609:34)
at LoaderPlugin2.video (phaser.js:128729:22)
at LoaderPlugin2.addPack (phaser.js:119169:34)
at PackFile2.onProcess (phaser.js:126079:21)
at LoaderPlugin2.nextFile (phaser.js:119537:18)
at PackFile2.onLoad (phaser.js:118110:21)
Is there a way to get MOV videos to play in video component? Any suggestions for possible workarounds would be greatly appreciated.
I’m mainly trying to do this because I need to play videos with an alpha channel on MacOS and iOS.
I am using such MOV videos that work on other websites (without Phaser).
For example MOV from this website - Safari all works.
https://css-tricks.com/overlaying-video-with-transparency-while-wrangling-cross-browser-support
Video for download, this video is from the website and work only on MacOS:
https://doggo.s3.amazonaws.com/output.mov
Any suggestions for possible workarounds would be greatly appreciated, Thanks a lot for your help!