I'm looking to expand a few things on https://www.mediawiki.org/wiki/Specs/HTML#Audio/Video
Upcoming work:
- muted and loop attributes. T116501
- [[File:videoOrAudio.webm|thumb|loop|muted|caption]]
- These options will reflect as loop and muted options on audio and video elements <video src="VideoOrAudio.webm" loop muted></video>
- These are boolean attributes (present or non-present) and do not have values
- I'm assuming these also need to be tracked for the mw:Video element's via mw-data ? Where/how ?
- playsinline https://gerrit.wikimedia.org/r/c/mediawiki/extensions/TimedMediaHandler/+/794592
- [[File:videoOrAudio.webm|thumb|playsinline|caption]]
- These option MIGHT reflect as (it is conditional) <video src="VideoOrAudio.webm" playsinline></video>
- This is a video-only option, it cannot occur on <audio>
- This is boolean attributes (present or non-present) and do not have values
- This needs again to be added to mw:Video element's via mw-data ?
- projection and or stereo hints T150624
- [[File:videoOrAudio.webm|thumb|caption]], BUT the have a 'natural' aspect derived from the files contents, which needs to be communicated to the JS player via HTML.
- These options MIGHT reflect as (it is conditional and not spec'ed yet) as <video src="VideoOrAudio.webm" data-projection="equirectangular" data-stereo="side-by-side"></video>.
- These are image and video options
- They have string values, multiple exclusive options (yet to be defined)
- Where does this go ?