You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$('video').each(function(){
_V_( $(this).attr('id') ).ready(function(){
var myPlayer = this; // Store the video object
var aspectRatio = 9/16; // Make up an aspect ratio
function resizeVideoJS(){
// Get padding
var paddingL = parseInt($('#'+myPlayer.id).parent().css('padding-left')),
paddingR = parseInt($('#'+myPlayer.id).parent().css('padding-right'))
// Get the parent element's actual width
var width = document.getElementById(myPlayer.id).parentElement.offsetWidth;
// Recalculate width to include padding
width = width - (paddingL + paddingR);
myPlayer.width(width).height( width * aspectRatio ); // Set width to fill parent element, Set height
}
resizeVideoJS(); // Initialize resizeVideoJS()
window.onresize = resizeVideoJS; // Call resizeVideoJS() on window.resize();
});// ready
});// each
}// if
}// function
The text was updated successfully, but these errors were encountered:
Any ideas? It looks like the IE9 Update Version 9.0.8 is not loading the vids. Update version 9.0.1 is ok. Trippy!
Video Format: MP4 / H.264.
Mime type: video/mp4
HTML:
< video id="video_1262" class="video-js vjs-default-skin" controls preload="none"
poster="/media/4165/puzzle.jpg" data-setup="{}">
< source src="/media/6221/video.mp4" type='video/mp4' />
< /video>
Javascript:
function initVideos(){
if ($('video').length) {
}// function
The text was updated successfully, but these errors were encountered: