cross-posted from: https://lemmy.ml/post/22627659

Hi,

I have a couples of AV1 videos that I would like to display on a html page.

I’ve tried

<video controls preload="none">
    <source src="FooBar.mp4">
</video>

but it trow back

I’ve tried first with MKV container as it’s listed on the wikipedia page.

but this is not listed on the mozilla page https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs 🤔

Confusing… as I found also this in the firefox release note:

Firefox 97 and later versions support AV1 video in the MKV container.

So WTF !?

I’ve tried also

<video controls preload="none">
    <source src="FooBar.mp4" type="video/webm; codecs='av01.0.08M.08'">
</video>

but that change nothing…

Any ideas ?

Thanks.

  • Donatello@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 days ago

    Thank you BananaTrifleViolin,

    I’ve tried all your solutions, none works.

    Yes they are AV1 (I have encoded them)

    Codec: AOMedia’s AV1 Video (av01)
    Color primaries: ITU-R BT.709
    (audio): Codec: MPEG AAC Audio (mp4a)\



    \

    … So much for Web standards! …

    Couldn’t agree more

    I think you can also drag and drop video into Firefox to see if they will play.

    no, this initiated a download :/