아미나 스킨에서 movie.lib.php의 amina_video_content 함수 소스입니다.
$video['width']를 200으로 $video['height']= 150으로 바꾸려고 하는데요
동영상은 유투브 이빈다.
동영상 플레이어 크기가 변경이 안됩니다.
어디서 변경가능한가요
//Show Video Player
function amina_video_content($vid, $mobile='') {
$video = array();
$video = amina_video_info($vid, "view");
//Player Size
$auto_size = false;
if(!$video['width']) {
switch($video['type']) {
//case 'youtube' :$video['width'] = 400; break;
//default : $video['width'] = 640; break;
case 'youtube' :$video['width'] = 200; break;
default : $video['width'] = 200; break;
}
//$auto_size = true;
}
if(!$video['height']) {
switch($video['type']) {
//case 'nate' : $video['height'] = 384; break;
//default : $video['height'] = 360; break;
case 'nate' : $video['height'] = 150; break;
default : $video['height'] = 150; break;
}
}
$video['width'] = 200;
$video['height'] = 150;
$m_video = false;
/*
if(G5_IS_MOBILE) {
switch ($video['type']) {
case 'pandora' : $m_video = true; $m_txt = 'PandoraTV'; break;
case 'nate' : $m_video = true; $m_txt = 'NateTV'; break;
case 'tagstory' : $m_video = true; $m_txt = 'Tagstory'; break;
}
}
*/
$video_show = '';
if($m_video) {
$m_photo = amina_video_img($video['video_url'], $video['vid'], $video['type']);
$video_show .= '

['.$m_txt.'] 동영상을 보실려면 클릭해 주세요.
'."\n";
} else {
if($video['type'] == "file") { //JWPLAYER
$show = '';
include_once(AMINA_PATH.'/app/jwplayer/jwplayer.php');
$jw_id = 'jwplayer_'.rand(1,1000);
$show .= '
Loading the player...
'."\n";
$show .= ''."\n";
} else if($video['type'] == "youtube") { //유튜브
// $show = '';
$show = '';
} else if($video['type'] == "vimeo") { //비메오
if($video['auto']) $auto = "&autoplay=1";
$show = '';
} else if($video['type'] == "ted") { //테드
$show = '';
} else if($video['type'] == "daum") { //다음TV
$show = '';
} else if($video['type'] == "dailymotion") { //Dailymotion
$show = '''" target="_blank" rel="noopener noreferrer">http://www.dailymotion.com/embed/video/'.$video['vid'].'">'' target="_blank">http://www.dailymotion.com/embed/video/'.$video['vid'].'">';
} else if($video['type'] == "pandora") { //판도라TV
if($video['auto']) $auto = "&autoPlay=true";
$show = '';
} else if($video['type'] == "nate") { //네이트TV
$show = '';
} else if($video['type'] == "tagstory") { //Tagstory
$show = '';
}
if($show) {
$v_css = (G5_IS_MOBILE || $auto_size) ? 'm_' : '';
$video_show .= '
';
$video_show .= $show;
$video_show .= '
'."\n";
}
}
return $video_show;
}