Commit Graph
21 Commits
Author SHA1 Message Date
Rob WalchandGitHub 21213d55c9 Fix subtitle track selection when reusing media element with mismatched TextTracks (#5880)
* Use subtitle track name and language to find and match subtitle/captions TextTrack rather than subtitleTrack index
Resolves #4571

* Fix regression in dev where AUDIO_TRACKS_UPDATED is re-dispatched with zero tracks
Allow selection of audioTrack on AUDIO_TRACKS_UPDATED (overriding default selection - Resolves #5831)
Cleanup selection of subtitleTrack on SUBTITLE_TRACKS_UPDATED (overriding default selection)

* Fix TextTrack use with ASSOC-LANGUAGE
Match the initial default/forced/autoselect choice made when playing HLS in Safari
2023-10-10 11:27:55 -07:00
Rob WalchandGitHub ab34a42505 Handle option grouping for EXT-X-STREAM-INF with same URL and attributes (#5855)
Add VIDEO_RANGE and HDCP attriubute values to Redundant Stream grouping
Add channels and characteristics to MediaPlaylist
Resolves #5302
2023-10-04 11:02:09 -07:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Tom Jenkinson
359197f20b chore(deps): update dependency prettier to v3 (#5646)
* chore(deps): update dependency prettier to v3

* run prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tom Jenkinson <tom@tjenkinson.me>
2023-08-22 11:24:59 +01:00
Rob WalchandGitHub 9cafa433b5 Do not clear subtitle cues or fragment tracking when updated subtitle tracks are identical (#5365)
Fixes #5361
2023-04-04 18:23:42 -07:00
Luke PommersheimandGitHub 9e1a3aa54e Feature/determine text track kind based on CHARACTERISTICS (#4850)
* add CHARACTERISTICS to LevelAttributes type

* look at CHARACTERISTICS attribute when creating text track to determine if kind should be captions or subtitles

* add a spec to timeline-controller about textTrack kind

* add CHARACTERISTICS to api-extractor report
2022-08-16 12:22:32 -04:00
Tom Jenkinson 729a36d409 switch to default print width 2020-12-24 13:31:43 +00:00
Tom Jenkinson 7342d4a6db run 'npm run prettier' 2020-12-23 20:15:35 +00:00
Rob Walch 94ac7cb673 Update and expose tracks by level group-id
Fixes #2972
2020-12-17 15:03:48 -05:00
Jamie Stackhouse 765155ae8c Add some types to usage sites for Timeline Controller. 2020-05-24 14:27:20 -03:00
Jamie Stackhouse 6bb71c83fb Working towards making event emitter less of a breaking change. 2020-01-11 00:46:31 -04:00
John Bartos f9d6fad108 More unit test fixes 2018-12-04 11:00:57 -05:00
John Bartos cad99e3604 Fix lint errors 2018-11-27 13:44:37 -05:00
John Bartos 130a0695f6 Upgrade new tests to chai bdd 2018-11-27 12:39:55 -05:00
John Bartos cdac095234 Merge remote-tracking branch 'upstream/master' into feature/0.11.1 2018-11-27 12:00:08 -05:00
John BartosandGitHub 2d601088f0 Improve unit tests (#173)
Convert unit tests from Node assertions to Chai BDD
2018-11-12 13:51:33 -05:00
Oren MeandJohn Bartos 6db0112c3b fix(timeline-controller): reuse text tracks when not in same order (#1869)
Reuse text tracks even when not in the same order
2018-08-27 15:28:05 -04:00
John Bartos c44e19cc4d Fix lint rules & errors 2018-08-09 15:05:57 -04:00
Stephan Hesse 3baceab682 autofix lint error in tests 2018-07-23 14:31:56 +02:00
John Bartos f15a1a1bf8 Fix failing tests 2018-03-26 17:27:17 -04:00
Stephan Hesse 4e4b2abf9f fix all auto lint errors 2018-03-05 10:53:55 +01:00
jara01 57beb39dd7 Added unit tests for subtitle track mode. 2018-02-06 15:53:13 +01:00