Video playback problem Video playback problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Video playback problem

Started by uk_martin, October 27, 2006, 12:50:41 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

uk_martin

Hi

Not sure what the problem is here, http://www.ukmartin.com/gallery/displayimage.php?album=5&pos=0

The video file is on the server - http://www.ukmartin.com/gallery/albums/video/speedway.wmv

I have tried this page on two PC's and on neither does the Media Player plug-in play the video feed. Is it just my connection? Can anyone else get the video playing? If not, can anyone suggest a solution?

Thanks

Martin


uk_martin

Quote from: Stramm on October 27, 2006, 12:52:22 PM
http://forum.coppermine-gallery.net/index.php?topic=31291.0
Different problem.

Earlier I had a white square with a red cross in it... I then discovered that by reinstalling Windows Media Player, my problems were solved, so obviously there was a problem with the embedded ActiveX Object.

This time, the Media Player is there...just no video file getting played in it.

Nibbler

Quote from: uk_martin on October 27, 2006, 03:56:27 PM
Different problem.

You have not applied the fix described in that thread, so how do you know?

uk_martin

Quote from: Nibbler on October 27, 2006, 04:52:24 PM
You have not applied the fix described in that thread, so how do you know?
Old problem:

The way I thought of it was this...

1. It was about a year old version of Coppermine and it used to work.
2. It stopped working around the time the Host upgeraded its PHP installation (no sign of the ActiveX Control, just a "no image" symbol)
3. Windows Media Player was reinstalled
4. It worked again

Conclusion, the problem was with WMP on my machine, not Coppermine and not with the Host. No fixing of the old version of Coppermine needed.

Current Problem:

This time around, I am using the latest version of Coppermine, installed "straight from the box". WMP shows up on the page, but no connection to the video file. The file is there, Coppermine initiates the ActiveX control, but something is stopping the file streaming into the control and playing.

I see some fixes for problems that are on the previous thread, and tomorrow when I have some time I'll try them out and see how it goes. Will let you know.

wildnsyko

Since I was kicked out of the other thread, I'll try this again.  I copied and pasted the exact same thing that was posted as a fix for this problem.  I got errors.  Is there another way to correctly fix it?


Nibbler

You made an error while applying the fix. Attach your version of the file to your next post.

wildnsyko

Here is the error again.  This is after only changing the codebase.

Parse error: parse error, unexpected T_DNUMBER in /home/mlgh06/public_html/MEDIA/include/themes.inc.php on line 2376

Attached is my file.

Thank you for taking time to look at this.

Nibbler

What the hell did you edit it with? The file has an IP address inserted into the script. Use something else. I would advise a simple FTP client and notepad if you are on windows.

It should read


        $ip = $row['msg_hdr_ip'];
        if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {
            $ip .= ' [' . $row['msg_raw_ip'] . ']';
        }


but your version says


        207.210.73.46 = $row['msg_hdr_ip'];

        if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {

            $ip .= ' [' . $row['msg_raw_ip'] . ']';

        }

wildnsyko

Hammer and chisel.....  lmao...just kidding.  I edited it via the cpanel and changed only the codebase name.  Anything else that is in there, who knows, your guess is as good as mine.  Dang haunted site....

wildnsyko

Okay, tried to edit that part again via cpanel and it would not do it.  Finally edited it on hard drive and reuploaded it to the server.  Audio still did not work.  Went back and changed the clsid.  Now it works!

Thanks for the help!

uk_martin

Quote from: Paver(referring to the classid value in /includes/themes_inc.php file) So . . . blank is the correct setting for the widest range of situations?  I'll leave it to you or others since I don't know much about these type of things.

Well that works in IE now. Thanks for the advice.

Martin

Nibbler


uk_martin

Quote from: Nibbler on October 31, 2006, 02:05:03 AM
This is fixed in 1.4.10.
Thanks fcor that. As a matter of interest, will 1.4.10 also have a fix for the need to click on embedded ActiveX objects?

I use an external JS file to launch embedded FLash Objects in my web pages, I hope that this (or similar methodology) could also be done in the Gallery as having to click on WMP, QT and Flash is a pain

Thanks for the fix anyway, and I'll be updating asap to the new version.

Martin

Nibbler

Quote from: uk_martin on October 31, 2006, 04:55:18 PM
Thanks fcor that. As a matter of interest, will 1.4.10 also have a fix for the need to click on embedded ActiveX objects?

If you filed it as a bug and it was subsequently flagged as 'fixed' by a developer then yes, otherwise no.