Safari html5 video mp4 not playing in htaccess folder, [duplicate]

一笑奈何 提交于 2019-12-05 12:58:03

Try using below code

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
AddType video/ogg .ogv
AddType video/ogg .ogg
AddType video/mp4 .mp4
AddType video/webm .webm
AddType application/x-shockwave-flash swf

after a few more hours still haven t found a real solution... but for my case im using following tag in my .htaccess file:

<FilesMatch mp4>
Satisfy any
order allow,deny
allow from all
</FilesMatch>

the files are now directly accessible even for user without the htaccess password. this is not really a solution, but for my case ok, since it is a private page.

still anyone better ideas?!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!