Locandine - STUDI ALTI

Vai ai contenuti

Locandine

REDAZIONE
VideoJS HTTP Streaming

VideoJS HTTP Streaming

videojs-http-streaming lets you use a single format and deliver adaptive streaming video to all major desktop and mobile browsers.

Getting Started

Download videojs-http-streaming and include it in your page alongside video.js:

<video-js id=example-video width=960 height=540 class="vjs-default-skin" controls>
						  <source
						     src="https://example.com/index.m3u8"
						     type="application/x-mpegURL">
						</video-js>
						<script src="video.js"></script>
						<script src="videojs-http-streaming.js"></script>
						<script>
						var player = videojs('example-video');
						player.play();
						</script>

Or just check out the source of this page!

Torna ai contenuti