configuring for video seeking? - using projekktor media player

Maxim Dounin mdounin at mdounin.ru
Fri May 9 01:46:46 UTC 2014


Hello!

On Thu, May 08, 2014 at 03:12:38PM -0400, ura wrote:

> i am creating a plugin for the elgg open source social networking framework,
> that adds the projekktor media player (http://www.projekktor.com/) to elgg.
> i am so far unable to get projekktor to seek video/audio files on the
> webserver (tested using nginx 1.5.13 + 1.7).
> i have asked on the projekktor forum and did not find a resolution there.
> 
> essentially, i have the mp4 and flv add-ons activated for nginx and i have
> added the following to my site's config:
> 
> 	# streamable mp4
>     location ~ .mp4$	
> 	{
> 		mp4;
> 		mp4_buffer_size 4M;
> 		mp4_max_buffer_size 20M;
> 		gzip off;
> 		gzip_static off;
> 		limit_rate_after 10m;
> 		limit_rate 1m;
> 	}
> 	
> 	# streamable flv
>     location ~ .flv$	
> 	{
> 		flv;
> 	}	
> 
> ...
> 
> i also looked enabling the pseudostreaming option for projekktor, however i
> was informed that i didn't need to do that via the projekktor forum and that
> if the server supported the appropriate streaming method then the player
> would use it.
> 
> does anyone know what i am missing here?

Quick look suggests projekktor is HTML5-based, and it don't need 
(and can't use) flash pseudo-streaming helpers.  As long as 
browser is able to use byte-range requests for HTML5 video 
seeking, it will do so.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list