I'm just testing this module out with some FLV files that I have. After entering the proper info, I hit preview and it sits for quite a while, but then just returns to the submit flash page.
Are FLV files not proper flash files for use in this module? If so, can I somehow convert these to an appropriate type?
Thanks for any info.
Comments
Comment #1
Stuart Greenfield commentedSorry for not getting a reply back on this sooner but I've been away!
flv files are not valid flash as far as flash node is concerned. To play a flash video file you need flash video player - there are various ones on the web. You could load a flash player via flash node, and then you normally send it the flash video via
flashvarsHowever, flash node now relies on swftools and swftools comes with built in support for flash video players. The basic download includes a generic player, or you can download some other ones (e.g. Wijering).
To use the swftools player you need to create a node using PHP input format, and you create your movie using a line like.
You simply upload the relevant file using Drupal's regular file upload system.
Thinking out loud, it took me a short while to work out how to get the flash video to show - maybe flash node could be extended to accept flv, and automatically pass the data to swftools, shielding the user from the PHP code (and allowing users who don't have PHP access the ability to supply a flv file)
I will mark this thread as "by design" since flash node is not currently designed to work with flv, but will keep this in mind for a future update!
Post again if you need any further help.
Comment #2
Stuart Greenfield commentedI have re-opened this thread. The more I thought about the more I thought it makes sense for flash node to make it easy to upload flv files too. An seeing as swf_tools has the player built in there isn't too much work involved.
I have just committed a first go at this to head, so it will be available when the package nexts updates.
Basically, you can now supply an flv file, and this will be rendered using the swf_tools player settings. This means showing flv files is now just a case of clicking to upload it, without having to expose the php interface.
A bug with swf_tools/IE7 means that a movie size must be supplied if you are using javascript embedding. At the moment I've not worked out if will be possible to auto-detect flv movie size, so you must make sure to supply the values by hand under "Basic flash node options".
Comment #3
Stuart Greenfield commentedflashnode seems to be handling flv and mp3 now, and will use whatever settings you specify on the SWFTools page to decide a player to use. I will add this to the next release so it can get wider testing.
I will set this issue to fixed. If new bugs come to light with this new feature please raise a new issue.
Comment #4
(not verified) commented