Flowplayer works only on the local host. Not working on server

I have a little problem setting flowplayer to the right. When I worked on localhost, everything seemed to work fine, but when I copied my site to the server, the player would not load properly.

The anchor tag has been changed to set parameters and is populated with an object tag, but nothing is displayed. Interestingly, when part of the page with the streaming player is behind the firebug or browser, the size changes and the player loads correctly. How can I solve this problem?

I load the player using this code:

$(document).ready(function() { $f("movie", {src: "public/flash/flowplayer.swf", wmode: "transparent"}, { clip: { autoPlay: false, autoBuffering: true } } ); }); 
+4
source share
1 answer

make htaccess file in the same folder as your player

Options +FollowSymLinks
RewriteEngine on
RewriteRule . - [E=no-gzip:1]

who worked for me.

+6
source

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


All Articles