Issue 1745 in webm: update canPlayType() examples in container doc

19 views
Skip to first unread message

jz… via monorail

unread,
Nov 2, 2021, 5:08:39 PM11/2/21
to webm-d...@webmproject.org
Status: Unconfirmed
Owner: louqu...@google.com
CC: jhuo...@google.com, fgal...@google.com
Labels: Type-Task Pri-2
Components: Docs Websites

New issue 1745 by jz...@google.com: update canPlayType() examples in container doc
https://bugs.chromium.org/p/webm/issues/detail?id=1745

1. What URL does this issue most closely relate to?
https://www.webmproject.org/docs/container/

2. Please describe the issue in full.

This came from a discussion of the codec strings in the addition of vp8 [1] and vp9 [2] in webcodecs [3].

From fgalligan@:

I think we can change https://www.webmproject.org/docs/container/ to:
canPlayType('video/webm') SHOULD return maybe
canPlayType('audio/webm') SHOULD return maybe
canPlayType('video/webm; codecs="vp8, vorbis"') SHOULD return probably
canPlayType('video/webm; codecs="vp8, opus"') SHOULD return probably
canPlayType('video/webm; codecs="vp09.aa.bb.cc, vorbis"') SHOULD return probably
canPlayType('video/webm; codecs="vp09.aa.bb.cc, opus"') SHOULD return probably
canPlayType('audio/webm; codecs="vorbis"') SHOULD return probably
canPlayType('audio/webm; codecs="opus"') SHOULD return probably

An additional update might be made to the binding spec [4]. There it might be useful to add a note suggesting 'vp8' as the codec string to align with web codecs.

[1] https://github.com/w3c/webcodecs/blob/main/vp8_codec_registration.src.html
[2] https://github.com/w3c/webcodecs/blob/main/vp9_codec_registration.src.html
[3] https://github.com/w3c/webcodecs/
[4] https://github.com/webmproject/vp9-dash/blob/master/VPCodecISOMediaFileFormatBinding.md

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

jz… via monorail

unread,
Jun 10, 2024, 2:49:11 PMJun 10
to webm-d...@webmproject.org
Updates:
Owner: fgal...@google.com

Comment #2 on issue 1745 by jz...@google.com: update canPlayType() examples in container doc
https://bugs.chromium.org/p/webm/issues/detail?id=1745#c2

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages