Active
Project:
FlashVideo
Version:
6.x-1.5-rc3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2009 at 19:41 UTC
Updated:
24 Jan 2011 at 20:20 UTC
Regarding xmoov.php file. I did not see this file anywhere in the FlashVideo module directory, so I created one of my one from the source code at xmoov.com. I placed it in sites/all/modules/flashvideo. In the content type settings I enabled the Flash Video Streaming in the Server Config dropdown, choose xmoov radio button as the method, and set the file path to the xmoov.php file. Saving the settings returned no errors. But when I create a new video of this content type, the player (JW 4) just spins away with no video ever appearing. Any help
Comments
Comment #1
mikerz commentedThere are settings in the xmoov php that need to be set -- the sub directory "videos" of xmoov's directory comes to mind. It is a directory underneath xmoov where all of your FLVs must be.
what happens when you go to this url: http://mysite.com/files/xmoov.php?file=myfile.flv ?
Of course, make it an absolute path to your xmoov.php
Comment #2
Cliff Parker commentedGot all that set, thanks. Still nothing though - just a player with a spinning loader. Do I need to have the "Use FFMPEG-PHP to extract video information" checked?
Comment #3
mikerz commentedinteresting, what happens if you go to the url I mentioned?
Try a different location for your php file. For example, I put mine at drupal root and this line, referencing the location of videos, is in my xmoov.php :
// points to the folder containing the video files.
define('XMOOV_PATH_FILES', 'sites/default/files/');
the xmoov php should have a direct path to your videos. It occurs to me that putting it in sites/all/modules/flashvideo might not work (could there also be a drupal security involved?)
Try changing the location of your actual xmoov file, the line mentioned above, and update the module as to the xmoov location.
Comment #4
Cliff Parker commentedWhen I go to the URL from your first post I get the following:
Page Not Found - 404 Error Page
The page you are looking for (http://mysite.com/files/xmoov.php) is not here.
As for the xmoov php file - I tried moving it to different locations. One configuration with my xmoov php in - sites/default/files/, and my videos in - sites/default/files/video - JW player spit out an error saying it could not find the requested video file. I moved it to where you suggested and I am back to the everlasting spinner on the JW player.
Do I need to have meta information in the videos I create to use the xmoov fuction? or can I simply encode the videos the same way I did when using a normal progressive video serve, which btw was worked with no problems.
Comment #5
attheshow commentedDear Cliff,
I think mikerz intents for you to replace the "mysite.com" with whatever your own personal domain name is. http://[YOUR DOMAIN HERE]/files/xmoov.php?file=[YOUR FILE HERE].flv
Comment #6
attheshow commentedNo further updates here in two months. Marking as fixed.
Comment #8
tomotomo commentedI think this needs the fix in http://drupal.org/node/1038612
See: http://www.saigonist.com/content/drupal-flashvideo-streaming-php-and-jw-...