Where to put Flash component skin |
[eluser]hht1230[/eluser]
I have a page with controller=board.php (in controllers folder) loading view board/video_view.php (in views folder). video_view.php has a video-playing swf embedded in it. That swf requires a particular skin swf to be present to show proper video controls. Normally, the skin swf needs to be in the same folder as the html page in which the video-playing swf is embedded. But it doesn't work if I put it in views/board, or in views, or in controllers (a desperation move), or in the root (pointed to by base_url). The video-playing swf shows up fine in the page but the video control (which is dependent on the skin swf) does not. Any ideas on what is the correct location for this file?
[eluser]hht1230[/eluser]
Just as a followup, this is a page outside CI that works: works structure: root videotest.html ClearOverAll.swf (skin swf) videos folder -- newyear2.swf (video swf) -- videos/newyear2.flv (flv being loaded by swf) and this is the page in CI that skins don't show up for: doesn't work structure: root system/app/controllers folder -- board.php system/app/views folder -- board folder ---- video_view.php videos folder (same as above) the question is where to put ClearOverAll.swf in the 2nd case. |
Welcome Guest, Not a member yet? Register Sign In |