[MPlayer-users] Syntax for cued play in html

David Liontooth liontooth at cogweb.net
Sun Feb 18 08:51:24 CET 2007


On an html page with thumbnails of video files, I would like to link
videos to the thumbnails and give start times for play.

mplayer uses -ss, so let's say I want "mplayer <file> -ss 00:04:00". In
the html, I give just the video file name as a link -- along the lines of

<a href="file:///tna/2007-02-09_2300_Late_News.avi"><img
src="http://cogweb.net/liontooth/thumb.jpg"></a>

When I click on the thumbnail, mplayer starts by default and plays the
video from the beginning, in a separate window (not embedded). This
works fine.

But how do I pass the -ss argument and its value through the browser?

Dave



More information about the MPlayer-users mailing list