this post was submitted on 18 Nov 2024
9 points (100.0% liked)
Web Development
3439 readers
2 users here now
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- !html@programming.dev
- !css@programming.dev
- !uiux@programming.dev
- !a11y@programming.dev
- !react@programming.dev
- !vuejs@programming.dev
- !webassembly@programming.dev
- !javascript@programming.dev
- !typescript@programming.dev
- !nodejs@programming.dev
- !astro@programming.dev
- !angular@programming.dev
- !tauri@programming.dev
- !sveltejs@programming.dev
- !pwa@programming.dev
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Your html looks wrong to me in your second example.
The type should be closed with " not continued with ; Codecs should also use" "
I don't think the Codecs bit is needed though. Having the Type correct should be enough.
<video controls preload="none"> <source src="FooBar.mp4" type="video/webm"> </video>
Edit: Also presumably your files are definitely AV1? Double check that. I think you can also drag and drop video into Firefox to see if they will play.
Edit2: Also on searching I've seen someone say you may need to use the video tag itself for mkv:
<video controls preload="none" src="FooBar.mkv"> </video>
It's one of the solutions lower down on this stack post, but you'd need to test that. https://stackoverflow.com/questions/21192713/how-to-playback-mkv-video-in-web-browser
As a side, it's very frustrating to see how many people wrote code on that page that just works on Chrome. So much for Web standards!
Thank you BananaTrifleViolin,
I've tried all your solutions, none works.
Yes they are AV1 (I have encoded them)
\
Couldn't agree more
no, this initiated a download :/