Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Adobe Flash 11

SWF and Wordpress

Alternative to ShiVa's Web Player

SWF and Wordpress

Postby Danka00 » 12 Aug 2012, 22:08

Hi, do you know if it's possible to embed SWF files created with Shiva in WordPress? I know how to embed traditional SWF files, but how does it work with Shiva's ones? It seems like 'mySwf_Loader.swf' can't find 'mySwf.swf'.
Thank you for your help!

PS: I've not a great experience as a web editor so forgive me if it's a silly question :)
Danka00
Platinum Boarder
Platinum Boarder
 
Posts: 326

Re: SWF and Wordpress

Postby NiCoX » 12 Aug 2012, 23:39

Hi,

First of all, ShiVa generated SWF files are nothing but regular SWF files :)

Now, about your problem, same for me, I'm not a web expert, but I think it may be related to the relative path. Suggest you to create your own loader, by modifying the generated sources when you create a Flash "project".
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5647
Location: France

Re: SWF and Wordpress

Postby Danka00 » 12 Aug 2012, 23:49

Ok,thanks! I'll try and I'll let you know :)

PS: Do you know if it's possible to run the SWF main file without loader?
Danka00
Platinum Boarder
Platinum Boarder
 
Posts: 326

Re: SWF and Wordpress

Postby makkar » 13 Aug 2012, 07:45

Hi, do you know if it's possible to embed SWF files created with Shiva in WordPress?

You may just keep your Shiva Flash folders somewhere on your webspace, and do not try to integrate them fully with Wordpress. Then you can simply show your Flash content in a lightbox overlay by displaying the generated html content.
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1516

Re: SWF and Wordpress

Postby NiCoX » 13 Aug 2012, 09:20

PS: Do you know if it's possible to run the SWF main file without loader?

Yes, the loader is totally optional. But "a loader" is recommended ;)
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5647
Location: France

Re: SWF and Wordpress

Postby Danka00 » 14 Aug 2012, 09:40

@Nicox
Thank you, If I try to insert only the main SWF I see only a black screen, maybe I have to generate a file from the flash project?In that case I'll simply change the path of the main file, as you suggested, keeping the loader that however I like :)

@makkar
Hi, I've tried in this way :
Uploaded shiva's flash export files in 'Media' category in Wordpress, then I've created a new page and pasted the HTML content of the automatic generated webpage by the UAT, I've changed the path of the files in the HTML code pasting the paths of the uploaded files in wordpress. If I try to preview the page, the loader appears, but the loading bar stands still, doesn't animate.
Any suggestion? Thank you very much!
Danka00
Platinum Boarder
Platinum Boarder
 
Posts: 326

Re: SWF and Wordpress

Postby makkar » 14 Aug 2012, 10:57

I never use the Wordpress media manager to handle Shiva files. I just upload with ftp the folder, so it works like that the same way as locally. Then I display the html file in a lightbox as inline html content.

But if you really need to embed the Flash content, you can try to do it wit ha plugin ( I never tried it myself):
http://wordpress.org/extend/plugins/search.php?q=flash+embed

And you have numerous lightbox plugins, too:
http://wordpress.org/extend/plugins/search.php?q=lightbox&sort=
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1516

Re: SWF and Wordpress

Postby Danka00 » 14 Aug 2012, 11:59

Ok, thanks I'll try this 'lightbox' solution :)
Danka00
Platinum Boarder
Platinum Boarder
 
Posts: 326

Re: SWF and Wordpress

Postby Shaderman » 21 Nov 2012, 11:57

Hey guys, I'm stuck here, too. I tried to embed the html file with several lightbox plugins without success. I think that those lightbox plugins I tried don't work with the current wordpress version.

@makkar, could you please tell me which lightbox plugin you're using?

@Danka00 did you have success? Would you mind explaining how you made it?
User avatar
Shaderman
Platinum Boarder
Platinum Boarder
 
Posts: 606
Location: Heidelberg, Germany

Re: SWF and Wordpress

Postby makkar » 21 Nov 2012, 13:56

I don't use a plugin, but my lightboy was included with my Wordpress template code. I did make some modifications, but mainly regarding window sizes.

Mine is integrated into the template, based on the original:
http://fancybox.net/

Did you try with this plugin or similar?
http://wordpress.org/extend/plugins/fancybox-for-wordpress/
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1516

Re: SWF and Wordpress

Postby Shaderman » 21 Nov 2012, 14:29

Thanks a lot makkar,

there are dozens of wordpress lightbox plugins out there and I tested about 4 or 5 of them without success. I'll try that fancybox plugin, thanks a lot!
User avatar
Shaderman
Platinum Boarder
Platinum Boarder
 
Posts: 606
Location: Heidelberg, Germany

Re: SWF and Wordpress

Postby Danka00 » 21 Nov 2012, 16:56

Hi Shaderman, I've tried lightbox but didn't succeed, then, if I remember well, I made it changing the main path in Flash ( you typically have two flash files, a loader and your main shockwave file, the loader calls your main file, so my problem was that loader called the path automatically generated by the UAT that wasn't right for me, I needed the path of my file as shown in wordpress media file path).
Just used a flash plugin and it worked ( naturally I had to say goodbye to 'lightbox' appearing effect ).
Hope this can help :-)
Danka00
Platinum Boarder
Platinum Boarder
 
Posts: 326

Re: SWF and Wordpress

Postby Shaderman » 21 Nov 2012, 17:10

Thanks for the information Danka00! I'll see if I can get it working in the next days and will report back.
User avatar
Shaderman
Platinum Boarder
Platinum Boarder
 
Posts: 606
Location: Heidelberg, Germany

Re: SWF and Wordpress

Postby pataya » 14 Mar 2013, 17:27

i try one plugin without result i hope find one
User avatar
pataya
Platinum Boarder
Platinum Boarder
 
Posts: 876


Return to Adobe Flash 11