diff --git a/docker/showerloop/public/.htaccess b/docker/showerloop/public/.htaccess index 0519ecb..b80b4be 100644 --- a/docker/showerloop/public/.htaccess +++ b/docker/showerloop/public/.htaccess @@ -1 +1,11 @@ - \ No newline at end of file +# Set proper MIME type for HLS video streaming files +AddType application/x-mpegURL .m3u8 +AddType application/vnd.apple.mpegurl .m3u8 +AddType video/MP2T .ts + +# Enable CORS for video files + + Header set Access-Control-Allow-Origin "*" + Header set Access-Control-Allow-Methods "GET, OPTIONS" + Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept" + \ No newline at end of file