Make HTML5 Video Player with Playlist Responsive

You can add attached javascript code file …. /wp-content/plugins/html5-video-player-with-playlist/videoplayer/index.php

<script type=”text/javascript”>
var windowwidth = jQuery(window).width();
var windowheight = jQuery(window).height();

jQuery(window).resize(function() {
windowwidth = jQuery(window).width()*(<?php echo $width;?> / 100);
windowheight = jQuery(window).height()*(<?php echo $height;?> / 100);

jQuery(“#html5player<?php echo $rnd; ?>”).css(“width”, (windowwidth / 15)+’px’);

jQuery(“#html5player<?php echo $rnd; ?>”).css(“height”, (windowheight / 10)+’px’);

console.log(windowwidth);
});
</script>

Posted in: 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