event.progress event.canplaythrough not fired in Safari (server)

974 views
Skip to first unread message

avision

unread,
Feb 7, 2012, 11:28:58 AM2/7/12
to jpl...@googlegroups.com
Hello and my thanks again for this great player,

the events canplaythrough and progress and IMO all events related to load-progress are not fired in Safari if the files are on the webserver.

If played locally everything works fine.

What could the reason be?

Thanks in advance,
Alex

Dustin Blake

unread,
Feb 9, 2012, 8:42:54 AM2/9/12
to jpl...@googlegroups.com
The web server may need to support byte-range requests, also is the web server supporting the proper mime-types?

avision

unread,
Feb 9, 2012, 9:00:38 AM2/9/12
to jpl...@googlegroups.com
Yes mime-types sind gesetzt.

This is the Server-Response-Header:

Connect to 194.6.192.23 on port 80 ... ok

GET / HTTP/1.0[CRLF]
Host: www.janvonborstel.com[CRLF]
Connection: close[CRLF]
User-Agent: Web-sniffer/1.0.37 (+http://web-sniffer.net/)[CRLF]
Accept-Encoding: gzip[CRLF]
Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7[CRLF]
Cache-Control: no-cache[CRLF]
Accept-Language: de,en;q=0.7,en-us;q=0.3[CRLF]
Referer: http://web-sniffer.net/[CRLF]

There should be Accept-Range too, right?

Thanks and my best regards,
Alex

avision

unread,
Feb 9, 2012, 9:13:36 AM2/9/12
to jpl...@googlegroups.com
Ok, sorry here a Header for a video:

Date: Thu, 09 Feb 2012 14:02:59 GMT
Server: Apache
Last-Modified: Thu, 02 Feb 2012 08:13:20 GMT
Etag: "592108-4bbb20-4b7f6c4e4a800"
Accept-Ranges: bytes
Content-Length: 4963104
Content-Type: video/ogg

200 OK

URL: http://www.janvonborstel.com/jvb2012/preview/videos/Armani_EPH.ogv
For Safari:
http://www.janvonborstel.com/jvb2012/preview/videos/Armani_EPH.m4v

.htaccess
AddType audio/mpeg mp3
AddType audio/mp4 m4a
AddType audio/ogg ogg
AddType audio/ogg oga
AddType audio/webm webma
AddType audio/wav wav
 
AddType video/mp4 mp4
AddType video/mp4 m4v
AddType video/ogg ogv
AddType video/webm webm
AddType video/webm webmv

Lanny McNie

unread,
Mar 11, 2012, 11:41:15 PM3/11/12
to jpl...@googlegroups.com
I had this same issue, and it turned out to be an .htacess folder that was protecting the directory. All the other browsers I tested in worked fine, but Safari would not serve the resource.

Hopefully this helps someone else that runs into this issue.
Reply all
Reply to author
Forward
0 new messages