New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Using net.fetch
with bypassCustomProtocolHandlers
fails to load local mp4 files
#40447
Comments
net.fetch
with bypassCustomProtocolHandlers
fails to load mp4 filesnet.fetch
with bypassCustomProtocolHandlers
fails to load local mp4 files
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Reproducible in v29.1.0 |
same issue with me |
1 similar comment
same issue with me |
I am getting the same issue even with bypassCustomProtocolHandlers: false |
Resolved, adding stream privilege on the protocol was required for correctly loading mp4 file types: protocol.registerSchemesAsPrivileged([
{
scheme: 'scheme-name',
privileges: {
stream: true,
}
}
])
|
Preflight Checklist
Electron Version
27.0.3
What operating system are you using?
Windows
Operating System Version
Windows 11 22H2
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
The mp4 file should load just as it would without the protocol handle set.mp4
Actual Behavior
The document for the mp4 files loads but the video itself does not.
Testcase Gist URL
https://gist.github.com/BrandonXLF/465e91ee96fe29514d4e9d998e590d76
Additional Information
No response
The text was updated successfully, but these errors were encountered: