- for live or on-demand,
- unlimited duration,
- around the world, even in challenging network conditions,
- multiple audio tracks,
- subtitle tracks,
- ads insertions, should this be needed,
- regional or local blackouts, should this be needed,
- timed interactive overlays,
- encryption for digital copy protection,
- restriction to urls allowed to play the video, should this be needed,
- any stronger restrictions based on authentication for instance.
- memory management by displaying images only in the view port,
- prefetch and cache images for a fast display,
- stronger resilience to difficult networks, especially for large pages,
- link an image to a future video or audio stream.
<link href="//cache.vuvideo.net/vuvideo.css" rel="stylesheet" />
<script src="//cache.vuvideo.net/vuvideo.js" ></script>
<!-- ... then your own and usual html code here, defines the body, etc. -->
<!-- ... and when ready, as it would be with a regular video tag: -->
<vuvideo-net src="STREAMURL" ></vuvideo-net>
<!-- STREAMURL would be the URL of the video to play, as made available by the cdn host. -->
<!-- ... then keep going with your usual html code here ... -->
In essence, just link the vuvideo.css stylesheet and instantiate the vuvideo.js script, which will define the tags. The tags can then be added to the page as usual when compared to regular <video>, <audio> or <img> tags.
With one little restriction though, which is due to browsers' parsers: the tags can not be self closing.
The css and js files can also be fetched from your own vucell.net server instead of cache.vuvideo.net.
The tags can be instantiated multiple times on the same page with different images or videos. Attributes can be used to add immediate customizations.
They also supports a javascript based programatic approach, also in a similar way as the usual <video>, <audio> or <img> tags.
Please check below for more integration and programming details.
Attention: because the video is DRM protected, the page will need to be accessed via https .
<html>
<head>
<link href="https://cache.vuvideo.net/vuvideo.css" rel="stylesheet" />
<script src="https://cache.vuvideo.net/vuvideo.js" ></script>
</head>
<body>
<vuvideo-net src="https://cdn.vuvideo.net/vusys/stream/1/file/000000/0000/demo/sample.webm" ></vuvideo-net>
</body>
</html>