Error when open Shaka player demo locally

977 views
Skip to first unread message

Barmalei

unread,
Sep 20, 2016, 8:18:27 AM9/20/16
to Shaka Player Users
Hi,

I installed Shaka player via npm:
> npm install shaka-player

After that I opened /demo/index.html in Chrome, selected "Angel One", pressed "Load". And I received error message:
"Shaka Error NETWORK.UNSUPPORTED_SCHEME (file://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd)".

What should I do to solve the problem? How to run Shaka Player demo locally?

Joey Parrish

unread,
Sep 20, 2016, 10:31:40 PM9/20/16
to Shaka Player Users
Hi Barmalei,

You can't use it with file:// URLs.  In general, there any many security restrictions and other issues with file:// for web development.  You must run a local web server and use http to access the demo.

Thanks,
Joey


--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/2fd13210-2bfc-450d-8851-867b77165559%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Barmalei

unread,
Sep 21, 2016, 6:11:28 AM9/21/16
to Shaka Player Users
Thanks a lot. I successfully run demo on a local server.

abhishek choudhary

unread,
Jun 28, 2017, 5:18:44 AM6/28/17
to Shaka Player Users


On Tuesday, September 20, 2016 at 5:48:27 PM UTC+5:30, Barmalei wrote:
Hi,

I want to find out the structure of mpd working in shaka player that works with adapatation module of shaka player.
 
How and where do i find it?

Jacob Trimble

unread,
Jun 29, 2017, 1:14:19 PM6/29/17
to shaka-pla...@googlegroups.com
To be able to use adaptation requires multiple video streams with different bitrates.  Usually you will specify multiple sources to your packager and it will generate the manifest using those bitrates.

We have a number of test assets that are playable in the demo (https://shaka-player-demo.appspot.com).  Most of them have multiple bitrates to allow adaptation.  You can open the manifests manually by looking at the bottom of the list in https://github.com/google/shaka-player/blob/master/demo/common/assets.js.

--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages