diff --git a/docs/tutorials/blob-url.md b/docs/tutorials/blob-url.md new file mode 100644 index 000000000..b33018887 --- /dev/null +++ b/docs/tutorials/blob-url.md @@ -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 diff --git a/docs/tutorials/index.json b/docs/tutorials/index.json index 3de1dbe24..de50bf897 100644 --- a/docs/tutorials/index.json +++ b/docs/tutorials/index.json @@ -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",