OK, so I believe I have followed all the instructions. I have installed swfobject_API, added the nessicary google files and set up the profile for the "video" content type. I have uploaded a flv file and installed the mediaplayer file into the plugin directory. I have pointed the plugin at the resultant uploaded file and I get... NOTHING. No flashplayer displays on the page. I followed all the instructions in the documentation section to the letter and re-checked them twice.

What am I doing wrong?

Comments

arthurf’s picture

Status: Active » Postponed (maintainer needs more info)

Are you sure you set the player path correctly? Can you load it from your browser?

Lebo77’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Wow. After two days of messing around with this I discover it was a stupid path issue. *smacks head*. Never mind.

niner94949’s picture

Lebo77 - I'm also having this issue. What paths did you have set incorrectly? Also, in your original description you mention "installed the mediaplayer file into the plugin directory"...which plugin directory is this? I don't recall reading about a plugin directory. This is getting frustrating. Thank you for your assistance.

arthurf’s picture

I've been installing the player in /sites/YOURSITE/flash This allows me to keep the player under version control while being able to easily upgrade the flvmediaplayer module. Your path would then be: sites/YOURSITE/flash/player.swf

niner94949’s picture

Thanks arthurf. I just gave that a try, without success. Right now I'm using the default garland, so the path in the example below is a bit different.

Here is the issue I'm having.
For testing purposes, I copied all of the examples from http://malsup.com/jquery/media/video.html.

This one doesn't work:
<a class="media {width:250, height:250}" href="http://malsup.com/jquery/media/flash/curtain.flv">FLV File</a>

This one does work:
<a class="media {width:250, height:250}" href="http://malsup.com/jquery/media/mediaplayer.swf?file=flash/curtain.flv">SWF with FLV (mediaplayer.swf?file=curtain.flv)</a>

When using filefield with my own upload, here is what the code looks like in firebug. The FLV file does not display. It looks like it is trying to work, because there isn't a link, it's just blank. Hopefully I've explained this well enough.

<object height="400" width="400" type="application/x-shockwave-flash" data="/themes/garland/flash/mediaplayer.swf?file=http%3A%2F%2Fsubdomain.example.com%2Fsites%2Fdefault%2Ffiles%2Fdocuments%2FHospitality_1.flv" id="movie_player_1" style="visibility: visible;"><param name="bgColor" value="#ffffff"/><param name="wmode" value="transparent"/><param name="autoplay" value="false"/><param name="flashvars" value="file=http%3A%2F%2Fsubdomain.example.com%2Fsites%2Fdefault%2Ffiles%2Fdocuments%2FHospitality_1.flv"/></object>

arthurf’s picture

the problem is this:

http%3A%2F%2Fsubdomain.example.com%2Fsites%2Fdefault%2Ffiles%2Fdocuments%2FHospitality_1.flv

Note the url

niner94949’s picture

What do you see wrong with it?

arthurf’s picture

Is your domain "subdomain.example.com" ?

niner94949’s picture

No. I intentionally didn't include it for this post.

arthurf’s picture

Can you give me an actual url to look at?

niner94949’s picture

I've just sent you a message with the url. Thanks.

niner94949’s picture

This is just as a follow up for anyone who follows this thread. The initial description above left by Lebo77 was very similar to the issue I was seeing, but was NOT related to the FLV Media Player project.

I was using the Filefield module and Jquery Media module combination in order to display video. You can see the tutorial here. http://drupaltherapy.com/node/50. This combo worked for all video types except FLV for some reason.

After countless hours of research, I finally decided to go a different route for FLV files. Using Filefield and SWFTools for Drupal 6 worked. I had it set up in 10 minutes, no problem. You can see a video tutorial here. http://mustardseedmedia.com/podcast/episode17

Hope this helps somebody out there.