Commit Graph

16 Commits

Author SHA1 Message Date
loicraux 8cd2c019b8 feat(Offline): Allow no timeout when opening IndexedDB database (#8372)
This is the followup to the previous PR #8366 , to allow to disable the
timeout, as per @avelad
[suggestion](https://github.com/shaka-project/shaka-player/pull/8366#issuecomment-2766660785)
to add this in another PR...

---------

Co-authored-by: Loïc Raux <loicraux@gmail.com>
Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
Co-authored-by: Wojciech Tyczyński <tykus160@gmail.com>
2025-04-01 16:01:24 +02:00
Álvaro Velad Galván 5752a21b0f feat(Offline): Make timeout for opening IndexedDB configurable (#8366)
Close https://github.com/shaka-project/shaka-player/issues/8355
2025-04-01 11:47:33 +02:00
Álvaro Velad Galván d2c462eae8 docs: Add note about the result of calling storage.store twice (#6431)
Closes https://github.com/shaka-project/shaka-player/issues/6338
2024-04-11 08:08:34 +02: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 985e57cfd9 docs: Fix offline tutorial (#5706)
Fixes https://github.com/shaka-project/shaka-player/issues/5703
2023-10-02 10:09:44 +02:00
ben476 d6d2a9f3c7 docs: Fix offline tutorial to use the correct config (#3337)
When configuring offline storage in initStorage in initialising storage, an OfflineConfig was used instead of a player config, which worked in v2.5 but not in v3.0. Because of this when the final code was run the progress bar wouldn't work properly as progressCallback was not set.
2021-04-16 14:02:46 -07:00
Adit Mehta c5af2be27a doc: Update links for event and formatting (#3256)
Updated JsDoc links for the events of Ads.
2021-03-20 13:39:48 -07:00
태재영 dd48cef08f docs: change variable declaration to modern syntax (#2692)
Issue #2544
2020-06-29 14:06:25 -07:00
Joey Parrish 09d4f4eddd Update details in the offline tutorial
Since we added support for abortable and concurrent store()
operations, this tutorial has gotten slightly out of date.  This
updates those particular details.

Change-Id: I932073b04b100cb201ee6be4dad8d8dba3deff18
2020-05-02 14:56:05 +00:00
Brian Harris 10218b1342 Update offline.md (#2404)
https://developers.google.com/web/updates/2017/12/chrome-63-64-media-updates#persistent-licenses-windows-mac
2020-02-19 13:09:24 -08:00
Joey Parrish 233bcd62e5 Clarify offline tutorial track selection
The track selection algorithm in the offline tutorial is only an
example, and not a best practice.  This change adds comments to make
this clear.

Change-Id: Ic2d2e50505b5b3a05640278016b01a1e9a5f1445
2019-05-03 18:43:17 +00:00
Gi Gi 29e15b74a5 Bugfix/offline tutorial sample (#1609)
* Fix tracks sorting in Offline tutorial sample code

Sort bandwidths numerically.

Fixes #1608
2018-10-08 10:39:57 -07:00
Sandra Lokshina 8065bd54a8 Change namespace from shakaExterns to shaka.externs
Change-Id: I16432351e2a266aa8fd175669aa27c44bfdffeae
2018-04-11 17:26:26 +00:00
Aaron Vaage d8cc658606 Removed Extra </span>
In the offline tutorial there was an extra closing tag for
a span tag.

Change-Id: I4ac2691b362bcd2c8c9ff61d8faf4770a3e428e6
2018-01-05 10:47:38 -08:00
Joey Parrish 62e77876fa Update offline storage tutorial.
Issue #1183

Change-Id: I0ac267b2c620b9d28c3cf4a28c103e8ef772c368
2017-12-20 03:02:52 +00:00
Aaron Vaage d85abe86da Offline Tutorial
This change include the offline tutorial to show users how to set up
storage and use offline playback.

Change-Id: I470bfc6761a433116a766d338ac2a87eee1bde28
2017-10-18 18:45:19 +00:00