// Find all YouTube videos
var $allVideos = $("iframe[src^='http://player.vimeo.com'], iframe[src^='http://www.youtube.com'], embed[src^='http://www.youtube.com']"),

    // The element that is fluid width
    $fluidEl = $("body");

// Figure out and save aspect ratio for each video
$allVideos.each(function() {

  $(this)
    .data('aspectRatio', this.height / this.width)

    // and remove the hard coded width/height
    .removeAttr('height')
    .removeAttr('width');

});

// When the window is resized
$(window).resize(function() {

  var newWidth = $fluidEl.width();

  // Resize all videos according to their own aspect ratio
  $allVideos.each(function() {

    var $el = $(this);
    $el
      .width('300')
      .height('260');

  });
// Kick off one resize to fix all videos on page load
}).resize();

이걸 모바일 게시판 스킨 js파일에 넣어주시면 됩니다
번호 제목 글쓴이 날짜 조회 수
공지 XE와 연관된 자료를 올릴 생각입니다. 공수래 2013.03.15 7835
29 eh_img_slider 위젯 v 0.3 [1] file 공수래 2014.07.09 63565
28 eh_player 플레이 리스트 재생 테스트 file 공수래 2015.05.08 10280
27 jwplayer 6 xe 에디터 컴포넌트 버전업 [29] file 공수래 2013.09.05 8659
26 모바일 첨부,댓글,댓글쓰기 항상 열어놓기 공수래 2013.08.01 6351
25 eh_jwplayer 1.7 버전 설정및 사용설명서 file 공수래 2015.05.10 6162
24 모바일로 홈페이지 접속시 원하는 모바일페이지로 이동하기 공수래 2013.08.01 5039
23 eh_whcarousel v0.1 file 공수래 2013.08.16 4107
22 treasurej_popular 위젯 ,스킨포함 file 공수래 2013.08.16 3956
» 모바일에서 유투브 동영상 크기 300px고정 공수래 2013.08.01 3722
20 widgets/newest_document/skins/news_ticker 위젯 스킨을 file 공수래 2013.08.05 3350
19 XE로 접속 장치 구분하기 (모바일, PC + 타블렛 PC) mobile class 이용. (PHP) 공수래 2013.08.01 3311
18 counter_status, rank_count 위젯 file 공수래 2013.08.05 3222
17 jwplayer xe 에디터 컴포넌트 사용법 [2] file 공수래 2013.09.09 3187
16 ideation Popular 위젯 file 공수래 2013.08.16 3038
15 jwplayer6 테스트 file 공수래 2013.03.15 2752
14 XE용 위젯( eh_slider_master ) 테스트 해보세요 [6] file 공수래 2014.07.26 2719
13 eh_img_slider 위젯 v 0.3 file 공수래 2013.08.05 2601
12 tab_newest_document 위젯 file 공수래 2013.08.16 2550
11 모바일 설문조사 크기조절하기 공수래 2013.08.01 2439
10 닉네임 클릭시 회원정보.....등 노출 안되게 공수래 2013.08.01 2288
  • 인기글
  • 최근글
  • 최근댓글