aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/modules/plyr
Commit message (Collapse)AuthorAgeFilesLines
* feature/hls: Add HLS playback support, and refactors documentation for ↵HEADv0.5.0masterAstounds41 hours1-1/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | better usability and maintainability. (#1) ## Overview This PR introduces HLS playback support, improves the player experience, and refactors documentation for better usability and maintainability. ## Key Features ### HLS Playback Support - Add HLS integration via new JavaScript assets: - `hls.min.js` - `plyr.hls.start.js` - `watch.hls.js` - Separate DASH and HLS logic: - `plyr-start.js` → `plyr.dash.start.js` - `watch.js` → `watch.dash.js` - Update templates (`embed.html`, `watch.html`) for conditional player loading ### Native Storyboard Preview - Add `native_player_storyboard` setting in `settings.py` - Implement hover thumbnail preview for native player modes - Add `storyboard-preview.js` ### UI and Player Adjustments - Update templates and styles (`custom_plyr.css`) - Modify backend modules to support new player modes: - `watch.py`, `channel.py`, `util.py`, and related components ### Internationalization - Update translation files: - `messages.po` - `messages.pot` ### Testing and CI - Add and update tests: - `test_shorts.py` - `test_util.py` - Minor CI and release script improvements ## Documentation ### OpenRC Service Guide Rewrite - Restructure `docs/basic-script-openrc/README.md` into: - Prerequisites - Installation - Service Management - Verification - Troubleshooting - Add admonition blocks: - `[!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]`, `[!CAUTION]` - Fix log inspection command: ```bash doas tail -f /var/log/ytlocal.log ```` * Add path placeholders and clarify permission requirements * Remove legacy and duplicate content Reviewed-on: https://git.fridu.us/heckyel/yt-local/pulls/1 Co-authored-by: Astounds <kirito@disroot.org> Co-committed-by: Astounds <kirito@disroot.org>
* Renew plyr UI and simplify elementsJesus2025-03-081-0/+38
|
* Update Plyr custom styles for menu containerAstound2024-01-291-0/+8
| | | | | | | Specifically, set a maximum height and added vertical scrolling to address an issue related to Plyr's menu height. Improve the overall usability and visual appearance of the menu in video player.
* Adjust Plyr custom styles for video preview thumbnailAstound2024-01-291-0/+9
| | | | | | | | In custom_plyr.css, made adjustments to styles for video preview thumbnail in Plyr Specific changes: - Modified the size and positioning of the thumbnail container to improve the visual presentation. - Enchance the user experience when interacting with video previews.
* Refactor styles on video playback pageAstound2024-01-291-0/+22
| | | | | | | | | Made changes to the styles on the video playback page to enhance visibility and address issues with the video player. Added a new custom style file for Plyr, and removed redundant and unused styles in watch.css. Specific changes: - Added custom_plyr.css for Plyr styles. - Removed redundant styles related to playback issues in watch.css
* Revert update plyr0.2.7Astound2024-01-284-4812/+5315
|
* update plyrAstound2024-01-224-5314/+4812
|
* Revert update plyrJesús2022-05-303-3231/+3875
| | | | | because iceweasel not support engine v8+ More info: https://repo.palemoon.org/MoonchildProductions/UXP/issues/1675
* Update plyr moduleJesús2022-02-113-45/+105
|
* plyr: remove sourceMappingURL=plyr.min.js.mapJesús2021-08-311-1/+0
|
* [plyr]: updateJesús2021-08-094-3847/+3171
|
* [plyr]: Remove unimportant filesJesús2021-08-0911-40844/+0
|
* Add plyr as main playerJesús2021-05-2215-0/+50166
Also plyr supports switch quality