Skip to content

Is it expected that <video src="/filewithoutextension"> and <source src="/filewithoutextension"> will not work? #7710

Answered by mister-ben
jcihocki asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. The type needs to be known to know how to load the video, e.g. to pass to the native video element or play via media source extensions. The type will be inferred from some common extensions, but if there's no extension you must use the type attribute.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcihocki
Comment options

Answer selected by jcihocki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants