[/code]I've used a flash player to do this (since more people have flash than windows media player)
it looks like this
http://en.900ttr.com/media-gallery/14-mile-at-some-place.aspxwhat i've done is;
- I'm using this flash player:
http://www.jeroenwijering.com/?item=Flash_Video_Player- I'm uploading files to the site using a standard umbraco fileupload editorControl
- I've also written a httpHandler that stream the flv to the flashplayer so you get instand playback when the page loads. ;)
my template for the movie page looks like this:
Code:
<br style="clear: both;" />
<div id="player1" style="margin-left: 6px; margin-top: 20px;">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
</div>
<script type="text/javascript">
var FO = { movie:"/flvplayer.swf",width:"760",height:"420",majorversion:"8",build:"0",bgcolor:"#000000",
flashvars:"file=<?UMBRACO_GETITEM field="movie"/>&showdigits=true&autostart=true&frontcolor=0xe5e3c0&lightcolor=0xffd22c&backcolor=0x000000&overstretch=true" };
UFO.create(FO,"player1");
</script>
<br />
where movie is the alias of the fileUpload in umbraco
Code:
<?UMBRACO_GETITEM field="movie"/>
You have to add this inside web.config for the streaming to work...
Code:
<system.web>
.....
<httpHandlers>
<add verb="*" path="*.flv" type="FLVStreaming, FLVStreaming" />
</httpHandlers>
</system.web>
and you can get the httpHandler here:
http://en.900ttr.com/FLVStreaming.zip (unzip and drop the dll into the /bin folder)
you would also need the insert-flash-object-if-flash-is-supported-javascript-thingie here:
http://en.900ttr.com/js/ufo.js