//yourfilehost_player_widen.js (function() { if(document.location.href.indexOf('http://www.yourfilehost.com/media.php?')!=0) return; var do_resize=function(player) { player.style.position='absolute' player.style.top=0 player.style.left=0 player.style.zIndex=10000 player.style.width=document.body.offsetWidth; player.style.height=''+(player.offsetWidth*0.75)+'px' } var i_id=setInterval(function() { var player=document.getElementById('fsDiv') if(!player) return do_resize(player) window.onresize=function(){do_resize(player)} clearInterval(i_id); },100); })();
http://anond.hatelabo.jp/20080921012956 のほぼコピペ。 何も考えず巨大化してるのでメニューとか見えなくなりますあしからず。 動画プレイヤーを最大化する需要は他のサイトにおいても存在す...