This is an old revision of the document!


MP4/H264/F4V Video Streaming

Since 4.1RC2, LSWS support streaming of MP4/H264/F4V video files with random seek.

To enable the feature, make sure file with suffix “.mp4” or “.f4v” has a MIME type of “video/mp4”.

the MIME settings file is /path/to/lsws/conf/mime.properties, or you can view/edit it in web admin console:

Server-->General-->MIME Settings
Suffix: f4v,mp4
Mime Type: video/mp4

It is very simple and straightforward to test this using JW Player 5.2:

<embed
      flashvars="file=yourvideo.mp4&provider=http&http.startparam=start"
      id="player2" name="player2"
      width="320" height="240"
      src="player.swf"
      allowfullscreen="true"
      allowscriptaccess="always"
      wmode="transparent"
/>
  • Admin
  • Last modified: 2015/08/11 18:59
  • by Michael Alegre