I have installed the module

I am uploading the flv file which appears in the files directory as 41_s1.flv

I am not using the ffmpeg app

I have created a Page and included [video] in the body

When I edit the Page I get the file path as
http://promoteit-seo.com/drupal/files/41_s1.flv

flvplayer.swf is in the files directory
flashvideo_playlist.php is in the root.

I run cron manually

Any suggestions to try next?

Comments

travist’s picture

Are you using clean-urls? I think many people are having problems with clean-urls turned off...

davidkyte’s picture

Category: support » bug
Status: Closed (fixed) » Active

Hi

clean-urls are enabled.

This code works in a standard html page

src="/drupal/files/flvplayer.swf"
width="420"
height="240"
allowfullscreen="true" flashvars="&file=http://www.promoteit-seo.com/drupal/files/41_s1.flv&height=240&width=420..." />

davidkyte’s picture

embed src="/drupal/files/flvplayer.swf" width="420" height="240" allowfullscreen="true" flashvars="&file=http://www.promoteit-seo.com/drupal/files/41_s1.flv&height=240&width=420..."

Had to take out the brackets :-)

mrgoltra’s picture

I was having the same problem. If flashvideo_playlist.php is in your module folder, delete it. Once I did this video was working... now.. I really want to get that thumbnail working....

travist’s picture

You mean in the root directory? This doesn't make any sense... I don't even call that file unless they provide more than one file ID in the fids parameter. And with version 2.1 I made some improvements to this file...

If it is not working, then I will need to make some more changes.

mrgoltra’s picture

No not the root directory, I meant /module/flashvideo/flashvideo_playlist.php. Sorry for the confusion.

davidkyte’s picture

rm playlist.php from module folder didn't make any difference

I am running a private site with only authenticated access allowed.

I will switch on anonymous access and see if that makes any difference.

I don't think it will because I have already tried this on another site.

:-(

I sooooo want to use this product.

I would be more than happy to pay for these fixes if it helps.

I have already paid to have autoresponder module updated for 5.1

mrgoltra’s picture

Sorry to hear that, how about folder and file permission settings?

davidkyte’s picture

Thanks - Good idea -

did chmod a+rw -R files

re-ran crontab and :-(

Next try?

lionstone’s picture

Hi, I'm having the same issues w/ drupal 5; "Video currently not available" (see http://www.colingo.org/abc/node/3)
I attach the video with the node and it uploads fine. FFMPEG should be installed (Dreamhost) but I am unsure whether to refer to it by /home/account/bin/ffmpeg or just /usr/bin/ffmpeg , so this may be part of the problem but I tried both with no luck.
But I tried an FLV to begin with (which landed fine in the /files/ directory) so FFMPEG wouldn't even be needed here, right?
I am unsure whether to name the player "Player.swf" or "flvplayer.swf" (also tried both, no luck) Also, do I need to specify the output directory if it is "files/" or is that default? I have flashplayer.swf in the root dir, as well.
I would love to use this module and it looks like it would be perfect if I could only get it to work! Many thanks for your work!!

travist’s picture

Try my last suggestion in http://www.drupal.org/node/153777 . The suggestion where you add the parameters to the php.ini file or your .htacess file. Try this and let me know if it works.

Thanks,

Travis.

davidkyte’s picture

Ok started again

clean drupal install on hostmonster.com

www.promoteit-seo.com/clean

ran crontab manually
enable clean urls
enable path and upload modules
configure file system and set file folder to files
installed and enabled flashvideo 2.1
copied flashvideo_playlist to drupal root
downloaded latest flvplayer
cp flvplayer.swf to files folder and renamed it to Player.swf
enabled flashvideo module
configured flashvideo module
player confirmed to be Player.swf, ffmpef disabled by setting max failures to 0
output directory blank
enabled flashvideo for page content types
created new page
attached s1.flv
noteded 1_s1.flv in the files folder
ran crontab
video currently not available

:-(

Should the output folder be different?
should it be /clean/files ?

Please advise.

Thanks

Dave

travist’s picture

Dave,

Using my contact form, send me an email with the following information, and I will personally see what the problem is (free of charge). :)

1.) Website URL.
2.) FTP information - including your username and password
3.) HostMonster login information. This is so that I can have access to the database and cron.
4.) You administrator login information to your website.

With this information, I will take a look at it.

Thanks,

Travis Tidwell.

travist’s picture

Status: Active » Fixed

What was causing his problem is for some reason his web server was saving the file mime types as application/octet-stream instead of flv-application/octet-stream. If anybody has this problem, try to figure out why the database is trimming the flv- from the front of the mime types. If you absolutely need a solution to this problem, then you can do a search and replace within the flashvideo.module file and replace flv-application/octet-stream with application/octet-stream.

If anybody knows why this would do this, I am all ears... but this is a temporary solution.

Thanks,

Travis.

davidkyte’s picture

This man is a star!!!

Thank you very much.

Dave

travist’s picture

Thanks David! I just committed a change to CVS that has a reverse-compatible change that should fix this problem. Basically what I do is look in the database for not only flv-application/octet-stream but also application/octet-stream to show the video. I also found a bug where the status of the video was not setting to 3 (which means that it is ready to be seen). This change has also been committed.

I will be having a BETA release very soon that will just be a bug fix release that should fix all of these problems.

Thanks,

Travis.

travist’s picture

Flashvideo version 2.2 Beta fixes this problem. Please read the readme for the release to find all bug fixes. Also, I have added a VERY useful status in the main FlashVideo Settings page. Please read over this carefully to make sure that you have all the correct php.ini variables set.

Thanks for everyones help,

Travis.

davidwhthomas’s picture

I had exactly the same problem.

I found the mimetype was different again in the files table

Adding the other mime-type to flashvideo.module line 1113 fixed it:

  $flashmime = "((f.filemime='flv-application/octet-stream') OR (f.filemime='application/octet-stream') OR (f.filemime='application/x-flash-video'))";

I hope it helps someone else

Anonymous’s picture

Status: Fixed » Closed (fixed)
rimma’s picture

I think this issue should not be closed because it continues to happen.
same problem here.
i will try it.

bubbola’s picture

Category: bug » support

I was reading David Thomas post 18 at http://drupal.org/node/153233 but I could not find at
flashvideo.module line 1113 any mime reference. Since his suggestion seems interesting I would like to know what drupal 5x is referring to. I'm using 5.2 and at 1113 I have -
function fv_file_munge_filename($filename, $extensions, $alerts = TRUE) {
$original = $filename;
My solution at this flash.module extensive problem has been to wrap flv's in a swf movie and uploading it in that way works very well, only if you don't need to have viewers uploading youtube style flv's to you site.

jhaggenburg’s picture

I'm having exact the same problem as Lionstone. I don't want to do FFMPEG do any encoding, I just want to embed a flv that I convert myself. Player.swf is in /files/ and the flv and thumbnail end up here as well. When I edit the node I see the two files, so i've added [video], but I'm getting the "Video currently not available" error and the following html:

  <div class="content">
    <p><img src="/sites/all/modules/flashvideo/video_MIA.png" alt="video unavailable" /></p>
  </div>

Any hints on this?

mrgoltra’s picture

can you access the file directly and watch the movie? : yoursite.com/files/flashfolder/movie.flv?

himtuna’s picture

Category: bug » support
Status: Active » Closed (fixed)

me to getting same results
and yes i can access the video within the files directory at sites/files/videos/...
any other thing I must check?

ziggyk’s picture

I just had this problem too because of Firefox 3.6 and the filemime type video/flv in MySQL.

Check out my bug post here for the fix:
http://drupal.org/node/767272