I'm trying to install Flowplayer 3 but am running into a strange error message that I can't work my way around.

The SWF Tools status says "FlowPlayer 3 Missing: Download the required supporting file and upload it to sites/all/modules/swftools/shared/flowplayer3/flowplayer-3.0.7.swf."

Problem: flowplayer-3.0.7.swf is located precisely were Drupal is looking for it, in sites/all/modules/swftools/shared/flowplayer3/flowplayer-3.0.7.swf.

If someone can help me work through this problem, I'd be very grateful.

So, here's my setup:

I'm running:

* Drupal 6.10
* SWF Tools 6.x-2.2
* Flash node 6.x-3.1

I have installed the following files from the FlowPlayer site into sites/all/modules/swftools/shared/flowplayer3/

* flowplayer-3.0.7.swf
* flowplayer.rtmp.3.0.2.swf
* flowplayer.audio.3.0.4.swf

In admin/settings/swftools/flowplayer3, I have set the player file to flowplayer-3.0.7.swf

My flowplayer3.module file contains these settings:

/**
* Define constants that can be used to reference aspects relating to FlowPlayer3
*/
define('FLOWPLAYER3_MEDIAPLAYER', 'flowplayer3_mediaplayer');
define('FLOWPLAYER3_MEDIAPLAYER_FILE', 'flowplayer-3.0.7.swf');
define('FLOWPLAYER3_MEDIAPLAYER_STREAM_PLUGIN', 'flowplayer.rtmp-3.0.2.swf');

One additional piece of related information: I have successfully installed the One Pixel Out audio player.

That's about I can think to share.

Any idea how I might get things up and running smoothly?

Thanks for helping,

Stan

Comments

Stuart Greenfield’s picture

That sounds very strange - it is working here, and if you've got 1PixelOut working then SWF Tools is able to find those files, so it should be able to find the others.

Trying hitting "Reset to defaults" on the configuration page, just to make sure?

Other than that I'm not sure right now why it can't find it. I'll see if I can recreate it...

sharrison’s picture

Thank you for writing, Stuart. I greatly appreciate it.

I took your suggestion and "Reset to defaults" on the configuration page.

Afterward, SWF Tools still couldn't find FlowPlayer 3.

So, I'm still perplexed. But at least I'm not alone in that. :)

Other thoughts?

And, again, thank you,

Stan

sharrison’s picture

Scratch that.

I hadn't enabled the FlowPlayer 3 module on the Modules page.

Sorry about that.

Some times you have to remember to do everything. :)

Stuart Greenfield’s picture

Easily done - I spent an hour trying to work out why my new code on FlowPlayer wasn't working, only to realise I was editing the wrong file!

Based on your reply it sounds like everything is now working, so we can close this issue?

sharrison’s picture

Yes, we can.

Thanks, Stuart.

Stuart Greenfield’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rjperry’s picture

I am having the same problem. It is enabled in modules but I get this FlowPlayer 3 - Missing flowplayer3/flowplayer-3.0.7.swf - Download here

in the /admin/settings/swftools/handling page

any suggestions? I saw this suggestion Trying hitting "Reset to defaults" on the configuration page, just to make sure? but was not sure of the location.

RJ

brendanxc’s picture

Had this problem, too... "Missing flowplayer3/flowplayer-3.1.5.swf"

In the module's code, "flowplayer3/" is relative to modules/swftools/shared -- not swftools/.

I moved the flowplayer .swf files into modules/swftools/shared/flowplayer3/ and it fixed the problem.

rjperry’s picture

Yeah I have tried that too. It does not work.

rjperry’s picture

it keeps saying FlowPlayer 3 - Missing flowplayer3/flowplayer-3.0.7.swf - Download here

kappaluppa’s picture

I had the same problem. Had to go here: admin/settings/swftools/flowplayer3.
Under under Player and Plugin Files set the name of the correct file, which for me was flowplayer-3.1.5.swf.
No more error.

