Commit Graph

435 Commits

Author SHA1 Message Date
Wojciech Tyczyński 8395b912a7 feat(UI): Add new stats to context menu (#6814) 2024-06-13 11:50:58 +02:00
Wojciech Tyczyński 8a678f374d feat(Stats): Add manifestGapCount to stats (#6804)
Resolves #6789
2024-06-13 09:41:57 +02:00
Álvaro Velad Galván 9b25ff5bc1 feat(Ads): Add CUEPOINTS_CHANGED event to interstitials (#6791) 2024-06-12 10:14:37 +02:00
Wojciech Tyczyński 65b0b8dd21 feat(Stats): Add manifestPeriodCount to stats (#6798)
Resolves #6788
2024-06-12 08:37:01 +02:00
Álvaro Velad Galván 31d0445f83 feat(UI): Initialize interstitials by default when using UI (#6797) 2024-06-12 08:24:30 +02:00
Wojciech Tyczyński d0d5843d8c feat(Stats): add size of the manifest to player stats (#6783) 2024-06-10 17:26:44 +02:00
Wojciech Tyczyński 081afde932 feat(Stats): count non fatal errors (#6781)
Add `nonFatalErrorCount` to shaka stats.
2024-06-10 13:46:12 +02:00
Wojciech Tyczyński 48bdf176cb feat: Add audio codec to selectAudioLanguage() (#6723)
- adds optional argument to `selectAudioLanguage()` which gives us a way
to select preferred audio codec
- updates `PreferenceBasedCriteria` to reflect the change
- renders codec in shaka UI to help distinguish tracks with the same
language, role, channels, etc
- can be tested on Chrome with `Tears of Steel (multicodec, TTML)` asset
2024-06-07 15:18:57 +02:00
Álvaro Velad Galván 2e4ace5936 fix(UI): Don't show presentation time in ads (#6752)
This bug has been detected when implementing HLS interstitials
2024-06-04 20:37:06 +02:00
Álvaro Velad Galván aaf4b63399 fix(UI): Fix resolution sorting (#6742) 2024-06-04 09:28:55 +02:00
Álvaro Velad Galván d9242cd09c fix(UI): UI does not update after loading a new stream (#6721)
Fixes https://github.com/shaka-project/shaka-player/issues/6720
2024-05-31 19:14:58 +02:00
Álvaro Velad Galván e3f85eb0ed fix(UI): Fix dragging the seek bar seeks and pans the view in VR mode (#6677)
Fixes https://github.com/shaka-project/shaka-player/issues/6625
2024-05-28 09:01:15 +02:00
Álvaro Velad Galván 35cd411ca3 fix(UI): Fix unhandled error when playing VR (#6679) 2024-05-28 08:54:38 +02:00
Álvaro Velad Galván 1429763c97 feat(Ads): Implement skip ad functionality in Media Tailor (#6598) 2024-05-14 09:06:25 +02:00
theodab a9d5dc3991 feat(UI): List bandwidth for duplicate resolutions (#6548)
We recently added the ability for the UI to display multiple variants of
the same resolution, if they had different video bandwidths.
This changes the UI to also list the video bandwidth in the menu itself,
in that case.

Closes #6494
2024-05-07 10:10:11 +02:00
Álvaro Velad Galván 9fb9b26b94 fix(UI): Allow show same resolution with different video bandwidth (#6536)
Fixes https://github.com/shaka-project/shaka-player/issues/6494
2024-05-06 10:40:27 +02:00
Álvaro Velad Galván 95c6a7dda3 feat(UI): UI support for VR content (#6450)
Co-authored-by: Joey Parrish <joeyparrish@google.com>
2024-04-25 13:43:32 +02:00
Álvaro Velad Galván d532bf44c7 feat: Add bytesDownloaded to stats (#6469)
Closes https://github.com/shaka-project/shaka-player/issues/6413
2024-04-23 14:26:58 -07:00
MarianoFacundoArch dbdef5df3a feat(UI): Add config for refreshTickInSeconds (#6386)
Closes https://github.com/shaka-project/shaka-player/issues/6376

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2024-04-03 08:37:24 +02:00
Joey Parrish 6be778f09a test: Update screenshots and disable GPU to increase screenshot stability (#6264)
Some screenshots got out of date while some of our infrastructure was
failing in the lab.

Some screenshots were also unstable due to competing use of the GPU by
multiple Selenium nodes on the same machine. This disables GPU on
Chrome, Edge, and Firefox to make the screenshots more stable across
time, across circumstances, and across machines.

Finally, this adds font smoothing to normalize rendering on Safari
across devices.
2024-02-22 10:10:44 -08:00
Álvaro Velad Galván 32f8dc5cf4 revert: Add chapter titles and dividers on the seek bar (#6208)
re-open: https://github.com/shaka-project/shaka-player/issues/3597
2024-02-01 08:36:53 +01:00
Thomas Champion 8f0db8e89d fix: add missing properties to PlayButton type (#6130)
Fixes https://github.com/shaka-project/shaka-player/issues/6125.
2024-01-22 08:23:26 +01:00
Álvaro Velad Galván 4e599cb4a4 feat(UI): Allow show/hide ui programmatically (#6117)
Closes https://github.com/shaka-project/shaka-player/issues/6116
2024-01-18 07:27:22 +01:00
Álvaro Velad Galván 6312fa31b7 fix(UI): Disable PiP on casting (#6110) 2024-01-16 18:09:38 +01:00
Álvaro Velad Galván c596677e4a feat(UI): Use the same logic to group variants into audio and quality selectors (#6096)
Closes https://github.com/shaka-project/shaka-player/issues/6039
2024-01-16 09:29:26 +01:00
Álvaro Velad Galván 9b9ff16ba7 fix(UI): Update the playbackrate on loaded event (#6090) 2024-01-11 18:34:46 +01:00
Álvaro Velad Galván 6b7a02ae91 fix(UI): Fix replay button when the post-roll is running using CS (#6072) 2024-01-10 17:31:15 +01:00
Álvaro Velad Galván eabfc472ae feat(UI): Use the same logic to group variants into audio and quality selectors (#6069)
Related to https://github.com/shaka-project/shaka-player/issues/6039
2024-01-10 10:26:10 +01:00
Álvaro Velad Galván df056925ed fix(UI): Fix the scrolling when scrolling from the laterals when seekOnTaps is enabled (#6050)
Fixes https://github.com/shaka-project/shaka-player/issues/6027
2024-01-09 09:41:54 +01:00
Álvaro Velad Galván a94a60213d feat(UI): Separate trackLabelFormat settings for text tracks and audio tracks (#6052)
Closes https://github.com/shaka-project/shaka-player/issues/6008
2024-01-09 09:39:33 +01:00
Álvaro Velad Galván c189922f8d feat(UI): Disable forward and rewind with arrows while seekbar not active (#6049)
Closes https://github.com/shaka-project/shaka-player/issues/6040
2024-01-09 08:56:43 +01:00
Álvaro Velad Galván 8649e7ebbd feat(UI): Hide resolution overflow menu button if there's only one choice (#6004)
Fixes https://github.com/shaka-project/shaka-player/commit/628bb63c4c082b44f749876cf1cb8b3f06887d0b
2023-12-11 17:10:05 -08:00
Álvaro Velad Galván 622928470f fix(UI): Fix disable PiP when using documentPictureInPicture (#5992)
Fixes https://github.com/shaka-project/shaka-player/issues/5991
2023-12-05 11:53:43 +01:00
Álvaro Velad Galván 90f1d61fe0 fix(UI): Fix keyboard navigation of volume bar on Firefox (#5981)
Fixes https://github.com/shaka-project/shaka-player/issues/3987
2023-12-05 08:09:09 +01:00
Álvaro Velad Galván 918c30b25a feat(UI): Add double tap to forward/rewind in the video (#5943)
Closes https://github.com/shaka-project/shaka-player/issues/3357
Closes https://github.com/shaka-project/shaka-player/issues/3303

Thanks to @surajkumar-sk, his
https://github.com/shaka-project/shaka-player/pull/3373 has been the
inspiration for this.
2023-11-29 10:22:04 +01:00
Álvaro Velad Galván 2fcc2f8f12 feat(UI): Add more keyboard shortcuts (#5942)
Closes https://github.com/shaka-project/shaka-player/issues/3223
2023-11-29 07:33:03 +01:00
Álvaro Velad Galván 00ff864c2c fix(UI): Correctly display video time and duration for VOD (#5929)
Fixes https://github.com/shaka-project/shaka-player/issues/5765
2023-11-27 08:59:40 +01:00
Álvaro Velad Galván 628bb63c4c feat(UI): Hide language and resolution overflow menu button if there's only one choice (#5928)
Closes https://github.com/shaka-project/shaka-player/issues/4720
2023-11-27 08:59:29 +01:00
Álvaro Velad Galván 1681acdd24 feat(UI): Show the channel count in the audio selector (#5868) 2023-11-13 09:36:20 +01:00
Álvaro Velad Galván c1198df82f feat(UI): Add chapter titles and dividers on the seek bar (#5863)
Closes https://github.com/shaka-project/shaka-player/issues/3597
2023-11-08 10:20:59 +01:00
Álvaro Velad Galván 801131f84c feat(HLS): Add support for mjpg I-Frames playlist (#5856)
It also adds support for rendering downloaded thumbnails.
2023-11-08 03:29:09 +01:00
theodab 4425dca283 chore: Remove state engine (#5752)
The state engine mechanism, designed for the player class, was
over-engineered. The structure of the class makes debugging player
errors unnecessarily annoying, by obfuscating the code-path the error
followed, and in general
has created a significant amount of technical debt.
This changes the player to use an async-await setup for the top-level
operations, laying things out much more cleanly
and linearly.

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2023-10-30 23:59:08 -07:00
Álvaro Velad Galván b66a8e871b fix(UI): Console error on remote.cancelwatchavailability() method in remote playback feature (#5793)
Fixes: https://github.com/shaka-project/shaka-player/issues/5766
2023-10-30 09:10:11 +01:00
Álvaro Velad Galván b56b9df602 feat(UI): Bucketize resolution names in the UI (#5816)
Closes https://github.com/shaka-project/shaka-player/issues/2090
2023-10-30 07:36:24 +01:00
Álvaro Velad Galván 81fc82b6b2 feat(HLS): Add support for REQ-VIDEO-LAYOUT (#5809)
Also add preferredVideoLayout config
2023-10-26 09:25:45 +02:00
Álvaro Velad Galván 30963788be feat(UI): Display frame rates in the quality selector (#5753)
Closes https://github.com/shaka-project/shaka-player/issues/5749
2023-10-09 11:03:10 +02:00
Álvaro Velad Galván bba0651e23 fix(UI): Fix text selector when the trackLabelFormat is set to LABEL (#5751)
Fixes https://github.com/shaka-project/shaka-player/issues/5747
2023-10-09 11:02:58 +02:00
Álvaro Velad Galván 025502a70c feat(UI): Add config to preferDocumentPictureInPicture (#5690)
Closes https://github.com/shaka-project/shaka-player/issues/5689
2023-09-28 11:31:02 +02:00
Álvaro Velad Galván 1ef5ae0615 feat(UI): Add remote button with RemotePlayback API (#5650)
API: https://developer.mozilla.org/en-US/docs/Web/API/RemotePlayback

Chrome Status: https://chromestatus.com/feature/5778318691401728

Examples: https://avayvod.github.io/remote-playback/test.html and
https://beaufortfrancois.github.io/sandbox/media/remote-playback.html

Tested in Safari (iOS and macOS) and Chrome in Android

About desktop support:
https://bugs.chromium.org/p/chromium/issues/detail?id=728609
2023-09-14 18:17:32 +02:00
Álvaro Velad Galván b4228479da feat(UI): Add PiP function to controls (#5629)
Close https://github.com/shaka-project/shaka-player/issues/5617
2023-09-13 22:40:15 +02:00