⬆️ ⬇️

Flowplayer and Internet Explorer (IE)

Problem



I put Flowplayer on the Agusha site here and faced the incomprehensible behavior of IE regarding this player. The first time I open the page is everything is OK (the video is loaded and played), and if you do refresh (f5), then a loading circle is spinning on a gray background and nothing happens.



Search



Googled for a long time on this topic, googled just an open topic on the forum of the player itself. He began to dig himself.

And dug



Decision



From the hypotheses there was only either player caching or movie caching. After the first experiment, it became clear that this is caching the player.

This is solved by stupidly banning caching. I did this by putting the following lines in .htaccess:

<IfModule mod_headers.c><br>

Header append Cache-Control "no-store, no-cache, must-revalidate"<br>

</IfModule><br>

<br>

# Expires<br>

<IfModule mod_expires.c><br>

ExpiresActive On<br>

ExpiresDefault "now"<br>

</IfModule>





')

Source: https://habr.com/ru/post/72588/



All Articles