Commit Graph

490 Commits

Author SHA1 Message Date
Álvaro Velad Galván 70c2fdae89 fix(UI): Use trickPlay method to control the playback rate (#7580)
This change allows the AbrManager to be correctly informed of the new
rate. See:
https://github.com/shaka-project/shaka-player/blob/main/lib/player.js#L4681
2024-11-13 18:01:48 +01:00
Álvaro Velad Galván 8dae6e4e40 fix(UI): Fix "Live" label in some languages (#7560) 2024-11-08 10:47:31 +01:00
Álvaro Velad Galván 3bd0978da0 feat(UI): Allow configure the fullscreen mode in VisionOS (#7540)
With this config we will use the fullscreen API of the video element
itself if it is available in Vision OS. This is useful to be able to
access 3D experiences that are only allowed with the fullscreen of the
video element itself.
2024-11-06 11:06:29 +01:00
Álvaro Velad Galván a01b5fd449 fix(UI): Fix name for Dolby Digital Plus (#7541) 2024-11-05 16:46:20 +01:00
Álvaro Velad Galván 1497148eee fix(UI): Disable fullscreen button conditionally when playing ads (#7534)
Only disable fullscreen button when the devices doesn't support the
standard Fullscreen API and playing an ad that use another media element

Fixes https://github.com/shaka-project/shaka-player/issues/6133
2024-11-04 12:54:35 +01:00
Álvaro Velad Galván fb1ce42adb chore: Reduce severity of some MediaSession logs (#7526) 2024-10-31 13:18:06 +01:00
Álvaro Velad Galván b00a2c3f3e fix(UI): Fix set MediaSession info when no previous Metadata (#7521) 2024-10-30 14:17:52 +01:00
Álvaro Velad Galván edb9e532ba fix(AirPlay): Show AirPlay button when starting the playback with AirPlay (#7515) 2024-10-29 07:15:39 +01:00
Álvaro Velad Galván c8bcfdb7e9 fix(UI): Fix remote button availability and icon (#7513) 2024-10-28 11:50:07 +01:00
Álvaro Velad Galván b980f6785c fix(UI): Remove buffering spinner when playing a client side ad (#7507) 2024-10-25 08:40:06 -07:00
Álvaro Velad Galván 4e6e37c0ce feat(UI): Add close button to statistics panel (#7482) 2024-10-23 21:31:36 +02:00
Álvaro Velad Galván 3107de3678 feat(Ads): New HLS interstitial DATERANGE attributes for Skip Button (#7467)
Close: https://github.com/shaka-project/shaka-player/issues/7466
2024-10-23 20:23:33 +02:00
Álvaro Velad Galván ba369584bd fix(UI): Don't enable StatisticsButton when create overflow menu (#7481) 2024-10-23 20:19:00 +02:00
Álvaro Velad Galván 333857923e fix(UI): Hidden cursor correctly (#7464)
Fixes https://github.com/shaka-project/shaka-player/issues/7394
2024-10-23 08:11:33 +02:00
Álvaro Velad Galván 6e62cfa004 fix(UI): Hidden cursor correctly when no touch screen (#7458)
Fixes https://github.com/shaka-project/shaka-player/issues/7394
2024-10-21 14:13:53 +02:00
Álvaro Velad Galván e883fedd69 feat(UI): Added Mute button to context menu and overflow menu (#7439)
Close https://github.com/shaka-project/shaka-player/issues/7407
2024-10-18 18:36:51 +02:00
Álvaro Velad Galván 85282ceb48 fix(UI): Fix the position of save video frame in the overflow menu (#7438)
This change is necessary because the remote playback button is not in
the initial list, and this causes it to be positioned in last place when
we do not want this to happen.
2024-10-18 18:23:11 +02:00
Álvaro Velad Galván 263c6a6a0f fix(UI): Disable save frame when using remote playback (#7433) 2024-10-18 12:39:58 +02:00
Joey Parrish 0f2ee89df9 fix(UI): Fix auto-load with source tags (#7430)
In 4425dca2, we broke auto-loading content with `<source>` tags or
`src=` in the UI, such that we tried to load content before we had
attached a video element. That was almost a year ago. Oops!

This also adds an appropriate unit test.
2024-10-18 10:00:15 +02:00
Wojciech Tyczyński 445b0ce67f feat: Use source tags instead of src attribute (#7406)
Needed for #5022 

This PR does not enable AirPlay on MSE yet, but moves shaka from using
`src` attribute to `source` tags. With this change we will be able to
enable it more easily, as `src` and `source` should not be used
together.
2024-10-15 12:47:10 +02:00
Aliaksandr Trush 51d00b8f08 feat(i18n): Add Belarusian translation (#7409) 2024-10-10 08:04:07 -07:00
Wojciech Tyczyński 96da45a182 fix(UI): Restore missing AirPlay button (#7389) 2024-10-03 10:15:46 +02:00
Álvaro Velad Galván e71dca2146 fix(UI): Don't try to add MediaSessionHandler for PiP when it's not available (#7376) 2024-09-25 17:01:22 +02:00
Álvaro Velad Galván 6884721b0e fix(UI): Fix mediaSession metadata update on Firefox (#7375) 2024-09-25 16:47:46 +02:00
Joey Parrish 0bc840129f chore: Update translations (#7367)
Automated extraction from Google Translation Console

Closes #7231
2024-09-25 08:30:07 +02:00
Álvaro Velad Galván 131437734c fix(UI): Fix missing tracks in resolution selector (#7352) 2024-09-23 14:30:44 +02:00
Joey Parrish b4c00ad9e0 chore: Update sjn translations (#7324) 2024-09-16 10:30:27 -07:00
Álvaro Velad Galván 3d51cb3c42 fix(UI): Remove spinner and client side ad container elements when calling destroy (#7320)
Fixes https://github.com/shaka-project/shaka-player/issues/7311

Original author: @absidue
2024-09-16 10:34:19 +02:00
Joey Parrish f556d3688c chore: Sync conflicting translations (#7262)
This imports newly-conflicting translations for review. We have
conflicts in:

 - Catalan (ca)
 - German (de)
 - Spanish (Spain, es)
 - Spanish (Latin American, es-419)
 - French (fr)
 - Polish (pl)
 - Portuguese (Portugal, pt-PT)
 - Portuguese (Brazil, pt-BR)
2024-09-13 12:41:19 -07:00
Álvaro Velad Galván 3590aeea3d feat(UI): Use the lang= attribute to help screen-readers recognize localized labels (#7267)
Close https://github.com/shaka-project/shaka-player/issues/1860
2024-09-09 08:53:13 +02:00
Álvaro Velad Galván 96f8914116 fix(UI): Display the font-family correctly in some cases (#7266) 2024-09-09 08:44:38 +02:00
Joey Parrish 9cf6210d0b chore: Update translations (#7261)
Automated extraction from Google Translation Console

Manually cleaned up. Where GitHub messages have been updated since our
last translation, the GitHub version is kept for now. A follow-up PR
will be made for members of our community to help evaluate the conflicts
and choose the correct translation.

Note that non-breaking spaces are used in some of our translations:
Czech, Polish, German, French, Latvian, Occitan, Polish, and Slovak. If
those had been removed on GitHub since our last translation, this adds
them back, on the assumption that those are the correct typography rules
for those languages.
2024-09-04 12:48:16 -07:00
Álvaro Velad Galván 3d3327785f fix(UI): Fix font-family override in UITextDisplayer (#7249)
Font settings were applied to ".shaka-video-container *", all
descendents of .shaka-video-container. This meant that the font setting
inheritance intended in our UI text displayer was broken, because those
descendents effectively had their own settings and didn't inherit them
from their parents in the subtitle DOM hierarchy. We fix this by
breaking down the CSS and applying those font settings directly to the
top level .shaka-video-container, to be inherited by any descendent
without their own setting.
2024-09-04 07:20:50 +02:00
Álvaro Velad Galván 47f686faad fix(UI): Remove not loaded font (#7242)
font-family settings always started with "Roboto-Regular" before
"Roboto", but we don't load "Roboto-Regular". It may exist already on
some systems, but we don't explicitly load it. We do explicitly load
"Roboto", so that should be the only Roboto-family font in the list.
This issue has been present since the very first introduction of our UI.
2024-09-03 08:56:45 +02:00
Álvaro Velad Galván 3026ba518b feat(UI): Add MediaSession management (#7188)
Co-authored-by: Wojciech Tyczyński <tykus160@gmail.com>
2024-08-22 09:38:38 +02:00
Álvaro Velad Galván d4249b1b9c fix(UI): Only show frame rate if there are several frame rates (#7190)
Fixes https://github.com/shaka-project/shaka-player/issues/7187
2024-08-21 18:08:09 +02:00
Álvaro Velad Galván 867f8b2d16 fix(UI): Fix display seekbar and time when the seekrange is infinite (#7182) 2024-08-20 12:35:47 +02:00
Álvaro Velad Galván 1d5c7d2a64 fix(UI): Fix ad markers set before full initialization (#7089) 2024-07-23 13:53:59 +02:00
Álvaro Velad Galván 9337143856 fix(Ads): Don't show duplicate SKIP UI in IMA CS (#7084)
SKIP UI in IMA CS can not be disabled, see:
https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/faq#13
2024-07-23 07:53:27 +02:00
Álvaro Velad Galván 089518c0e1 fix(UI): Fix resolution label when the stream has not resolution (#7043) 2024-07-16 08:17:01 +02:00
Álvaro Velad Galván 226c740311 fix(UI): Fix seek preview time in VoD (#7027)
Related to https://github.com/shaka-project/shaka-player/pull/7029
2024-07-12 13:34:27 +02:00
Álvaro Velad Galván 87bf738ece feat(UI): Add chapter button (#7018)
Closes https://github.com/shaka-project/shaka-player/issues/3597
2024-07-11 09:28:31 +02:00
Álvaro Velad Galván 2a2c9cd92d fix(UI): Show all resolutions when there are only one audio. (#7017) 2024-07-11 09:14:02 +02:00
Álvaro Velad Galván 247037e537 fix(UI): Show the ad marker in the seek bar when there are some intersections (#6990) 2024-07-08 08:25:37 +02:00
Alain Laporte 2d6c2afa25 fix(UI): fix wrong french in translation (#6982)
Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2024-07-03 17:13:16 +02:00
Álvaro Velad Galván 7c33192a07 fix(UI): Don't display NaN stats (#6958) 2024-07-01 20:27:33 +02:00
Álvaro Velad Galván 19cfbf966f feat(UI): Add save video frame button (#6926)
Thank you @tykus160 for your Polish translation!
2024-06-27 14:10:18 +02:00
Álvaro Velad Galván 34cc33cfb7 fix(UI): update Spanish translations (#6875) 2024-06-20 10:49:21 +02:00
Álvaro Velad Galván 1fed8b7863 fix(UI): update Portuguese translations (#6874) 2024-06-20 10:49:11 +02:00
Álvaro Velad Galván 620756b2ea fix(UI): update French translations (#6873) 2024-06-20 10:49:01 +02:00