Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eyevinn/docker-html5player
A Docker containerized HTML5 player based on Shaka Player
https://github.com/eyevinn/docker-html5player
Last synced: 4 days ago
JSON representation
A Docker containerized HTML5 player based on Shaka Player
- Host: GitHub
- URL: https://github.com/eyevinn/docker-html5player
- Owner: Eyevinn
- Created: 2017-06-10T09:49:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-18T09:49:52.000Z (over 7 years ago)
- Last Synced: 2024-11-08T03:36:34.508Z (5 days ago)
- Language: JavaScript
- Size: 478 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A Docker Container containing a web application for streaming a video. The HTML5 video player is based on
Shaka Player.# Example
To spin up a web application on port 3000 for a video stream at `http://www.example.com/example.mpd` run the
following command:```
docker run -e "SOURCE=http://www.example.com/example.mpd" -p 3000:80 eyevinntechnology/html5player:0.0.2
```Then point your browser to "http://localhost:3000/"
# Eyevinn HTML5 Player
The Eyevinn HTML5 player is a Javascript player that provides a skin with player controllers on top of Shaka Player.
## Example code
```
document.addEventListener('DOMContentLoaded', function(ev) {
var playerElement = document.getElementById('player-container');
var player = new EyevinnPlayer(playerElement, 'https://lab.eyevinn.technology/webm/tos/tearsofsteel.mpd');
player.init();
});
```