![]() (Also, there is a Paypal donation option for this work. Def a lifesaver for me and will be throwing some cash this dev's way, perhaps consider doing the same) Also, maybe Unity should take a look at what this guy has done and roll in his solutions into the official WebGL export template. Not too much though, so maybe playing around with what is there could help people with their issues. But the template has some fun javascript happening. I don't know what specific kind of sorcery is going on under the hood to produce such auto-magical results. I'm building with Unity 2019.4.1f1, and I used the 2019 option in the template downloads. Make Sure It’s Edge at Fault If Microsoft Edge can’t play videos, there are a few steps you should take before blaming your browser. Pretty nice template, does what it says and has some nice options. ![]() I had been looking for good WebGL export templates and found this one: ![]() The offered jslib solution didn't work for me, nor did the silent mp3 method. I wasn't trying to autoplay, and by the time the user would have encountered the video, they will have had clicked the WebGL canvas element plenty of times. Just to clarify, even just having a video was broken in WebGL MacOS Safari. I used Sails/Nodejs backend and gridFS/mongodb database for storing Videos files as Chunks.I was having the same issues as everyone else. I haven't test it on Safari but hopefully it also can work. It worked well on Chrome, Firefox, Edge and IE. You must handle req.headers which Chrome will send to your streaming server. Now the video starts automatically in Chrome. I've tried to find more info on my own these are the headers chrome shows in the network tab:Īccept-Charset:ISO-8859-1,utf-8 q=0.7,* q=0.3Ĭookie:sessionId=5616fde4-50af-43d6-a57c-f06540b64fcb 1 ANSWER Replied: on 11:59 PM Report Hi nauna, You need to add &muted1 to the iFrame src path and add attribute allow'autoplay' to the iFrame. I've also found that I can't seek any of the files even if I open them separately from the application. Your browser doesn't support html5 video. I think I've covered pretty much the whole set up and I've made sure that there's a source tag for each browser.Įdit: this is the code generated by the javascript for one of the files: If it's not that anything else to point me towards a fix is just as welcome. I'm not entirely sure what's being sent from the server, but I'm wondering if this might be caused by missing data in the response. It supports video playback on desktop and mobile devices. It supports HTML5 video and modern streaming formats, as well as YouTube and Vimeo. the audio also plays just fine but trying to rewind (or forward) multiple times simply breaks the progress bar and stops the audio from playing on. Get Started Demos Swap Theme Features Why Video.js Video.js is a web video player built from the ground up for an HTML5 world. Next, scroll down near the bottom and under the System section, turn off Use hardware. When trying to seek videos just go ahead a few seconds until it reaches the end of the stream. You can get to Settings from the Options menu or type: chrome://settings in the address bar and hit Enter. In chrome (which is my issue and is at the latest version) the video and audio loads just fine, but I'm unable to rewind or forward. For example, if you are using Google Chrome and you come across an HTML5 MP4 video, then you may get an error message because you dont have an MP4 codec. There's an issue with safari, but it's apparently the fact that the whole site runs in HTTPS (that's being worked on right now). ![]() The files are sent as streams and they work fine in IE and firefox (after adding duration to the response header) The video or audio tag is being loaded in an extjs panel when a video or audio file is requested. Usually the reason why something failed popped up after a while, but I've been, unable to find why I get forwarding and rewinding problems in chrome. I've been fiddling with the hell that is HTML5 video/audio for a couple of weeks now.
0 Comments
Leave a Reply. |