This is an MP4 Parser using the HTML5 video tag.


Code
[mp4]https://www.outdoorking.com/forum/images/jack/z_video/victa_1966.mp4[/mp4]

Custom BBCode (customtags.txt):
Code
<?php
$export_tags = array (
  0 => 
  array (
    'tag' => 'mp4',
    'descrip' => 'Video: MP4',
    'prompt' => 'URL for the video file; eg: https://example.com/xxxxxx.mp4',
    'regex' => '([a-zA-Z0-9-_.&:/]+)',
    'markup' => '<div class="video-container">
<video style="max-width:100%;" controls="">
<source src="\\\\1" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>',
  ),
);
?>

In order to make the mp4 videos responsive you will need to modify common.css, find:
Code
.video-container iframe, .video-container object, .video-container embed{height:100%;left:0;position:absolute;top:0;width:100%;}

Replace With:
Code
.video-container iframe, .video-container object, .video-container embed, .video-container video{height:100%;left:0;position:absolute;top:0;width:100%;}