rjperry’s picture

Thank you kappaluppa ! That did the trick!

RJ

rjperry’s picture

now to get them to play without errors.......

sieplake’s picture

I had a hard time with this aswell, I had all the files located in the right place in the "SWF Tools" and all the modules was activated. I already had created a couple nodes "flv movies" that where uploaded with CCK and Embedded Video. I could look at them with JW player and also the "default flowplayer module" download, In this way.

But then after installing SWF Tools, the player simply didn't turn up after activating "flowplayer3". No error messages in the report either, everything looked just fine.
It turned out that I have to upoad the flv-file using the flashnode module, then everything started to work.
I really can't figure out why, hopfully someone can explain this?
My skills in drupal = newbie, so...I am quite sure I missed something obious.

tboornaz’s picture

I was having the same problem. It was saying that
FlowPlayer 3 Missing
Download the required supporting file and upload it to sites/all/modules/swftools/shared/flowplayer3/flowplayer-3.0.7.swf.

When I hit the download link it downloads Version : 3.1.5. It appears that the module is looking for version 3.0.7 versus the newer version of 3.1.5.

Changing the Player/Plugin files in admin/settings/swftools/flowplayer3 definitely did the trick. Thank you.

climber514d’s picture

This really helped me...
Once I moved the files relative to the SHARED directory... it worked.
(I did have to create an input filter with only the SWFTools filters enabled on it)

FYI - this article helped me as well...
http://andresderojas.wordpress.com/2010/02/05/how-to-upload-videos-to-dr...

dresde’s picture

@climber514d: thanks for linking me ;) Anyways, beware that article works for an earlier version of Flowplayer and SWTools. It may not help to solve problems with newer versions... fell free to add comments that may complete it!

Roze-1’s picture

Status: Closed (fixed) » Fixed

Let me explain the set up of SWF and FLV in single post , this would be helpful for the beginners.

USAGE with SWF tool, Flow player, Embedded media field

A. Create CCK- video, file, file upload( For you tube or Other 3rd party video links use "Embedded Media Field")

B.In the Home->Administer->Site Config. ->Swftools->File Handling
*Check if all the fields are good if they have errors like "missing flowplayer x.xx " then proceed to Home->Administer->Site Config. ->Swftools->FlowPlayer3->Player And Plugin File .
* Make changes in the following fields
1. Player File: To the Version which you have copied in this holder(C:\wamp\www\WebSite_name\sites\all\modules\swftools\shared\flowplayer3)
2. RTMP streaming plugin: To the Version which you have copied in this holder(C:\wamp\www\WebSite_name\sites\all\modules\swftools\shared\flowplayer3)

3. Remember you must create a holder inside swftools\Shared as " Flowplayer3 " and extract two file which is to be downloaded from " http://flowplayer.org/download/index.html "

4. Go to Home->Administer->Site Config. ->Swftools->File Handling And check the fields again. And Change the fields to Flowplayer x.xx . Save Config.

C.Create Content with one video and save.

D.Then in CCK->Content Name-> display field-> teaser> Swftool, No Download Link and then full node>Swftool, With Download Link .

Please Apologies if this post has already been created.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

the3dart’s picture

thaks tor the tips, i was having the same problem.
but i have this message apearing when usign flowplayer3 or jw mediaplayer

warning: Parameter 2 to flowplayer3_swftools_flashvars() expected to be a reference, value given in D:\myfolder\website\includes\module.inc on line 462.

carole’s picture

Status: Closed (fixed) » Active

I just installed the current OpenPublish install profile.

After checking paths exist, flv is uploaded OK, player code exists, SWFTools config, I still get:

warning: Parameter 2 to flowplayer3_swftools_flashvars() expected to be a reference, value given in ...\includes\module.inc on line 462 & video does not play, or

warning: Parameter 2 to wijering4_swftools_flashvars() expected to be a reference, value given in ...\includes\module.inc on line 462 & video plays.

