Hi,
@Schubkraft and @LeonhardP
I was checking out theses thread here :
&
And noticed that video files were not supported when exporting to WebGL… So i redesigned my game to work with URL now instead… i have my video files uploaded to an https server… I put the url in the url… and it works perfectly in game… (takes less than 1 sec to start and its totally acceptable)… It also works fine when exporting in exe for windows…
However, when making a webgl build… the game works… but none of the 4 videos works… one is about 20mb mp4… all others are small 2mb clips… everything else works (no error, no bug)… only the video player is not working…
Yesterday when doing a test on “itch.io”, i went into the console of my browser and copied the following… Honestly, i understand nothing of that… but it might help someone out
Also note that i tested on Chrome, then firefox then IE… all same issue…
Finally, I only got the following error ONCE… I have been trying anything i could think of for the last 24h and have not gotten that bug since… Video still dont play at all… i can “skip” the not playing video, but nothing is shown (or heard)…
Click to Open Wall of text from console
An error occured running the Unity content on this page. See your browser JavaScript console for more info. The error was:Uncaught abort(106) at Error at jsStackTrace (UT135.asm.framework.unityweb:2:27465) at stackTrace (UT135.asm.framework.unityweb:2:27636) at abort (UT135.asm.framework.unityweb:4:34824) at GMt [Array.GMt] (UT135.asm.code.unityweb:32:574739) at cWa [Array.cWa] (UT135.asm.code.unityweb:14:698252) at _yf [Array._yf] (UT135.asm.code.unityweb:9:20546) at _Gt (UT135.asm.code.unityweb:32:547572) at dynCall [Object.dynCall] (UT135.asm.framework.unityweb:2:15292) at HTMLVideoElement.videoInstances.(anonymous function).onerror (blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:2:312416)If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
Invoking error handler due to
Uncaught abort(106) at Error
at jsStackTrace (UT135.asm.framework.unityweb:2:27465)
at stackTrace (UT135.asm.framework.unityweb:2:27636)
at abort (UT135.asm.framework.unityweb:4:34824)
at GMt [Array.GMt] (UT135.asm.code.unityweb:32:574739)
at cWa [Array.cWa] (UT135.asm.code.unityweb:14:698252)
at _yf [Array._yf] (UT135.asm.code.unityweb:9:20546)
at _Gt (UT135.asm.code.unityweb:32:547572)
at dynCall [Object.dynCall] (UT135.asm.framework.unityweb:2:15292)
at HTMLVideoElement.videoInstances.(anonymous function).onerror (blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:2:312416)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:4 Uncaught abort(106) at Error
at jsStackTrace (blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:2:27465)
at stackTrace (blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:2:27636)
at abort (blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:4:34824)
at Array.GMt (blob:https://v6p9d9t4.ssl.hwcdn.net/b33c5b63-7466-4f41-95c5-cfa7ea540d6c:32:574739)
at Array.cWa (blob:https://v6p9d9t4.ssl.hwcdn.net/b33c5b63-7466-4f41-95c5-cfa7ea540d6c:14:698252)
at Array._yf (blob:https://v6p9d9t4.ssl.hwcdn.net/b33c5b63-7466-4f41-95c5-cfa7ea540d6c:9:20546)
at _Gt (blob:https://v6p9d9t4.ssl.hwcdn.net/b33c5b63-7466-4f41-95c5-cfa7ea540d6c:32:547572)
at Object.dynCall (blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:2:15292)
at HTMLVideoElement.videoInstances.(anonymous function).onerror (blob:https://v6p9d9t4.ssl.hwcdn.net/7015d49d-2e29-4a67-8ab8-992e0a91803e:2:312416)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
Edit : for anyone thinking the problem “might” be with my video… or the server hosting the video… they are all working in the engine as well as with a windows build (using url’s)… and i just tried doing an embed of the video themselves on my blogger blogspot webpage and it works as well…
Edit 2 : I was told to add this by a friend who is a programmer :
“Uncaught (in promise) DOMException: The element has no supported sources.”
along with this image :
https://scontent.fymy1-1.fna.fbcdn.net/v/t34.0-12/18109779_10155294542656942_1015218845_n.png?oh=fa1cd758ef1c0703cf836f6650f41518&oe=58FC00DE
Thank you for your time and have a nice day!!