{"id":170,"date":"2011-05-05T11:09:19","date_gmt":"2011-05-05T11:09:19","guid":{"rendered":"http:\/\/www.plugged.in\/?p=170"},"modified":"2011-05-05T11:09:19","modified_gmt":"2011-05-05T11:09:19","slug":"flv-doesnt-work-in-firefox-with-hotlink-protection","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/flv-doesnt-work-in-firefox-with-hotlink-protection\/","title":{"rendered":"FLV doesn&#8217;t work in Firefox with Hotlink Protection"},"content":{"rendered":"<p>I cannot get my flv files to load in Firefox but they work perfect in IE\u2026 My system is running apache.<br \/>\nFinally, I found out that the problem was related with the Hotlink Protection implemented by some hosts through the .htaccess file and the fact that Flash does not send the referrer and Firefox does not add it to the request.<br \/>\nAfter some research I found this workaround adding some lines in the .htaccess file:<\/p>\n<blockquote><p>RewriteEngine on<br \/>\nRewriteCond %{HTTP_REFERER} !^$<br \/>\nRewriteCond %{HTTP_REFERER} !^http(s)?:\/\/(www\\.)?yoursite.com [NC]\nRewriteRule \\.(jpg|jpeg|png|gif|flv)$ &#8211; [NC,F,L]<\/blockquote>\n<p>This solved my problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I cannot get my flv files to load in Firefox but they work perfect in IE\u2026 My system is running apache. Finally, I found out that the problem was related with the Hotlink Protection implemented by some hosts through the .htaccess file and the fact that Flash does not send the referrer and Firefox does [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[435],"tags":[],"yst_prominent_words":[],"class_list":["post-170","post","type-post","status-publish","format-standard","hentry","category-web-developer"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Cevdet Kaymaz","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/cevdet-kaymaz\/"},"uagb_comment_info":0,"uagb_excerpt":"I cannot get my flv files to load in Firefox but they work perfect in IE\u2026 My system is running apache. Finally, I found out that the problem was related with the Hotlink Protection implemented by some hosts through the .htaccess file and the fact that Flash does not send the referrer and Firefox does&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":0,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/170\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=170"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}