HTTP Psuedo Streaming
HD Webplayer is still trying to better this Examples section. Mail your ideas to admin@hdwebplayer.com
Overview
HTTP Pseudostreaming does not work by default on any webserver. A serverside module is needed to enable it. Here are the two most widely used (and open source) modules for this:
- The H264 streaming module for Apache, Lighttpd, IIS and NginX. It supports MP4 videos.
- The FLV streaming module for Lighttpd. It supports FLV videos.
In addition to using a serverside module, pseudostreaming can be enabled by using a serverside script (in e.g. PHP or .NET) and http property with HD Webplayer. We do not advise this, since such a script consumes a lot of resources, has security implications and can only be used with FLV files.
Required Properties
type - lighttpd
video - Video URL
Code
<html>
<head>
<title>Sample Integration</title>
<script src="player/js/hdwebplayer.js"></script>
</head>
<body>
<div id="player"></div>
<script>
hdwebplayer({
id : 'player',
swf : 'player/player.swf',
width : '705',
height : '400',
type : 'lighttpd',
video : 'http://h264-demo.code-shop.com/demo/apache/tee-bakom-pod.mp4',
autoStart : 'true'
});
</script>
</body>
</html>
Example
What Next ? RTMP Streaming

