I stream my videos with the streamer.php script. I have a playlist and if I click on the video It is asking me to download the file. As far as I know the coding of the html playlist and the javascript of the flowplayer and the configuration of the streamer.php script is correct. Maybe someone can look at it:
$(function() {
// setup scrolling for the playlist elements
$("div.playlist").scrollable({
items:'div.clips',
vertical:true,
next:'a.down',
prev:'a.up'
});
// setup player
$f("player", "/movieplayer/flowplayer-3.1.3.swf", {
clip: {
baseUrl: 'http://kako.homedns.org/web/',
scaling: "orig",
autoPlay: "false",
autoBuffering: true
}
});
config={ streamingServer: 'lighttpd'
.playlist("div.clips")
}
// show playlist buttons in controlbar
plugins: {
controls: {
playlist: true
}
}
});
<div style="float:left;width:190px">
<a class="go up"></a>
<div class="playlist">
<div class="clips low">
<a href="streamer.php/movie1.flv" class="first">
Notorious <br />
<em></em>
</a>
<a href="streamer.php/Movie2.flv">
The Uninvited <br />
<em></em>
</a>
<a href="streamer.php/Movie3.flv">
The Right Temptation <br />
<em></em>
</a>
<a href="streamer.php/Movie4.flv">
State of Play <br />
<em></em>
</a>
<a href="streamer.php/Movie5.flv">
Shuttle <br />
<em></em>
</a>
</div>
</div>
<a class="go down"></a>
</div>
<a id="player" class="player" style="float:left;margin-top:25px">
<img src="/web/images/play.png" />
</a>
streamer.php configuration: The file is placed in the root of my
website web and the movies are placed in the
directory movies:
// points to server root
define('XMOOV_PATH_ROOT', '/web');
// points to the folder containing the video files. Should start and end with '/'
define('XMOOV_PATH_FILES', '/movies/');