Skip to content

Commit

Permalink
Merge pull request #112 from xwp/add/streaming-m3u8-source
Browse files Browse the repository at this point in the history
Add a m3u8 fallback source of streaming video for iOS.
  • Loading branch information
derekherman authored Mar 23, 2021
2 parents c6013bd + 21a2b2c commit 6a3f38f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions public/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"src": "https://storage.googleapis.com/wdm-assets/videos/http-203/background-fetch/manifest.mpd",
"type": "application/dash+xml"
},
{
"src": "https://storage.googleapis.com/wdm-assets/videos/http-203/background-fetch/master.m3u8",
"type": "application/x-mpegURL"
}
],
"thumbnail": [
Expand Down
2 changes: 1 addition & 1 deletion src/js/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* There may be adjacent caches used for other purposes and we
* want to let the SW know which caches it should purge on upgrade.
*/
export const SW_CACHE_NAME = 'static-assets-v1.0.0-alpha1';
export const SW_CACHE_NAME = 'static-assets-v1.0.0-alpha2';
export const SW_CACHE_FORMAT = /^static-assets-v[a-z0-9.-]+$/;

/**
Expand Down

0 comments on commit 6a3f38f

Please sign in to comment.