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]   Go Down

Author Topic: Native MP4 Player  (Read 501 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.068 seconds with 20 queries.