JavaFx MediaPlayer via HTTPS

Posted by LMA on Stack Overflow See other posts from Stack Overflow or by LMA
Published on 2010-04-16T19:02:23Z Indexed on 2010/04/17 4:13 UTC
Read the original article Hit count: 172

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about javafx

Related posts about https