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: Native MP4 Player  (Read 2166 times)

0 Members and 1 Guest are viewing this topic.

esfbc

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Native MP4 Player
« on: May 09, 2017, 02:40:40 am »

most modern browsers have support for native mp4 and it works well, much better than flash.

I used the plugin called mp4_player

file codebase.php comment lines that start with $pic_html

just under the commented lines add the line:
Code: [Select]
$pic_html = "<video {$autostart} loop poster=\"{$thumb}\" width=\"{$CURRENT_PIC_DATA['pwidth']}\" height=\"{$CURRENT_PIC_DATA['pheight']}\" controls><source src=\"{$file}\" type=\"video/mp4\">Your browser does not support the video tag.</video>";
and you will get a native mp4 player
Logged

esfbc

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Native MP4 Player
« Reply #1 on: May 09, 2017, 02:42:30 am »

Logged

esfbc

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Native MP4 Player
« Reply #2 on: May 09, 2017, 02:50:39 am »

I have to plug my site  ;)  please, no ddos  ;D ;) ;) ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.