Advanced search  

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]

Pages: [1]   Go Down

Author Topic: flash player plugin  (Read 9081 times)

0 Members and 1 Guest are viewing this topic.

lookingcm

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
flash player plugin
« on: February 08, 2012, 06:54:20 pm »

I have downloaded and installed cpg1.5.x_plugin_flash_media_player_v1.9.zip under Coppermine 1.5.18

There was/is JavaScript issues with this plugin in Internet Explorer 7, 8 and possibly others.

I have found a post where someone has modified codebase.php to fix the issue. However, it seems the codebase.php is older than that of in version 1.9 of the plugin and if installed could possibly cause other bugs?

Does anyone know if this issue has ever been resolved and or what the current solution is? Very surprising that so few use a flash player/HTML5 to play flash/mp4 video files in their galleries.

Thank you in advance!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: flash player plugin
« Reply #1 on: February 24, 2012, 02:56:42 pm »

Please describe exactly those "JavaScript issues" and it would be also very helpful if you'd post a link to the mentioned solution.


Very surprising that so few use a flash player/HTML5 to play flash/mp4 video files in their galleries.
How do you know how much people use that plugin? :o
Logged

lookingcm

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: flash player plugin
« Reply #2 on: April 03, 2012, 06:27:30 pm »

Please describe exactly those "JavaScript issues" and it would be also very helpful if you'd post a link to the mentioned solution.

How do you know how much people use that plugin? :o

The issues I have described are known issues, they are documented under the thread where you can download the flash player:

http://forum.coppermine-gallery.net/index.php/topic,62704.msg337450.html#msg337450

PS: Judging by the replies, support, and lack of solution, I could only conclude that very few use this or there would have been a lot more noise and a solution. Almost 2 months later, there is still no reply or solution. This thing is dead :\ Perhaps everyone who needs a flash player to play video files in their galleries is writing their own module and or hacking the broken existing modules.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: flash player plugin
« Reply #3 on: April 04, 2012, 01:43:53 pm »

I have found a post where someone has modified codebase.php to fix the issue

The only difference I can see is, that gldickens3 replaced
Code: [Select]
        $player = "plugins/flash_media_player/player.swf";
        $player .= "?file=$file";
        $player .= "&image=$thumb";
        $player .= "&autostart=$autostart";
        $player .= "&backcolor={$style['background']}";
        $player .= "&frontcolor={$style['color']}";
        $player .= "&lightcolor={$style['color']}";

        // Use skin if available
        if ($handle = opendir('plugins/flash_media_player/')) {
            $skins = array();
            while (false !== ($file = readdir($handle))) {
                if ($file != 'player.swf' && stripos($file, '.swf') || stripos($file, '.zip')) {
                    $skins[] = $file;
                }
            }
            closedir($handle);
            if (count($skins) == 1) {
                $player .= "&skin=plugins/flash_media_player/".$skins[0];
            }
        }

        $pic_html = <<< EOT
            <object type="{$CURRENT_PIC_DATA['mime']}" width="{$CURRENT_PIC_DATA['pwidth']}" height="{$CURRENT_PIC_DATA['pheight']}" data="$player">
            <param name="movie" value="$player" />
            <param name="allowfullscreen" value="true" />
            <param name="wmode" value="opaque" />
            </object>
EOT;
with
Code: [Select]
          $pic_html = "<embed src=\"plugins/flash_media_player/player.swf\"
          width='".$CURRENT_PIC_DATA['pwidth']."'
          height='".$CURRENT_PIC_DATA['pheight']."'
          allowfullscreen=\"true\"
          allowscriptaccess=\"always\"
          type=\"application/x-shockwave-flash\"
          pluginspage=\"http://www.macromedia.com/go/getflashplayer\"
          flashvars=\"file=$file$normal&autostart=$autostart&backcolor={$style['background']}&frontcolor={$style['color']}&lightcolor={$style['color']}&bufferlength=3\"></embed>";


