question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

hosting content locally for testing

See original GitHub issue

Have you read the FAQ and checked for duplicate open issues?: Yes

What version of Shaka Player are you using?: 2.4

Can you reproduce the issue with our latest release version?: Yes

Can you reproduce the issue with the latest code from master?:

Are you using the demo app or your own custom app?: Demo app. But using my own .mpd file which was made from .mp4 using mp4box

If custom app, can you reproduce the issue using our demo app?:

What browser and OS are you using?: Browser : Chrome. OS: Windows 10

What are the manifest and license server URIs?:

What did you do? I have a video file (.mp4) in my system in C drive i have converted it into .mpd using mp4box and i copy-pasted the .mpd file path in javascript var manifest = “” variable.

What did you expect to happen? I expected that the video would play

What actually happened? Error 1000 in console was the output.

Can you please tell me where and how to put these .mpd files so that they would get played on the browser

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
joeyparrishcommented, Oct 30, 2018

For N videos, you would need N MPD files. But you can easily create one HTML & JS page with N video elements and N instances of Shaka Player controlling them.

Does that help?

2reactions
vaagecommented, Oct 30, 2018

Yup. Just run python -m SimpleHTTPServer 8000 in a directory that contains both the content and the demo. Then you should be able to go to localhost:8000 and browser until you find the demo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you set up a local testing server? - MDN Web Docs
Running a simple local HTTP server · Install Python. · Open your command prompt (Windows) / terminal (macOS/ Linux). · This should return...
Read more >
How to Host a Website for Beginners (Locally and/or Publicly)
1. Determine the best type of hosting for your site · 2. Examine additional features available from various providers · 3. Look at...
Read more >
How to Use IIS to Host a Website Locally on Windows
From the options in the menu, select Add Website, to open the configuration window: · Add a name to the Site name, such...
Read more >
Testing your website with a local hosts file | Network Dynamics
Testing your website with a local hosts file. A hosts file is used to map hostnames (ie. google.com) to IP addresses (ie. 216.58.199.78) ......
Read more >
Why You Need a Local Testing Server (and How To Do It)
First, set up your necessary database using phpMyAdmin. The database will require a user with all the permissions to modify that database. Then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found