aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/js/plyr-start.js
Commit message (Collapse)AuthorAgeFilesLines
* feature/hls: Add HLS playback support, and refactors documentation for ↵HEADv0.5.0masterAstounds2 days1-136/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* update logic plyr-start.jsAstound2025-03-031-1/+16
|
* Add autoplay to plyrAstound2024-01-221-48/+42
|
* Refactor captions logic in Plyr video player initializationAstound2024-01-221-11/+4
| | | | | Simplify the captions logic in the Plyr video player initialization by using a conditional statement. Cleaner and more concise code.
* Add autoplay functionality in Plyr video playerAstound2024-01-221-0/+4
| | | | Introduce autoplay feature in the Plyr video player based on the configuration settings.
* update plyr configJesús2022-02-111-0/+5
|
* handle missing storyboardzrose5842022-01-171-2/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* add preview thumbnailszrose5842022-01-091-0/+4
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* [frontend]: fix global scope, change var to letJesús2021-12-161-4/+4
|
* improve quality-selectJesús2021-09-141-7/+0
|
* Redo av codec settings & selections to accomodate webmJames Taylor2021-09-061-3/+3
| | | | | | | | | | | | | | Allows for ranked preferences for h264, av1, and vp9 codecs in settings, along with equal preferences which are tiebroken using smaller file size. For each quality, gives av-merge a list of video sources and audio sources sorted based on preference & file size. It will pick the first one that the browser supports. Closes #84 Signed-off-by: Jesús <heckyel@hyperbola.info>
* plyr: use strict and fix undefined quality variableJesús2021-09-011-107/+110
|
* plyr: minor fixJesús2021-09-011-2/+1
|
* Fix embed page broken due to changes to jinja variablesJames Taylor2021-08-291-1/+3
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Integrate quality selection into PlyrJames Taylor2021-08-291-1/+89
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* [plyr]: minor fix syntaxJesús2021-08-091-1/+0
|
* [plyr]: updateJesús2021-08-091-0/+37
|
* Fix set language subtitlesJesús2021-06-231-23/+0
|
* Add plyr as main playerJesús2021-05-221-0/+23
Also plyr supports switch quality