forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: robbie_e on October 05, 2006, 12:09:40 am

Title: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: robbie_e on October 05, 2006, 12:09:40 am
I upgraded to 1.4.9 from 1.4.5 and my WMV videos do not play (flash ones do play) they appear as a black screen with the play button greyed out.
I have tried to apply the patches to the theme.php, i had to copy the one in from the samples dir previous to that.


$players['WMP'] = array('id' => 'MediaPlayer',
                                'clsid' => 'classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ',
                                'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" ',
                                'mime' => 'type="application/x-mplayer2" ',

Also i tried Firefox and the videos do play but at the resolution i uploaded them at and not the larger screen size i configured coppermine to play them. The video is played against a black background which appears to be at the enlarged resolution size i configured coppermine to play the video at.
Videos used to play fine with 1.4.5 and i am using the same computer.  ???
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: robbie_e on October 05, 2006, 12:24:03 am
Regarding the issue with the video in Firefox, I can't attribute that to coppermine at all since i only tried FF after reading previous posts related to videos not playing. I simply downloaded FF just to help diagnose this problem.

Just wanted to point that out before the forum police nab me for posting 2 problems in the same post  ;)
 
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: Nibbler on October 05, 2006, 12:27:26 am
http://forum.coppermine-gallery.net/index.php?topic=31291.0
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: robbie_e on October 05, 2006, 01:08:16 am
Nibbler thats the thread i based all my attempts on to fix this initially. As per my orginal post i have copied the theme.php from the samples to the classic theme. I have tried file this with and without the code changes. Am I missing something ?
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: Sami on October 05, 2006, 07:51:13 am
- Post a link to your video file under gallery
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: robbie_e on October 05, 2006, 05:09:17 pm
http://www.elliottsusa.com/coppermine/displayimage.php?album=8&pos=14
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: Joachim Müller on October 05, 2006, 07:12:52 pm
You require visitors to be logged in, so you should supply a non-admin test user account together with the link as well ::).
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: robbie_e on October 05, 2006, 08:11:52 pm
thats a good idea, here you are

user: testuser
pass: test

http://elliottsusa.com/coppermine/thumbnails.php?album=27
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: rphMedia on October 05, 2006, 10:00:39 pm
First of all, I would recommend that you not use plain mpeg files - they're not meant for Internet deployment.  Try using wmv streams or Quicktime files.

Second, you haven't applied the changes that Nibbler's link points to.  Trust us that the changes put forth in that link  fixes this issue.  It has made many users happy over past few weeks.  Follow the instructions carefully and you'll be back in business.
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: robbie_e on October 05, 2006, 11:56:03 pm
I copied the theme.php from samples to the classic theme and made the modifications as that posts suggests.
What I have since found out is that if i use the classic theme the videos work and if i use any other theme then they dont.


i dont use mpeg file normally it just happens to bt the only vid file i could find to put together a test vid. All my videos are flash and wmv
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: kegobeer on October 06, 2006, 02:00:41 am
Try reading this thread.  If you apply the fix to include/themes.inc.php then all of your themes will work.

http://forum.coppermine-gallery.net/index.php?topic=31291.0
Title: Re: WMV files won't play in IE after 1.4.5 -> 1.4.9 upgrade & theme.php patch
Post by: robbie_e on October 06, 2006, 05:59:33 am
yes once i included the changes at the /inlcude dir things worked out fine. i should have read the whole thread(s)  word for word as you and others have suggested, it just took a while, be great to have an FAQ with direct instructions for recent common problems  ;) for whoever has the time  ;D