Skip to content

Commit

Permalink
docs: Add blob-url tutorial (shaka-project#3586)
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Velad Galván committed Aug 21, 2021
1 parent 4dce1e0 commit 0e02312
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/tutorials/blob-url.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Blob URL

In case you need shaka-player to load a blob url mpd:

`player.load(computedMpdBlobURL, startTime, 'application/dash+xml');`


In case you need shaka-player to load a blob url m3u8 :

`player.load(computedMpdBlobURL, startTime, 'application/x-mpegurl');`


Note: relative URIs in the manifest are broken because the original manifest URI is lost. This can be worked around with either absolute URIs or the use of BaseURL element in DASH.

Note: this tutorial only applies to v3.3 or higher
1 change: 1 addition & 0 deletions docs/tutorials/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
{ "offline": { "title": "Offline Storage and Playback" } },
{ "fairplay": { "title": "FairPlay support" } },
{ "application-level-redirects": { "title": "Application-Level Redirects" } },
{ "blob-url": { "title": "Blob URL" } },
{ "faq": { "title": "Frequently Asked Questions" } },
{ "upgrade": {
"title": "Upgrade Guide",
Expand Down

0 comments on commit 0e02312

Please sign in to comment.