-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[invokers] Media mute action ambiguous #933
Labels
Comments
lukewarlow
added
the
agenda+
Use this label if you'd like the topic to be added to the meeting agenda
label
Nov 12, 2023
The Open UI Community Group just discussed
The full IRC log of that discussion<gregwhitworth> q+<masonf_> q+ <keithamus> Luke_W: Various actions related to audio/video elements; playpause (debatable) but clear it's separate from play or pause. The mute action is toggle though. We need a better name for it, or it does one thing. I propose muteunmute or togglemute <brecht_dr> q+ <gregwhitworth> ack gregwhitworth <keithamus> gregwhitworth: we should speak to the media working group for insights. I can take that as an action item <masonf_> ack mason <masonf_> ack brecht <keithamus> masonf_: roughly the same as modal; I like toggle as a name because it aligns with the other APIs. On playpause I think the same thing for auto; it does a magical thing with no alias. <keithamus> brecht_dr: muteunmute itself feels one I'll misstype a lot. playpause is also strange to type. toggleMute is a little tricky because we're getting back to toggle again. muteunmute is just odd to pronounce and type. <keithamus> q+ <bkardell_> q+ <keithamus> masonf_: I think toggle being core to the switching of things is nice, you add mute, popover, but toggle is core <masonf_> ack keith <masonf_> ack bkardell <keithamus> brecht_dr: I agree <brecht_dr> q+ <keithamus> bkardell_: there have been a few other proposals which this conversation reminds me of; CSS toggles. The keyword there was cycle - you provide a wraparound list of things this does... is there an opportunity to do something similar here? When I think of play/pause/mute... the answer is unclear... it depends. There's buttons I literally want to <keithamus> toggle play/pause, but I feel mute might want to pause the video too? <keithamus> q+ <masonf_> ack brecht <bkardell_> my cycle comment doesn't help here I guess with that one :) <keithamus> brecht_dr: e.g. if you have playpause it says both - it either plays or pauses, it doesn't depend on the state. When you're playing a video if you're toggling mute, it changes the starting state of the video - so you're using the term togglemute but the video was already muted when it started playing. Should it depend on how the video started? <masonf_> ack keith <masonf_> q+ <keithamus> keithamus: the design was to follow video controls so mute/unmute does as you describe. Are we discussing naming or semantics? <keithamus> brecht_dr: so if the video was muted perhaps the name should be toggleUnmute, because the video was muted. The starting state of the video depends on if you're calling this toggleMute or toggleUnmute. Playpause says both the things, so maybe toggleMute/unmute is the wrong words? <keithamus> masonf_,: togglemuted? <bkardell_> yes, toggle the state name is what I was going to say <keithamus> Luke_W: togglemuted works <keithamus> masonf_: it gets around the question. <masonf_> q? <keithamus> masonf_: there are lots of questions around this... dialog... I wonder if we want to de-risk the project and defer some of these for later? <masonf_> ack mason <keithamus> q+ <keithamus> Luke_W: I feel like if we solve namespacing, we can, but if we ship without key features like video I feel people might implement themselves and clobber namespaces. <Luke_W> Proposed Resolution: Rename "mute" action to "toggleMuted". <masonf_> ack keith <keithamus> keithamus: I'm uneasy about namespacing... <masonf_> q? <keithamus> masonf_: we can perhaps bring up namespacing <keithamus> +1 <bkardell_> I think I will not actually, but thanks :) <bkardell_> the more I think about it the more I think there is not really there there <Luke_W> RESOLVED: Rename "mute" action to "toggleMuted". |
lukewarlow
added
needs edits
This is ready for edits to be made
and removed
agenda+
Use this label if you'd like the topic to be added to the meeting agenda
labels
Nov 16, 2023
lukewarlow
added a commit
to lukewarlow/open-ui
that referenced
this issue
Nov 29, 2023
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Nov 29, 2023
See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f
aarongable
pushed a commit
to chromium/chromium
that referenced
this issue
Nov 29, 2023
See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156@gmail.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230938}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Nov 29, 2023
See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156@gmail.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230938}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Nov 29, 2023
See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156@gmail.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230938}
lukewarlow
added a commit
that referenced
this issue
Nov 29, 2023
This has also been fixed in the browser implementation. |
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Dec 4, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156@gmail.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426
jamienicol
pushed a commit
to jamienicol/gecko
that referenced
this issue
Dec 5, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156@gmail.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Dec 7, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156gmail.com> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/main{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426 UltraBlame original commit: cdd81f1e64db460cb5946c601e8180474062ee5d
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Dec 7, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156gmail.com> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/main{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426 UltraBlame original commit: cdd81f1e64db460cb5946c601e8180474062ee5d
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Dec 7, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156gmail.com> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/main{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426 UltraBlame original commit: cdd81f1e64db460cb5946c601e8180474062ee5d
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Dec 13, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156@gmail.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426
ErichDonGubler
pushed a commit
to erichdongubler-mozilla/firefox
that referenced
this issue
Dec 13, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156@gmail.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Dec 16, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156gmail.com> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/main{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426 UltraBlame original commit: ff2fcf5d043c810a8f81b1872c6895deccef843f
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Dec 16, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156gmail.com> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/main{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426 UltraBlame original commit: ff2fcf5d043c810a8f81b1872c6895deccef843f
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Dec 16, 2023
…ed, a=testonly Automatic update from web-platform-tests Change "mute" invoke action to toggleMuted See openui/open-ui#933 for details Bug: 1497172, 1497173 Change-Id: I193b9948bd6b296d9a3e85e0dac3de780ae1865f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073272 Commit-Queue: Luke <lukewarlow156gmail.com> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/main{#1230938} -- wpt-commits: ded643eb16ac6e4b6a5f7c3f869109faee6556a6 wpt-pr: 43426 UltraBlame original commit: ff2fcf5d043c810a8f81b1872c6895deccef843f
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the invokers explainer says that video and audio support a mute action which actually toggles the muted property.
I think this action should be renamed to clarify that it's a toggle action.
muteunmute
would matchplaypause
, alternativelytoggleMute
might be better?The text was updated successfully, but these errors were encountered: