Needs review
Project:
SWF Tools
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2010 at 20:09 UTC
Updated:
20 Jul 2011 at 16:32 UTC
Found a free Flex / Flashpaper solution.
Comments
Comment #1
bennos commentedwould love to see it supported.
Comment #2
Stuart Greenfield commentedLooks interesting!
Definitely one for the feature list. I am right in the middle of a wholesale revamp / rewrite of SWF Tools, but it's making modules simpler.
Once that's out the way in the next couple of weeks I'll come back to this.
If you don't hear anything to say I've started on this by then feel free to bump the issue to remind me :-)
Comment #3
Stuart Greenfield commentedI am actually going to start work on this. This is the first case of definitely wanting a player for an swf file.
It has got me thinking about some of the underlying code in SWF Tools and how to "open" it up more (at the moment players and things are hard coded). As part of building support for flash paper it gives me a reason to tackle this part of the code too, so that SWF Tools is truly dynamic and lets modules declare their support for players and media.
At least that's the idea.
But in terms of flash paper, that will now happen sooner rather than later.
Comment #4
bennos commentedwill have an eye on this and provide testing and feedback.
As I understand you right. You want to open the module more, to make it easier to implement additional modules like other flash Player or Flex solutions. sounds great.
Comment #5
lelizondo commentedsubs
Comment #6
Stuart Greenfield commentedFlexPaper support has been committed on DRUPAL-6--3. It will be in the development snapshot when it next generates.
The module is fully functional and is profile capable. In fact, the new profile feature is key to this working as you (probably) need to create a profile so that you can assign FlexPaper as the "Default player for a single swf movie". Note - I've been working on the handling form so the options have shuffled around a bit on that page. SWF handler is now the first one!
Install the FlexPaper files under sites/all/libraries/flexpaper.
The best way I found to test this (and which proves just how powerful the new features are!) is to create a profile for rendering swf in to FlexPaper.
Then create a CCK content type with a filefield and assign it your new profile as the formatter.
You can also use the input filter, e.g.
[swf file="myPDF.swf" profile="flashpaper"].All FlexPaper options are available, except the "full screen as a maximised window". FlexPaper outputs a strange url that the underlying Drupal system reports as page not found. But other than that it seems good. I even have the language option working (although it doesn't link up with your site language... yet...)
Please post your finding (bugs, or to say it works!)
Comment #7
bennos commentedGreat work Stuart. I have started a thread for documentation on "How to convert PDF's or Office Files to SWF for flexpaper".
http://drupal.org/node/759198
Comment #8
samdeskin commentedwhat do y'all think about displaying PDFs as HTML5 instead of SWFs?
Comment #9
drupdruppalpal commentedGreat job!
thanks
testing...
Comment #10
james marks commentedHow, exactly, do you do this?
Comment #11
james marks commentedFigured it out. Disregard.
I'm guessing that there should be a support module for flexpaper (which I've installed under sites/all/libraries/) included in this but I'm not seeing one. Is it not included yet or am I misunderstanding how the support is implemented?
Comment #12
Stuart Greenfield commentedThe flexpaper module isn't in BETA-3, it is only available from the snapshot release at the end of the DRUPAL-6--3 branch (http://drupal.org/node/586002)
You also need to install the flexpaper swf under sites/all/libraries/flexpaper after downloading from http://flexpaper.devaldi.com/.
Because flexpaper renders an swf inside another swf you will need to use the profile system to create a profile that assigns FlexPaper as the handler for swf files.
Then you can create content (e.g. via CCK and a filefield) to accept a swf PDF, and you assign the formatter as SWF Tools Profile - FlexPaper, or whatever you chose to call your profile.
Docs are very thin on the ground because there's so much happening in SWF Tools. With all the changes coming I think I'm going to have to write a book :-)
Comment #13
Chokti commentedWhat do you mean by creating a profile? Do you mean a user? I wouldn't think so but I don't know any other profile in Drupal.
Thank you for your prompt response.
Comment #14
bennos commentedthere is a new submodule called swf tools profiles. enable it and you can create profile for different situations.
Comment #15
knalstaaf commentedI've consulted documentation (which must be outdated I believe, because I can't find certain things back) and hit several topics about it, but it's very hard to figure all this out. All I'm getting now is You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.
What am I missing?
Comment #16
lightsurge commentedIn regards to #6
Patch available at http://drupal.org/node/1159076 adds the functionality to view as a maximised window as well as other new functionality, and works fine for me.