[Webkit-unassigned] [Bug 146351] [GTK] <video> source does not load via custom URI scheme

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 13 19:58:42 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=146351

--- Comment #9 from Vladimir Porotnikov <zerdox.cool4 at gmail.com> ---
Sorry for second email. Tried exploring webkit source code and found some little extra info which may help:


const audio = new Audio("custom://a.mp3");
console.log(audio.error) // prints { code: 4, message: "" }
console.log(audio.currentSrc) // same as audio.src
audio.play() // NotSupportedError

Code 4 is MEDIA_ERR_SRC_NOT_SUPPORTED


Somewhere in HTMLMediaElement::loadResource some conditions do not pass and
mediaLoadingFailed(MediaPlayer::NetworkState::FormatError) is being called
which executes noneSupported which leads to error log I mentioned in previous comment.
I could not make it any further :) Hope someone will investigate this

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230814/a89be3f0/attachment.htm>


More information about the webkit-unassigned mailing list