Single HTML5 Video without Playlist

HTML5 Video Player with Playlist have HTML5 video the element enable native video playback within the browser.  It supports all browsers i.e. iOS, Android, Firefox, Chrome, Safari, IE and Opera.

You can enable single html5 video without playlist using below code..

You need to remove 2 options in JavaScript

playlist: ‘<?php echo plugin_dir_url(__FILE__); ?>../xml/<?php echo $xml; ?>’,
vertical: <?php echo $playlistmod; ?>,

 

For single video JavaScript look like →

<script type=”text/javascript”>
jQuery(function() {
jQuery(“#html5player<?php echo $rnd; ?>”).html5player({
width: ‘<?php echo $width; ?>px’,
height: ‘<?php echo $height; ?>px’,
autoNext: <?php echo $autonext; ?>,
shuffle: <?php echo $shuffle; ?>,
loop: <?php echo $loop; ?>,
scrollMode: “hover<?php //echo $scrollmode; ?>”, //”auto”
logo: “<?php echo $logo; ?>” // logo.png
});
});
</script>

<video id=”html5player<?php echo $rnd; ?>” src=”VIDEO-LINK” poster=”VIDEO-IMAGE-LINK”></video>

 

Posted in: HTML5, HTML5Video, WordPress

About Us

We are one of the leading provider for HTML5 MP3/MP4 Horizontal Playlist, Vertical Playlist, Karaoke, Lyrics, FeedBurner Podcast, Amazon S3, AWS CloudFront, CDN, Wordpress, Joomla, Standalone, Video, Radio, Folder Player.

Connect With Us