Advanced search  

News:

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

Pages: 1 ... 5 6 7 8 [9]   Go Down

Author Topic: Flash Media Player plugin with visual integration (play flv/mp4/mp3/aac files)  (Read 139471 times)

0 Members and 1 Guest are viewing this topic.

Laeckerli

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: FLV Player for cpg1.5.x
« Reply #160 on: July 10, 2015, 07:54:46 am »

Hi Αndré

Q: The Flash Media Player (flash_media_player): v2.1 for biger playscreen?
Right now only 320x240 ... but like 640x480 or higher?

Possible?

Bye - Martin
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15429

The plugin uses the width/height settings of your Coppermine gallery by default. If you set any width/height values in a video's file information (edit_one_pic.php), those values will used instead. So either you need to adjust the default values of your Coppermine gallery (of course this will also apply to pictures!), or you need to set it manually for each video.
Logged

chyna

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

Open codebase.php, find
Code: [Select]
$CURRENT_PIC_DATA['pheight'] += 24;and replace with
Code: [Select]
    $CURRENT_PIC_DATA['pwidth'] = 512;
    $CURRENT_PIC_DATA['pheight'] = 384;
    $CURRENT_PIC_DATA['pheight'] += 24;

I am using this plugin v2.1 and I was going to try to default set width/height values so I do not have to do it manually for each video but upon searching the codebase.php file I did not find this particular code unless I'm looking in the wrong place. cmg/plugins/flash_media_player
Code: [Select]
$CURRENT_PIC_DATA['pheight'] += 24;
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15429

Add it above
Code: [Select]
$media_file = $CONFIG['ecards_more_pic_target'].get_pic_url($CURRENT_PIC_DATA, 'fullsize');
Logged
Pages: 1 ... 5 6 7 8 [9]   Go Up
 

Page created in 0.023 seconds with 28 queries.