[Meta] Guidance for HTMLMediaElement, HTMLAudioElement, HTMLVideoElement behaviors during remoting · Issue #41 · w3c/remote-playback (original) (raw)
In remoting mode (i.e. state == connected
) any side effects on the media element, for example mutations to properties, invocations of methods, or detachment from the DOM may (or may not) affect remote playback.
Because the behavior of the remote playback device seems to be out of scope for this spec, there may not be much to say in the normative sections of the spec.
However, in my opinion it would be a better spec to at least say something in regards to what should happen. I can see these behaviors falling into three categories:
- Must-implement for any reasonable experience: e.g, pause, mute, stop
- No-op as they may not make any sense: e.g., setting autoplay or preload during remote playback
- Implementation choice based on the device capabilities and desired UX.
The challenge will be in cases where the observable state of the element might be affected by implementation choices. For example, when playing back on a remote device that does not support changing the playback volume, how should the element behave when its volume
attribute is set?