-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat(playback-core): custom cap level controller #1010
Merged
cjpillsbury
merged 6 commits into
muxinc:main
from
cjpillsbury:feat/custom-cap-level-controller
Nov 22, 2024
Merged
feat(playback-core): custom cap level controller #1010
cjpillsbury
merged 6 commits into
muxinc:main
from
cjpillsbury:feat/custom-cap-level-controller
Nov 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@cjpillsbury is attempting to deploy a commit to the Mux Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
… capping to low quality at small player sizes.
6c5bc65
to
5cbb78c
Compare
Merged
luwes
pushed a commit
that referenced
this pull request
Dec 12, 2024
🤖 I have created a release *beep* *boop* --- <details><summary>@mux/mux-active-viewer-count: 0.2.0-alpha.10</summary> ## [0.2.0-alpha.10](https://github.com/muxinc/elements/compare/@mux/mux-active-viewer-count@0.2.0-alpha.9...@mux/mux-active-viewer-count@0.2.0-alpha.10) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) </details> <details><summary>@mux/mux-audio: 0.15.0</summary> ## [0.15.0](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.14.0...@mux/mux-audio@0.15.0) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) * **mux-video, mux-video-react, mux-audio, mux-audio-react, mux-player, mux-player-react:** Expose element name and version via exports and statics for web components. ([#1017](#1017)) ([27b6858](27b6858)) * tracks updating after load new playback id ([#1021](#1021)) ([b762184](b762184)) ### Dependencies * The following workspace dependencies were updated * dependencies * @mux/playback-core bumped from 0.27.0 to 0.28.0 </details> <details><summary>@mux/mux-audio-react: 0.12.0</summary> ## [0.12.0](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.11.0...@mux/mux-audio-react@0.12.0) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) * use MC media-error-dialog ([#1014](#1014)) ([2fbb2c1](2fbb2c1)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) * **mux-video, mux-video-react, mux-audio, mux-audio-react, mux-player, mux-player-react:** Expose element name and version via exports and statics for web components. ([#1017](#1017)) ([27b6858](27b6858)) ### Dependencies * The following workspace dependencies were updated * dependencies * @mux/playback-core bumped from 0.27.0 to 0.28.0 </details> <details><summary>@mux/mux-player: 3.2.0</summary> ## [3.2.0](https://github.com/muxinc/elements/compare/@mux/mux-player@3.1.0...@mux/mux-player@3.2.0) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) * use MC media-error-dialog ([#1014](#1014)) ([2fbb2c1](2fbb2c1)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) * Mux-player childList observer behavior ([#1041](#1041)) ([d34903f](d34903f)) * **mux-video, mux-video-react, mux-audio, mux-audio-react, mux-player, mux-player-react:** Expose element name and version via exports and statics for web components. ([#1017](#1017)) ([27b6858](27b6858)) * upgrade player.style 0.1.0 ([#1032](#1032)) ([ef71319](ef71319)) ### Dependencies * The following workspace dependencies were updated * dependencies * @mux/mux-video bumped from 0.22.0 to 0.23.0 * @mux/playback-core bumped from 0.27.0 to 0.28.0 </details> <details><summary>@mux/mux-player-react: 3.2.0</summary> ## [3.2.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@3.1.0...@mux/mux-player-react@3.2.0) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) * use MC media-error-dialog ([#1014](#1014)) ([2fbb2c1](2fbb2c1)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) * **mux-video, mux-video-react, mux-audio, mux-audio-react, mux-player, mux-player-react:** Expose element name and version via exports and statics for web components. ([#1017](#1017)) ([27b6858](27b6858)) * React 19 bool prop to attr value bug ([#1026](#1026)) ([52bca58](52bca58)) ### Dependencies * The following workspace dependencies were updated * dependencies * @mux/mux-player bumped from 3.1.0 to 3.2.0 * @mux/playback-core bumped from 0.27.0 to 0.28.0 </details> <details><summary>@mux/mux-uploader: 1.1.0</summary> ## [1.1.0](https://github.com/muxinc/elements/compare/@mux/mux-uploader@1.0.2...@mux/mux-uploader@1.1.0) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) </details> <details><summary>@mux/mux-uploader-react: 1.0.4</summary> ## [1.0.4](https://github.com/muxinc/elements/compare/@mux/mux-uploader-react@1.0.3...@mux/mux-uploader-react@1.0.4) (2024-12-12) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) ### Dependencies * The following workspace dependencies were updated * dependencies * @mux/mux-uploader bumped from 1.0.2 to 1.1.0 </details> <details><summary>@mux/mux-video: 0.23.0</summary> ## [0.23.0](https://github.com/muxinc/elements/compare/@mux/mux-video@0.22.0...@mux/mux-video@0.23.0) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) * **mux-video, mux-video-react, mux-audio, mux-audio-react, mux-player, mux-player-react:** Expose element name and version via exports and statics for web components. ([#1017](#1017)) ([27b6858](27b6858)) * tracks updating after load new playback id ([#1021](#1021)) ([b762184](b762184)) ### Dependencies * The following workspace dependencies were updated * dependencies * @mux/playback-core bumped from 0.27.0 to 0.28.0 </details> <details><summary>@mux/mux-video-react: 0.13.0</summary> ## [0.13.0](https://github.com/muxinc/elements/compare/@mux/mux-video-react@0.12.0...@mux/mux-video-react@0.13.0) (2024-12-12) ### Features * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) * use MC media-error-dialog ([#1014](#1014)) ([2fbb2c1](2fbb2c1)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) * **mux-video, mux-video-react, mux-audio, mux-audio-react, mux-player, mux-player-react:** Expose element name and version via exports and statics for web components. ([#1017](#1017)) ([27b6858](27b6858)) ### Dependencies * The following workspace dependencies were updated * dependencies * @mux/playback-core bumped from 0.27.0 to 0.28.0 </details> <details><summary>@mux/playback-core: 0.28.0</summary> ## [0.28.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.27.0...@mux/playback-core@0.28.0) (2024-12-12) ### Features * **playback-core:** custom cap level controller ([#1010](#1010)) ([e49e231](e49e231)) * Set default player init time for all elements for greater accuracy. Expose attr+prop for externally defined player init time. ([#1034](#1034)) ([61f10d3](61f10d3)) * use MC media-error-dialog ([#1014](#1014)) ([2fbb2c1](2fbb2c1)) ### Bug Fixes * move package exports default condition to be last ([#1013](#1013)) ([192aa79](192aa79)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements a custom
CapLevelController
that ensures we never cap to 480p (portrait or landscape)To test:
width
input to setMuxPlayer
'swidth
to something smaller than 480p (keep in mind dpp, so you may want to choose something small like200
playbackId
input to set the desiredplaybackId
(or choose one from the dropdown)