tags:

views:

33

answers:

0

I'm trying to make applet-videoplayer, that takes video files from PHP script via https.

If source of data is httpS ://domain.com/1.flv - it works
httpS ://domain.com/view.php - it doesn't work
HTTP ://domain.com/view.php - it works again.

In php I make HTTP header, that contains:

Content-type: video/x-flv
Last-Modified: Wed, 14 Apr 2010 14:04:34 GMT
Accept-Ranges: bytes
Content-Length: 24693477

What else should I add in header to make it work?

If I use not mediaPlayer, but MediaBox from samples, it writes "Loading", and keeps "rolling" locading image