PC랑 모바일이랑 리사이즈가 달라서 고민인데 모바일에서 전체화면으로 사이즈 조절 하려면 어디를 수정 해야되는거죠?
부탁드립니다 알려주세요
댓글 1
-
공수래
2014.09.21 15:17
feriel님 반갑습니다.eh_player.class.php 122~133 라인 사이에 아래 문장 찾아서 width height 값에서 조절하시면 됩니다,아마도 ' aspectRatio' 비율 문제 일거 같아요"$jre ='<script>jQuery(document).ready(function() {jQuery(window).resize();});jQuery(window).resize(function(){var width = jQuery("#'.$jwbox.'").width();var aspectRatio = 5/12;var height = (width * aspectRatio)+ '.$listbar_size.';jwplayer().resize(width,height);});</script>';"즐거운 오후 되세요.PS: 다시 작업하려고 소스를보니 문제가 한두개가 아니네요." $jre ='<script>jQuery(document).ready(function() {jQuery(window).resize();});jQuery(window).resize(function(){var width = '.$jwbox.'.parentNode.clientWidth;var aspectRatio =9 /16;var height = (width * aspectRatio)+ '.$listbar_size.';jwplayer().resize(width,height);});</script>';"$listbar_size 싸이즈도 200에서 240으로 변경하시고큰 따옴표 제거하고 위 문장으로 대체 해보세요