Bonjour,

Je développe une application offline en HTML5 actuellement qui marche très bien sous chrome. Le problème, c'est que sous iPad avec Safari, je ne peut pas m'en servir pour la raison suivante :

Citation Envoyé par La Console très méchante de Safari
Application Cache manifest had an incorrect MIME type: text/plain
J'ai suivit un tât de conseil, de tuto, d'explication, je me suis bouffé des tone de discution en anglais, japonais et je ne sais plus trop quoi encore, toujours est-il que : ÇA NE MARCHE PAS !

Voici mon .htaccess :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
AddType text/cache-manifest .manifest
AddType video/mp4 .mp4
<Files site.manifest>
ExpiresActive On
ExpiresDefault "access"
</Files>
Mon manifest :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
 
CACHE MANIFEST
# Version 0.1
 
CACHE:
index.html
page/video.html
css/jqueryMobile.css
css/colorbox.css
css/mediaelementplayer.css
css/matrice.css
js/jquery.js
js/jqueryMobile.js
js/colorbox.js
js/mediaelement-and-player.js
js/menu.js
js/sql.js
imports/EurailtestLogo.png
imports/flashmediaelement.swf
imports/db.json
img/loader.gif
img/pdf.png
img/video.png
img/video/background.png
img/video/bigplay.png
img/video/loading.gif
img/video/controls.png
img/video/controls-ted.png
img/video/controls-wmp.png
img/video/controls-wmp-bg.png
img/mobile/ajax-loader.gif
img/mobile/ajax-loader.png
img/mobile/icons-18-white.png
img/mobile/icons-18-black.png
img/mobile/icons-36-white.png
img/mobile/icons-36-black.png
img/colorbox/border.png
img/colorbox/controls.png
img/colorbox/loading.gif
img/colorbox/loading_background.png
img/colorbox/overlay.png
img/colorbox/ie6/borderBottomCenter.png
img/colorbox/ie6/borderBottomLeft.png
img/colorbox/ie6/borderBottomRight.png
img/colorbox/ie6/borderMiddleLeft.png
img/colorbox/ie6/borderMiddleRight.png
img/colorbox/ie6/borderTopCenter.png
img/colorbox/ie6/borderTopLeft.png
img/colorbox/ie6/borderTopRight.png
 
NETWORK:
*
 
FALLBACK:
Et mon HTML :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
 
<!DOCTYPE html>
<html manifest="site.manifest">
<head>
	<title>...</title>
        <meta charset="utf-8">
	...
</head>
<body>
...
</body>
</html>
Chrome me retourne sur sa console les messages suivant :
Citation Envoyé par La Console super gentille de Chrome
Creating Application Cache with manifest http://site.internet/site.manifest
Application Cache Checking event
Application Cache Downloading event
Application Cache Progress event (0 of 44) http://site.internet/index.html
Application Cache Progress event (1 of 44) http://site.internet/img/colorbox/controls.png
Application Cache Progress event (2 of 44) http://site.internet/img/colorbox/ie...erTopRight.png
Application Cache Progress event (3 of 44) http://site.internet/img/colorbox/ie...MiddleLeft.png
Application Cache Progress event (4 of 44) http://site.internet/css/colorbox.css
Application Cache Progress event (5 of 44) http://site.internet/img/colorbox/ie...ottomRight.png
Application Cache Progress event (6 of 44) http://site.internet/img/pdf.png
Application Cache Progress event (7 of 44) http://site.internet/img/colorbox/ie...rTopCenter.png
Application Cache Progress event (8 of 44) http://site.internet/img/video/controls-ted.png
Application Cache Progress event (9 of 44) http://site.internet/img/video/bigplay.png
Application Cache Progress event (10 of 44) http://site.internet/img/mobile/icons-18-white.png
Application Cache Progress event (11 of 44) http://site.internet/img/colorbox/ie...BottomLeft.png
Application Cache Progress event (12 of 44) http://site.internet/js/jquery.js
Application Cache Progress event (13 of 44) http://site.internet/img/colorbox/ie6/borderTopLeft.png
Application Cache Progress event (14 of 44) http://site.internet/css/matrice.css
Application Cache Progress event (15 of 44) http://site.internet/img/mobile/icons-36-white.png
Application Cache Progress event (16 of 44) http://site.internet/img/loader.gif
Application Cache Progress event (17 of 44) http://site.internet/img/mobile/icons-36-black.png
Application Cache Progress event (18 of 44) http://site.internet/css/mediaelementplayer.css
Application Cache Progress event (19 of 44) http://site.internet/img/colorbox/border.png
Application Cache Progress event (20 of 44) http://site.internet/img/colorbox/loading.gif
Application Cache Progress event (21 of 44) http://site.internet/js/sql.js
Application Cache Progress event (22 of 44) http://site.internet/img/video/controls-wmp-bg.png
Application Cache Progress event (23 of 44) http://site.internet/img/colorbox/ie...iddleRight.png
Application Cache Progress event (24 of 44) http://site.internet/img/mobile/ajax-loader.png
Application Cache Progress event (25 of 44) http://site.internet/js/colorbox.js
Application Cache Progress event (26 of 44) http://site.internet/img/mobile/ajax-loader.gif
Application Cache Progress event (27 of 44) http://site.internet/imports/EurailtestLogo.png
Application Cache Progress event (28 of 44) http://site.internet/img/video/background.png
Application Cache Progress event (29 of 44) http://site.internet/imports/flashmediaelement.swf
Application Cache Progress event (30 of 44) http://site.internet/js/mediaelement-and-player.js
Application Cache Progress event (31 of 44) http://site.internet/imports/db.json
Application Cache Progress event (32 of 44) http://site.internet/page/video.html
Application Cache Progress event (33 of 44) http://site.internet/js/jqueryMobile.js
Application Cache Progress event (34 of 44) http://site.internet/img/colorbox/lo...background.png
Application Cache Progress event (35 of 44) http://site.internet/img/video/controls.png
Application Cache Progress event (36 of 44) http://site.internet/js/menu.js
Application Cache Progress event (37 of 44) http://site.internet/img/video/controls-wmp.png
Application Cache Progress event (38 of 44) http://site.internet/img/colorbox/ie...ttomCenter.png
Application Cache Progress event (39 of 44) http://site.internet/css/jqueryMobile.css
Application Cache Progress event (40 of 44) http://site.internet/img/colorbox/overlay.png
Application Cache Progress event (41 of 44) http://site.internet/img/mobile/icons-18-black.png
Application Cache Progress event (42 of 44) http://site.internet/img/video/loading.gif
Application Cache Progress event (43 of 44) http://site.internet/img/video.png
Application Cache Progress event (44 of 44)
Application Cache Cached event
Quelqu'un aurait-il la moindre idée de ce qu'il se passe ? Je suis sur ce problème depuis une semaine et ça commence sérieusement à me...saouler.