Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Ray Video Player

  1. #1
    dalem
    Guest

    Default Ray Video Player

    Hi.

    Installed Dolphin 5.3 everything is working great, except the Ray Video Player.
    It keeps complaining of "connection Error"
    I have changed the three IP addresses in the header.inc.php's but still have the connection problem.
    I can upload videos no problems but after it has uploaded this error pops up near to the upload button.

    " Download and see
    Warning: filesize() [function.filesize]: stat failed for E:/www/*******/id_avi/6_0_5 in E:\www\*******\inc\profiles.inc.php on line 316
    ( size: 0 kb) "

    Checking inc/profiles.inc.php does not give any clues as to why this error.
    I have the video upload file size set to 20meg for testing purposes.
    I have read about the Red5 server, is it part of Dolphin 5.3 or do you need to purchase it separately ?
    Anyone getting the same problems or any advice to remedy this ?

    Thank you.

    dalem
    Last edited by dalem; 10-28-2006 at 07:10 PM.

  2. #2
    lodlock's Avatar
    Join Date
    May 2006
    Posts
    284

    Default

    Try this:

    Open up profiles.inc.php in the inc folder and near line 308 look for:

    Code:
    function get_video_size ( $id )
    {
        global $ID_VIDEO_DIR;
            global $video_ext;
    
        $p_arr = db_arr( "SELECT ID, NickName, Video_addon FROM Profiles WHERE ID = $id" );
        $file = "$ID_VIDEO_DIR$p_arr[ID]_0_$p_arr[Video_addon]";
    
        return filesize( $file );
    }
    Change it to:
    Code:
    function get_video_size ( $id )
    {
        global $ID_VIDEO_DIR;
            global $video_ext;
    
        $p_arr = db_arr( "SELECT ID, NickName, Video_addon FROM Profiles WHERE ID = $id" );
        $file = "$ID_VIDEO_DIR$p_arr[ID]_0_$p_arr[Video_addon]$video_ext";
    
        return filesize( $file );
    }
    You will most likely have to upload again and try viewing once more. Let me know if this fixes the problem.
    -Lodlock

  3. #3

    Join Date
    Jul 2006
    Posts
    14

    Default

    you should change line
    $file = "$ID_VIDEO_DIR$p_arr[ID]_0_$p_arr[Video_addon]";
    to
    $file = "$ID_VIDEO_DIR$p_arr[ID]_0_$p_arr[Video_addon].$video_ext";

    then in function make_video_link ( $member, $id )
    uncomment lines:
    $dst .= ".$video_ext";
    $src .= ".$video_ext";

    and finally comment line:
    // $dst .= $p_arr[Video_addon];

    still don't understand why boonex did this in their "upgrade"

  4. #4

    Join Date
    May 2006
    Posts
    22

    Default connection error

    Hi when i go to video recorder i get a connection error i can upload an avi and when i click the link to view the avi a box pops up with the player in but i get an error at the top of the box it says

    failed to copy /home/xxxxxxx/public_html/id_avi/1_0_2...

    (i have replaced xxxxxx for account)

    if i look in error logs i get a double path i dont know if this is related or not but i need to fix this also

    /home/xxxxxx/public_html/home/xxxxxx/public_html/ray/data/no_photo.jpg

    Do i need to install anything else to get the recorder to work

    Thanks
    Mark
    Last edited by swampy; 10-31-2006 at 03:33 AM.

  5. #5

    Join Date
    May 2006
    Posts
    22

    Default connection error

    I have just implemented the fix from M@rix above again i must have missed something the first time i do not get the unable to copy but i still get the connection error any help on this

    Do i need to install anything else to get the video player and recorder to work some people are saying to install ray server and red5 what are they

    Mark
    Last edited by swampy; 10-31-2006 at 05:14 AM.

  6. #6

    Join Date
    Aug 2006
    Posts
    21

    Unhappy Video upload problem

    I ca not upload video. I don't know where is my problem.
    I can upload video from gallery page but in the upload video section I can not.
    It giving me error that failed to upload. I canupload sound without problem.
    Changed the video upload file size to 20meg for testing purposes and changed from server config to 20 meg too.
    Where is the problem?
    Any ideas?

  7. #7
    lodlock's Avatar
    Join Date
    May 2006
    Posts
    284

    Default

    did you make sure that there are write permissions on the folder id_avi?
    -Lodlock

  8. #8
    dalem
    Guest

    Default Ray video

    Hi Lodlock and M@rix

    I tried both of your suggestions and changed profiles.inc.php but without success.
    After following your advice and changing the lines in profiles.inc.php I can successfully upload avi's but cannot play them, the same error is returned.
    Well almost the same error, it is now line 317. (before it was line 316)
    ################################################## ##
    "Download and see"
    Warning: filesize() [function.filesize]: stat failed for E:/www/*******/id_avi/6_0_5 in E:\www\*******\inc\profiles.inc.php on line 317
    ( size: 0 kb) "
    ################################################## ##
    I'm tempted to just disable it if I can't get it working correctly, but I really would like to use Ray.

    Thanks guys for your help.

    dalem

  9. #9

    Join Date
    Jul 2006
    Posts
    14

    Default

    dalem I used to get the same errors as you got, but after I did the mentioned above changes in profiles.inc.php - errores are gone. Actually it has nothing to do with Ray, it's just about uploading video files and returning them back to browser. Your system should pick up video file by any video player associated with .avi extension.

  10. #10
    justmedanny
    Guest

    Default Connection Error

    I'm having a simliar problem. I did the changes as suggested above, but I still always get "Connection Error". Does anyone have a fix for this so it will work and I will no longer get "Connection Error"?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Video Player in Dolphin version 6.0.0.4 not showing buttons
    By exgrafix in forum Ray Community Widget Suite
    Replies: 12
    Last Post: 03-12-2008, 02:03 PM
  2. Ray Mp3 Player
    By q9a2 in forum General Troubleshooting
    Replies: 2
    Last Post: 10-20-2007, 06:24 AM
  3. Video Player Bug...
    By bigal0228 in forum Bugs Dolphin 6.01
    Replies: 8
    Last Post: 09-13-2007, 10:22 AM
  4. ray, MP3 player ECT
    By nay27uk in forum General Troubleshooting
    Replies: 2
    Last Post: 04-27-2007, 06:12 AM
  5. Flash Video Player And Upload
    By stevie in forum General Issues, Comments, Questions
    Replies: 2
    Last Post: 11-11-2006, 12:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •