Loading Flash Files

eparada / 2012-06-14 15:17:32   

Hi, Im having trouble loading .swf files. (I havent tried video files yet, so I'll get to that next)
I loaded two .swfs and attached covers, put in captions and sizes. When Im loading it, and I click "view source file" it works fine, but when I view the site, they never load.

The status bar at the bottom of the browser says it should be in files/gimgs. but when I go to the server, its not in there. I took the swf, added the "18_" to the beginning of the filename like it said in the status bar and put it into the gimgs folder manually. now it shows just an outline of a missing link.

but if you go to the link straight through the browser, it works fine:
ernieparada.com/indexhibit2/files/gimgs/…)

here is the link:
ernieparada.com/indexhibit2/digital/sears-digital-crhistmas-card/

thank you for your help! im getting closer!

eparada / 2012-06-18 13:58:41   

Hi guys, when you guys find a free moment, if you could please help me out with .swfs that would be great. I cant believe that no one else has tried to load a flash file yet though...

thanks!

Vaska A / 2012-06-18 14:17:18   

Shoot, I see the problem there - it's a format issue/bug. I'll add it to the list and try to get to it quickly. Sorry about that...

eparada / 2012-06-18 14:31:15   

thanks for the response! any advice on the movement of the nav when you open a menu?? those are my two big issues.

eparada / 2012-06-21 15:24:32   

can you please give me a time estimate on when these two issues will be resolved?
I need to keep moving, and these are the only two things in my way so far.
please let me know.

eparada / 2012-06-26 13:54:11   

guys, trying to be understanding and patient here, but no one is getting back. This has been going on for two weeks. can someone please give me some idea of what to do, or at least when you can give me some idea of what to do?

eparada / 2012-07-08 23:29:22   

GUYS. IS anyone going to answer this? your quick to comment when someone posts too many times, but no response? how patient does one have to be? all im asking for is some sort of response. not a big thing here - flash files dont work. it worked in my last indexhibit for 5 years. whats up?

bipster / 2012-07-09 08:20:56   

Have you tried to update your Indexhibit install to the 2.0.1 version released a few days ago? Maybe this fixes your issues.

xikki / 2012-11-19 21:10:57   

seems that the issue has not been solved yet. i am having the same problem here, with the 2.0.1. version. swf files just wont show up. instead, i am getting empty screen with words "yep" ?!

xikki / 2012-11-25 10:08:24   

hello... it would be nice if someone would update us on this issue... i understand that there is a lot of questions, but it is not really ok to say that something is going to be resolved "in a few weeks", and then not respond for months... would be more fair just to say- we dont know when we are going to resolve it.

Vaska A / 2012-11-25 14:05:57   

This one slipped by me. I'll post the solution tomorrow - it's not so complicated.

;)

xikki / 2012-11-25 16:57:21   

great! tnx

Vaska A / 2012-11-26 03:14:44   

There are two problems here with the code that is driving that output. And, because it's an SWF file (and not an image or movie file per se), you must attach a cover image after you upload the file - the tool to do this is found when you are editing the file width/height/title/caption/etc.

We need to update two files:

1. /ndxzsite/plugin/plugin.formats.php in the swf function around line 141 it should be edited like this:

  1. // our helper js files
  2. $OBJ->lib_class('page');
  3. $OBJ->page->add_lib_js('swfobject.js', 21);

2. /ndxzsite/plugin/format.visual_index.php around line 552 add the following:

  1. // flash check
  2. if (in_array($go['media_mime'], $default['flash']))
  3. {
  4.     $OBJ->page->add_lib_js('swfobject.js', 21);
  5. }

And this should do the trick. Now, there might be some other formats that need small adjustments but this one covers visual index.

xikki / 2012-11-26 10:52:52   

Did what you said, and it still doesn't work... Maybe i changed the wrong line of the php... I tried changing different lines (since they are all similar there, around the line 141...) but nothing...

My page is ostudio.hr

The section i uploaded the swf file:

ostudio.hr/index.php/projects/lklp-2006/

Vaska A / 2012-11-26 13:10:26   

I don't think you added the second part properly because the call to swfobject.js is clearly not in the output for your page.

Vaska A / 2012-11-26 13:10:53   

Your site is looking great by the way... ;)

xikki / 2012-11-26 14:31:08   

tnx!
i am still struggling with this piece of code, can't seem to put it in the right place. will keep on trying, though!

mcastanos / 2012-12-01 20:15:00   

Hi xikki, I'm having the same difficulty loading flash content on my site, even with the suggested additions to the code in plugin.formats.php and format.visual_index.php.
Wondering what you did to resolve the issue.

xikki / 2012-12-02 09:50:05   

hi mcastanos. actually, i gave up (for the time-being) of loading the swf files like exhibits. i was unable to use the above mentioned code properly, so i decided to put the flash in the text area. for what i wanted it's even better, because in that way i dont need a cover for the file, so the animation is immediatelly visible without clicking on it.
check out the page where i did it like that:
ostudio.hr/index.php/projects/lklp-2006/

This thread has been closed, thank you.