Browser Source Does Not Play Media Files from javascript

imfuraisoth

New Member
I created an HTML file and pointed to its address via my local server which runs javascript that loads local mp4 media files and plays them in order. It used to work fine but with recent OBS updates, the media files are now showing up as black screens. There are no errors in the javascript as I have tried debugging it. It still shows flat image files just fine. Only video files, it doesn't not play at all. I've even just tried to imbed a video src into the body of the HTML and even that shows nothing. Just play the play bar and a black screen. Nothing plays. This file loads just fine in Chrome itself hitting the same local server. Everything still works. Something with OBS has changed with the latest revisions or there was some sort of regression in regards to playing media files from a browser source. Can someone take a look and get back to me? Thank you!
 

imfuraisoth

New Member
OMG, I finally fixed it! OBS defaulted the video encoding to HEVC for some reason and the browser did not like that encoding. When I changed it to H.264, it started working again. Chrome was just fine with HEVC though.
 
Top