Unfortunately I cannot test that change, as I've currently no access to IE7/8 with Flash support.
« Last Edit: April 17, 2012, 10:12:07 am by Αndré »
Logged

donmarkuso

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: flash player plugin
« Reply #4 on: April 08, 2012, 04:52:45 pm »

Well, indeed I've got the same video problems with IE 32 bit and 64bit, Win7-64bit. All videos uploaded or streamed to CG need a loooooooong time to be displayed. A white field remains for minutes at the place where the vid should be shown. All other browsers work fine. I did try all flash-player plugins and the streaming plugin too. It is always the same issue. The white field remains for a long time. Other Websites do not cause any flashplayer problems to my Internet Explorer.

So it isn't the plugin. It's something else. But I have absolutely no Idea what it could be.
 
I use the Chaotic Soul theme and did update the player-download-descriptions from classic "sample.php": no effect.

Maybe someone here finds the solution?
www://photo.markusseidel.com

Thank you so much
Donmarkuso
Logged

berni

  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 100
    • Bei Berni
Re: flash player plugin
« Reply #5 on: April 08, 2012, 06:32:31 pm »

Hello,
I only have a 1000 connection but it works good for me. I tried "Back to Back Ankle Biter" and "testvideo", no problems. Testvideo without HD.
I`ve Windows 7, 64 bit and IE 8 and 9.
MfG. Bernd
Logged

donmarkuso

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: flash player plugin
« Reply #6 on: April 09, 2012, 01:26:21 pm »

Well Bernd,

you are right. Thank you for helping out. In my office I'm connected to a Microsoft Small Business Server-Domain (.local) and the problem above appears. At home I've got direct web-access and all the flash vids are shown as soon as you click them. Isn't that sick? As soon as I've got the solution I'll post it at this place.
If someone knows how to change the CG-code it would help a lot - as all other websites with flashvids work fine within the SBS.

Thank you
Donmarkuso
Logged

looking

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: flash player plugin
« Reply #7 on: April 17, 2012, 02:18:20 am »

The flash media plugin is indeed broken. It does not utilize proper JW flash player API which results in JS errors. I have spent some time and implemented a dirty hack to switch from JW player, which isn't free for commercial use, to flowplayer. No more JS errors. Whoever maintains the flash player media plugins needs to update it. It should support thumbnails using ffmpeg and use flowplayer instead of JW Player, or support both. All this should take no more than few hours of coding.

Again, I have no idea why so few use coppermine with video.  ???
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: flash player plugin
« Reply #8 on: April 17, 2012, 10:24:42 am »

Whoever maintains the flash player media plugin
That's me. I just tested the flash media player plugin with WinXP & IE8 at my local testbed - works as expected. So please post a link to your gallery (or even better, a link to a flash video in your gallery that doesn't work as expected). It doesn't help when a couple of people just blame that it doesn't work with their IE in their gallery.

I created the plugin to make your life easier, not to make mine harder. I personally don't use this plugin. So unless somebody gives some helpful input, there won't be a fix.
Logged

josh.wallingford

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: flash player plugin
« Reply #9 on: August 29, 2012, 08:56:47 pm »

Was hoping to throw my hat in here... Andre, if you're around. I'm having playback issues with the plugin. Basically, on PCs, only WMV works. On macs, nothing works. On iOS, only MP4s work. I'm running IE, Safari, Chrome and Firefox and the issue seems to be across the board.
Is there a way I can switch the Flash>HTML5 preference to prefer HTML and test that?

Thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: flash player plugin
« Reply #10 on: September 03, 2012, 01:26:31 pm »

I'm having playback issues with the plugin. Basically, on PCs, only WMV works. On macs, nothing works. On iOS, only MP4s work.
The plugin doesn't play WMV files, but only FLV, MP4, MP3 and AAC files. If the plugin is installed, it's automatically used for the supported file types, regardless if your system has Adobe's Flash Player installed or not. So it should work on all system that have the flash player plugin installed.


Is there a way I can switch the Flash>HTML5 preference to prefer HTML and test that?
Uninstall the Flash Media Player plugin.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.