Davidobot / love.js

LÖVE ported to the web using Emscripten, updated to the latest Emscripten and LÖVE (v11.5)
MIT License
605 stars 27 forks source link

Loading a video causes crash #69

Open FormularSumo opened 1 year ago

FormularSumo commented 1 year ago

image Trying to run a love.js project containing just the above causes it to crash. The video works fine in love2d on windows, android, etc. It also playsback fine in browsers that support ogg such as Firefox and Chrome (desktop). Renaming the file extensions to .ogv doesn't make any difference. As there aren't any other video formats supported by love2d currently this means there's no way of doing video file playback in love.js as far as I can tell

On Firefox image

On Chrome image

rameshvarun commented 1 year ago

I have a patch for getting video working in love.js (Compatibility Mode), which I've used in some of my games. https://github.com/rameshvarun/love/commit/cc482c832dffa63ad52d94416bbf42dc339a0622

I can look into getting this added to the upstream release.