Vc Developer’s picture

Had the same problem and only had to change th reference options to match the current version. 3.2.7 BUT, I don't get any setting options on the admin page. Do I have to make flowplayer the default player in order to get settings information?

asb’s picture

Same issue, flowplayer-3.2.7.swf is configured at "Player and plugin files" ./admin/settings/swftools/flowplayer3, the "flowplayer3" package is installed into /sites/all/modules/swftools/shared/flowplayer3 as well into /sites/all/libraries/flowplayer3, "libraries" module is enabled.

Contents of ./sites/all/modules/swftools/shared/flowplayer3:

# ls -lah
drwxr-xr-x 2 www-data www-data 4,0K  4. Mär 01:03 example
-rw-r--r-- 1 www-data www-data 118K  4. Mär 01:01 flowplayer-3.2.7.swf
-rw-r--r-- 1 www-data www-data  36K  4. Mär 01:03 flowplayer.controls-3.2.5.swf
-rw-r--r-- 1 www-data www-data  37K 10. Jul 2009  LICENSE.txt
-rw-r--r-- 1 www-data www-data  20K  3. Mär 05:19 README.txt

Contents of ./sites/all/libraries/flowplayer3:

# ls -lah
drwxr-xr-x 2 www-data www-data 4,0K  4. Mär 01:03 example
-rw-r--r-- 1 www-data www-data 118K  4. Mär 01:01 flowplayer-3.2.7.swf
-rw-r--r-- 1 www-data www-data  36K  4. Mär 01:03 flowplayer.controls-3.2.5.swf
-rw-r--r-- 1 www-data www-data  37K 10. Jul 2009  LICENSE.txt
-rw-r--r-- 1 www-data www-data  20K  3. Mär 05:19 README.txt

Im still getting this at ./admin/reports/swftools:

FlowPlayer 3	Missing
Download the required supporting file and upload it to sites/all/modules/swftools/shared/flowplayer3/flowplayer-3.0.7.swf.

Please note the reported version mismatch (configured is flowplayer-3.2.7.swf), and the mismatch of the error message with the swftools documentation which claims that flowplayer3 is supposed to be installed in /sites/all/libraries/.

Geez, this is so annoying :-(

ebonsign’s picture

I've double-checked all settings as well, based on the swftools and video modules documentation, and this forum thread - but I continue to get the same module.inc error regarding pass-by-value versus pass-by-reference in the module's hook call (same as carole and the3dart):

flowplayer3_swftools_flashvars() Parameter 2 to flowplayer3_swftools_flashvars() expected to be a reference, value given in /www/htdocs/HCILkidz/includes/module.inc on line xxx

(depends on which module.inc version you have, but it's around line 461...)
I've done this before for another site, but am getting the error here...
What have I got wrong in the set-up?
Thanks to anyone who has insight.

ccurwen’s picture

I don't know if this will provide any insight, but here goes:

I am running drupal 6.22 and was getting the same frigging error every time. I am using the fileframework module to handle file types and the error I kept getting was:

"Flowplayer is not available. It is recommended that you install this player in order to play video files in the browser. To install, download the latest version of the player, unzip it to sites/all/modules/fileframework/vendor/flowplayer/ under the Drupal directory and set player's version. Note, that flowplayer older than version 3.0.0 can be used, but will not be detected."

I had the module, enabled it, and it was installed in the right place. 'Set Player's version' was a hyperlink to admin/settings/file/format/video which simply said:

"You do not have any format items."

Turns out that I had not enabled the 'Video' file type under the File Framework module. Turned it on, found video listed under formats. It had picked up my flowplayer but not the version, which I entered, saved, and voila! Error is gone, and I can play videos.

I know this is probably obvious to many people, but I thought the error message was not helpful at all. I assume it's a similar issue with swtools and other modules that have a secondary setting to enable the specific file types you want to manage in the modules list. Hope it saves somebody else some time.