Skip to content

Instantly share code, notes, and snippets.

@mohanjith
Last active June 26, 2019 00:26
Show Gist options
  • Save mohanjith/1f6b169c5bd69bc6f34013b7e599dd49 to your computer and use it in GitHub Desktop.
Save mohanjith/1f6b169c5bd69bc6f34013b7e599dd49 to your computer and use it in GitHub Desktop.
<video-js id="dalsbruk-vierassatama-live" class="video-js vjs-default-skin vjs-16-9 vjs-big-play-centered" controls poster="https://stream.pilvimies.fi/dalsbruk/vierassatama/index.jpg?v1" width="555" >
<source src="https://stream.pilvimies.fi/dalsbruk/vierassatama/index.m3u8" type="application/x-mpegURL" >
<source src="https://stream.pilvimies.fi/dalsbruk/vierassatama/index.mpd" type="application/dash+xml" >
</video-js>
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.5.4/alt/video.core.min.js"></script>
<script src="https://unpkg.com/@videojs/http-streaming/dist/videojs-http-streaming.js"></script>
<script>
var _pmvs_linkElement = document.createElement("link");
_pmvs_linkElement.rel = "stylesheet";
_pmvs_linkElement.href = "https://cdnjs.cloudflare.com/ajax/libs/video.js/7.5.4/video-js.css";
document.head.appendChild(_pmvs_linkElement);
var player = videojs('dalsbruk-vierassatama-live');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment