유튜브 4k 모바일에서 heigth 크기 조절하는 방법 입니다.
페이지 정보
작성자
본문
모바일에서 유튜브 height 크기를 조절할 수 있으나 동영상 비율로 인해서 가로가 잘릴 수 있습니다.
이유는 세로가 길어지면 가로가 자연스럽게 늘어나기 때문 입니다.
아래 스타일시트를 style_blue.css 에 맨 마지막에 넣으시거나 해당 유튜브 백그라운드가 있는
페이지에 직접 넣으셔도 됩니다. 1024px 이하라면 실행되는 코드 이므로 해당 사이즈에 맞게
조절해 주시면 될것 같습니다.
아래 500px 조절해 주시면 해다 사이즈가 변경됩니다.
감사합니다. ^^
<style>
@media (max-width: 1024px) {
.inline-YTPlayer {
height: 500px !important;
width: 100% !important;
max-width: none !important;
max-height: none !important;
}
.inline-YTPlayer .mb_YTPlayer {
height: 500px !important;
padding-bottom: 0 !important;
}
}
</style>
댓글목록
등록된 댓글이 없습니다.