Update shaka-player to 4.16.x#7919
Conversation
|
Adding |
|
i change the volume with the slider but the color wont adjust Freetube.8Hbapf9cpa.mp4 |
|
I'll change this PR to jump straight to 4.16.0 then, no point doing two separate PRs right after each other (4.16 will also require more changes than just bumping the version). |
|
@efb4f5ff-1298-471a-8973-3d47447115dc That issue is caused by touch interactions triggering the mouse |
|
Not review for this PR but SABR implementation seems broken (renderer process taking 100% CPU) after merging this (no code conflict) and I have no idea why... Update 1: even non SABR request can be stuck Update 2: Also got stuck in 4.5.12, not sure if the cause is the same though Update 3: After using local shaka-player repo to checkout tags (long process), it seems to be shaka-project/shaka-player#8782 causing the issue Update 4: Issue with our custom URL triggering a bug in https://github.com/shaka-project/shaka-player/blob/v4.16.0/lib/util/cmcd_manager.js#L1348, adding a fake host seems to workaround it Update 5: Submitted issue shaka-project/shaka-player#9050 |
|
Testing SABR with this PR: https://github.com/PikachuEXE/FreeTube/actions/runs/17323879326 |
|
@efb4f5ff-1298-471a-8973-3d47447115dc That error message is not from us, that's coming from webpack's dev server intercepting errors to show in that popup, in this case it's a warning from Electron that an event handler is too slow and may cause performance problems during the resize but as there is nothing in the console I'm pretty sure it is happening inside shaka-player. (reminder that we need to turn off that webpack dev server overlay, as this is not the first time that it has shown irrelevant errors) The only icon of concern is the theatre mode one, all others are different because shaka-player changed Material Icons to Material Symbols to in 0.16.x. |
|
@PikachuEXE It's been 9 days, any issues? |
|
No issue |
|
Done! |
Separate PR I guess |
This comment was marked as resolved.
This comment was marked as resolved.
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This comment was marked as outdated.
This comment was marked as outdated.
* development: Translated using Weblate (Portuguese (Brazil)) Update shaka-player to 4.16.x (FreeTubeApp#7919) Translated using Weblate (Portuguese (Brazil)) Translated using Weblate (Portuguese (Brazil)) [Feature]: Hide videos immediately when marking as watched (FreeTubeApp#7866) Bump actions/setup-node from 4 to 5 (FreeTubeApp#8000)
* development: (65 commits) Translated using Weblate (Portuguese (Brazil)) Update shaka-player to 4.16.x (FreeTubeApp#7919) Translated using Weblate (Portuguese (Brazil)) Translated using Weblate (Portuguese (Brazil)) [Feature]: Hide videos immediately when marking as watched (FreeTubeApp#7866) Bump actions/setup-node from 4 to 5 (FreeTubeApp#8000) Bump mikefarah/yq from 4.47.1 to 4.47.2 (FreeTubeApp#8039) Bump marked from 16.2.1 to 16.3.0 (FreeTubeApp#8040) Bump eslint-plugin-jsdoc from 57.0.3 to 57.0.8 in the eslint group (FreeTubeApp#8038) Adjust homebrew link to maintainers tap (FreeTubeApp#8041) Remove n argument in sed (FreeTubeApp#8033) Translated using Weblate (Russian) Bump eslint-plugin-jsdoc from 56.1.2 to 57.0.3 in the eslint group (FreeTubeApp#8030) Bump youtubei.js from 15.1.0 to 15.1.1 (FreeTubeApp#8031) Translated using Weblate (Polish) Bump eslint-plugin-jsdoc from 55.0.0 to 56.1.2 in the eslint group (FreeTubeApp#8020) Bump lefthook from 1.12.4 to 1.13.0 (FreeTubeApp#8026) Bump swiper from 11.2.10 to 12.0.1 (FreeTubeApp#8024) Bump globals from 16.3.0 to 16.4.0 (FreeTubeApp#8023) Bump package version from 0.23.8 to 0.23.9 (FreeTubeApp#8027) ...
* Update shaka-player to 4.15.x * Move some items into the overflow menu on all player sizes * Fix mouse wheel actions * Update shaka-player to 4.16.x * Re-order entries in the overflow menu on mobile * Fix player icons * Optimise audio track handling * Upstream prefers-reduced-transparency for shaka-player's UI elements * Update shaka-player to 4.16.1






Pull Request Type
Related issue
Description
shaka-player 4.15 includes a redesigned player UI, which required a few changes to our custom player components as well as the CSS. As the UI changes increase the spacing between the player buttons, I also thought this was a good momement to address Move player controls to the overflow menu which we have been planning to do for a while now. Additionally I switched our audio track selector over to the new
getAudioTracks()andselectAudioTrack()API.shaka-player 4.16 changed from using the Material Icons font in the CSS file to using SVGs created via JavaScript, this does mean that the JavaScript file is larger but we no longer need to download the Material Icons font and patch the CSS file to reference the downloaded version.
Screenshots
Testing
Try playing some videos and test that the various UI components work correctly.
Desktop