14 Commits

Author SHA1 Message Date
Álvaro Velad Galván 4f62ce8b24 build: Reduce bundle size by deduplicating license headers (#10182)
Ensure generated bundles contain a single license header instead of
repeating the same notice across bundled modules.

Normalize all copyright years to 2016 and remove
duplicate license headers from generated bundles.

This reduces the final bundle size while preserving license information
in the distributed artifacts.
2026-06-05 12:43:28 +02:00
Álvaro Velad Galván 8daa8803f7 feat: Add throwOnPreloadNotSupported flag to preload() (#10163) 2026-06-02 09:51:31 +02:00
Álvaro Velad Galván 6e0599ab3e fix(Queue): Fix usage with RepeatMode.OFF (#10164)
According to the config description: "When the queue is completed the
media session is terminated".
2026-06-02 09:35:47 +02:00
Álvaro Velad Galván 821a639a1b fix(Queue): Support relative URLs in M3U playlists (#10161) 2026-06-01 17:00:56 +02:00
Álvaro Velad Galván f367ee5ffa feat(Queue): Add M3U playlist loading support (#10115) 2026-05-27 13:29:19 +02:00
Álvaro Velad Galván 3d11d75e10 fix: Allow use preferredText with external tracks (#10019) 2026-04-22 13:35:26 +02:00
Álvaro Velad Galván 6c286b6ad4 fix: Include isSwitchingContent in UnloadingEvent when load replaces existing content (#9934)
Fixes https://github.com/shaka-project/shaka-player/issues/9922
2026-04-07 11:06:49 +02:00
Álvaro Velad Galván 7a171c6217 chore(Queue): Improve the QueueManager code (#9620) 2026-01-29 09:50:09 +01:00
Joey Parrish ab16b73614 fix: Improve handling of in-progress content (#9414)
The HLS parser used isLive_() in some places, which was equal to
presentationType_ != VOD, and in other places, checked presentationType_
directly.

In fact, isLive_()'s old formulation was checking for all dynamic
content (live & event types), so it should be called isDynamic_(). But
some usages of the old isLive_() actually only cared about live, and
should exclude event types.

This cleans up usage and clarifies each condition to either strictly
live (excluding VOD & event types) or all dynamic content (live & event,
excluding VOD). This is done both inside and outside the HLS parser.

This also makes one behavioral change to HLS event type streams. These
are now shown as "in progress" (dynamic, finite duration) instead of
"live" (dynamic, infinite duration).

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2025-12-04 09:54:02 +01:00
Álvaro Velad Galván f20c5e42c3 feat(Queue): Allow set a custom player (#9256)
This is useful when using cast proxy
2025-10-22 13:40:18 +02:00
Álvaro Velad Galván e3c86315d3 feat(Queue): Add preloadPrevItem config (#8910) 2025-07-28 10:23:49 +02:00
Álvaro Velad Galván c56b5ec46f feat(Queue): Allow include preloadManager in QueueItem (#8906) 2025-07-23 17:14:51 +02:00
Joey Parrish 7c1e31d4e6 chore: Add trailing commas to all record types (#8820)
Now that jsdoc supports this, it will make future diffs cleaner. See
#8819 and #1236.
2025-06-30 13:36:04 -07:00
Álvaro Velad Galván 3daeac65cd feat: Add queue manager (#8649)
Close #8508

---------

Co-authored-by: Wojciech Tyczyński <tykus160@gmail.com>
2025-05-29 12:41:30 +02:00