0

I have to upload a flash flipbook (swf file) on my wordpress site. The problem is that the flipbook generated has two subfolders along with the book.swf.. So what I need to uplaod to media is

  • book.swf
  • framework.swf
  • js
    • some files
  • img
    • page00
    • page01
    • page...
    • page205

I tried the AddFromServer plugin but nothing works for subfolders.

Any ideas ?

1

Upload your files over FTP to some dedicated location, like wp-content/flashbook/ or wp-content/uploads/flashbook/, and manually include the markup in your page. Presumably, the Flash only runs on one page so this shouldn't be too cumbersome.

Actually embedding Flash isn't as simple as linking to it, but there is plenty of information on the web.

This is going to be very difficult to manage otherwise. WordPress doesn't know what to do with "groups" of media like that. It would take a fair chunk of complicated code to make it work and I don't see the benefit.

  • So I just write [swf file="flashbook/mybook.swf"] ? – Dwurh Jul 19 '13 at 12:19
  • ^^ Only if you have a shortcode that handles the markup, and you didn't mention one. – s_ha_dum Jul 19 '13 at 13:41
  • :) yeah, that probably sounded silly... but relative urls don't work and (since I'm using Gandi.net's SimpleInstance) I don't have the complete url – Dwurh Jul 19 '13 at 15:47
  • Sorry, I don't know what to say about whatever restrictions your host puts on things but how can you not have the complete URL? – s_ha_dum Jul 19 '13 at 15:59
  • No clue.. I got the complete URL but it asks for my admin login (server login) to view the files.. – Dwurh Jul 19 '13 at 17:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.