![]() |
.swf files and CI (SOLVED) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: .swf files and CI (SOLVED) (/showthread.php?tid=40391) |
.swf files and CI (SOLVED) - El Forum - 04-07-2011 [eluser]miramichi[/eluser] Does anyone have a solution? I can't get my flash movies to play in CI. All the Flash files are in a folder at the root level. The embed/object code below works fine when I upload it to another site (non-CI). To see this in action got to miramichi dot ca, and click on the video links. The image link goes off site and works. The text link tries to open the view below, and fails. If you think the solution is .htaccess, please post an example. Controller code: Code: class Video extends Controller View Code: Code: [removed][removed] .swf files and CI (SOLVED) - El Forum - 04-07-2011 [eluser]miramichi[/eluser] This problem was solved by adding this to my .htaccess: RewriteEngine On RewriteCond $1 !^(index\.php|Flash) RewriteRule ^(.*)$ index.php?/$1 [L] |