‘);
clearInterval(flowTimer);
}
attempts++;
if (attempts > 10)
clearInterval(flowTimer);
}, 600);
});
$(window).resize(function()
updatePlayerSize();
);
function updatePlayerSize(width){
//console.log(‘window width: ‘ + width);
ratio = 9/16;
width = $(‘.player_wrapper’).parent().width();
height = width*ratio;
padding = 0;
$(‘.player_wrapper’).show();
$(‘.player_wrapper’).width(width-padding);
$(‘.player_embed_container’).width(width-padding).height(height);
$(‘.extra_buttons’).width(width-padding);
$(‘.flow_playlist_container’).width(width-padding);
$(‘.flow_player’).width(width-padding).height(height);
$(‘.flow_player object’).width(width-padding).height(height);
$(‘.video-js-box’).width(width-padding).height(height);
$(‘.video-js-box video’).width(width-padding).height(height);
if (width
Local
GOP House backs state medical marijuana laws
No comments:
Post a Comment