오래전 이야기/lighttpd

LIGHTTPD FLV PROBLEM WITH IE 6 AND IE7

리눅스 엔지니어였던 2008. 12. 1. 15:57

Josh Chesarek

------------------------------------------------------------------------------------------------------
I was having this same issue but after adding the

"
We ran into this just today. Adding this to the lighttpd config fixed
it for us:

# Internet Explorer doesn't like FLVs being served with a MIME type
# of "application/octet-stream" which is the default
$HTTP["useragent"] =~ "MSIE" {
mimetype.assign += ( ".flv" => "video/x-flv" )
}

Perry

"

It does seemed to be solved on the 2 PCs I tested on. Will do more testing when I get home to IE7

30.06.2008Konda

Great, I can confirm as well that the Mime-type solution DOES work. We now placed it above all other definitions instead of below them and it does ineed fix the problem wink

Thanks everyone!

------------------------------------------------------------------------------------------------------
Konda

Cause:
Internet Explorer doesn't like FLVs being served with a MIME type of "application/octet-stream" which is the default

Solution, add the folowing to the lighttpd config (above any other definitions):

$HTTP["useragent"] =~ "MSIE" {
mimetype.assign += ( ".flv" => "video/x-flv" )
}

------------------------------------------------------------------------------------------------------
14.07.2008
twi

this fixed it for me too. IE7 / Vista / lighttpd streaming

I additionally had to add

".mp4" => "video/mpeg",

since MP4 files had the same issues for me.

------------------------------------------------------------------------------------------------------
15.07.2008
Josh Chesarek

FYI:

The mimetype is not video/mpeg

http://www.rfc-archive.org/getrfc.php?rfc=4337

it's video/mp4

===================================================
<출처 : http://www.jeroenwijering.com/?thread=11178 >