Actually this is already possible. I use umedia streamer and enter something like: ums://films/movie.filename.avi in the URL field of the database.watcher wrote:I have a simple WB script which allow me to start video stream by using WM encoder 9 from command line. When stream is active , I can connect to it by typing mms://etc.. in WMP URL field. Is that posible somehow to make that process working automatically in your template. It might be looking as follow:
After mouse click on movie cover image, user have a choice to watch movie as a direct connect to file, or as a stream via WM encoder.
I am not a programmer, but I feel it should not be too complicated as my script has only 8-9 lines of code.
That addition will make your template BEST of the BEST.
When you give your exact command in this field then the following line in the layout file can associate it with a click on the image to start streaming.
Code: Select all
<img src="datapath+movie.getAttribute('Picture')" class="film" width="100" height="140" url="movie.getAttribute('URL')" target="" title="'Play '+movie.getAttribute('OriginalTitle')"/>