Re: The semantics of mediaobject

Norm Tovey-Walsh <[email protected]> Thu, 06 Apr 2023 08:49:23 +0100
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

> In other words, I want a license to cheat and say that I can render that
> example above in HTML5 as a video element containing three sources, two
> videos and an image. What say you?

Thank you, everyone, but the whole thing is predicated on a
misunderstanding. I was sure that HTML5 allowed

  <video>
    <source src=3D"video.webm"/>
    <source src=3D"video.mp4"/>
    <source src=3D"image.png"/>
  </video>

But it does not. You can only put video sources in a video tag, no
images. What you often see, and I must have been remembering, is:

  <video>
    <source src=3D"video.webm"/>
    <source src=3D"video.mp4"/>
    <img src=3D"image.png"/>
  </video>

But that only works in browsers that don=E2=80=99t understand the video tag=
 *at
all*.

                                        Be seeing you,
                                          norm

=2D-
Norm Tovey-Walsh <[email protected]>
https://norm.tovey-walsh.com/

> However it happens, the end of the world will be a parochial little
> affair, unnoticed in the universe at large.--Richard Dawkins

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSEJUqRvjpp8yLt8uKDEiZHbwv9OwUCZC56IQAKCRCDEiZHbwv9
O0GPAQC8C8WDHNIfHNAIQ1MfVwqiiHGUSsJv4CqY7KmXR3PvLAEA9psQMlMMU24H
5uU0cXGCVELGMqo20IUKCDe0wj676w8=
=/lWz
-----END PGP SIGNATURE-----
--=-=-=--