Closed (fixed)
Project:
FlashVideo
Version:
5.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2007 at 10:56 UTC
Updated:
10 Apr 2010 at 05:28 UTC
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
Comment #1
travist commentedAre you using clean-urls? I think many people are having problems with clean-urls turned off...
Comment #2
davidkyte commentedHi
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..." />
Comment #3
davidkyte commentedembed 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 :-)
Comment #4
mrgoltra commentedI 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....
Comment #5
travist commentedYou 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.
Comment #6
mrgoltra commentedNo not the root directory, I meant /module/flashvideo/flashvideo_playlist.php. Sorry for the confusion.
Comment #7
davidkyte commentedrm 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
Comment #8
mrgoltra commentedSorry to hear that, how about folder and file permission settings?
Comment #9
davidkyte commentedThanks - Good idea -
did chmod a+rw -R files
re-ran crontab and :-(
Next try?
Comment #10
lionstone commentedHi, 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!!
Comment #11
travist commentedTry 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.
Comment #12
davidkyte commentedOk 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
Comment #13
travist commentedDave,
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.
Comment #14
travist commentedWhat 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.
Comment #15
davidkyte commentedThis man is a star!!!
Thank you very much.
Dave
Comment #16
travist commentedThanks 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.
Comment #17
travist commentedFlashvideo 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.
Comment #18
davidwhthomas commentedI 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:
I hope it helps someone else
Comment #19
(not verified) commentedComment #20
rimma commentedI think this issue should not be closed because it continues to happen.
same problem here.
i will try it.
Comment #21
bubbola commentedI 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.
Comment #22
jhaggenburg commentedI'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:
Any hints on this?
Comment #23
mrgoltra commentedcan you access the file directly and watch the movie? : yoursite.com/files/flashfolder/movie.flv?
Comment #24
himtuna commentedme 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?
Comment #25
ziggyk commentedI 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