Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Native MP4 Player  (Read 9669 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.019 seconds with 19 queries.