Native MP4 Player Native MP4 Player
 

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]

Main Menu

Native MP4 Player

Started by esfbc, May 09, 2017, 02:40:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

esfbc

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:
$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


esfbc