묻고답하기

function displayMultimedia(src, width, height, auto_start, flashvars) {
    if(src.indexOf('files')==0) src = request_uri+src;
    if(auto_start) auto_start = "true";
    else auto_start = "false";
          
    var clsid = "";
    var codebase = "";
    var html = "";

    if(typeof(flashvars)=="undefined") flashvars = "";

    if(/\.swf/i.test(src)) {
        clsid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
        codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0";
        html = ""+
            "<object classid=\""+clsid+"\" codebase=\""+codebase+"\" width=\""+width+"\" height=\""+height+"\" flashvars=\""+flashvars+"\">"+
            "<param name=\"wmode\" value=\"transparent\" />"+
            "<param name=\"menu\" value=\"false\" />"+
            "<param name=\"allowScriptAccess\" value=\"sameDomain\" />"+
            "<param name=\"movie\" value=\""+src+"\" />"+
            "<param name=\"quality\" value=\"high\" />"+
            "<param name=\"flashvars\" value=\""+flashvars+"\" />"+
            "<embed src=\""+src+"\" autostart=\""+auto_start+"\"  width=\""+width+"\" height=\""+height+"\" flashvars=\""+flashvars+"\" wmode=\"transparent\"></embed>"+
            "<\/object>";
    } else if(/\.flv/i.test(src)) {
        html = "<embed src=\""+request_uri+"common/tpl/images/flvplayer.swf\" allowfullscreen=\"true\"  menu=\"false\" autostart=\""+auto_start+"\" width=\""+width+"\" height=\""+height+"\" flashvars=\"&file="+src+"&width="+width+"&height="+height+"&autostart="+auto_start+"\" />";
    } else {
        html = "<embed src=\""+src+"\" autostart=\""+auto_start+"\" width=\""+width+"\" height=\""+height+"\"></embed>";
    }
    document.writeln(html);
}

여기서 flashvars는 어디서 값을 넘겨받는건가요??
아무리뒤져봐도 값을 입력하는곳이 없는데....
width나 height나 autostart는 멀티미디어 컴포넌트팝업창서 넘어오는거같은데..


모듈/에디터/컴포넌트/멀티미디어링크/multimedia_link.class.php이 파일 맨밑에보면
 function transHTML($xml_obj) {
            $src = $xml_obj->attrs->multimedia_src;
            $style = $xml_obj->attrs->style;

            preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$style,$matches);
            $width = trim($matches[3][0]);
            $height = trim($matches[3][1]);
            if(!$width) $width = 400;
            if(!$height) $height = 400;

            $auto_start = $xml_obj->attrs->auto_start;
            if($auto_start!="true") $auto_start = "false";
            else $auto_start = "true";
       
            $caption = $xml_obj->body;

            $src = str_replace(array('&','"'), array('&amp;','&qout;'), $src);

            return sprintf("<div><script type=\"text/javascript\">displayMultimedia(\"%s\", \"%s\",\"%s\",%s);</script></div>", $src, $width, $height, $auto_start);     
        }
    }
이 부분이 있는데 %s가 하나 빠진거 아닌가요?? common.js에서는 5가지를 적어야 되는데 바로 요 위 핑크색부분보면 %s하나가 빠진거 아닌가요?? 그 뒷부분도 그렇고

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
왜만지냐 xe최신(최근)이미지위젯 질문입니다.  
이승우462 업로드 파일 크기 제한 변경 가능한가요? [2] 2008.06.26 by ePeMJF
아쮸구리 확장변수가 정확하게 잘모르겠습니다. [3] 2008.06.26 by 아쮸구리
아쮸구리 네이버 실시건 검색어 대해서.. file  
Ahn_ XE 보드의 탈퇴에 관하여..  
김석민137 게시판 덧글 폼 삭제하는 법 [2] 2008.06.25 by 김석민137
북한산여우 아시는 분이 없나요? 확장변수 달력팝업 위치.  
모노로그 admin 의 title을 수정하려 할 경우? [2] 2008.06.25 by 모노로그
gksrlfghks 리눅스로 제로보드를 사용하려고 합니다. [1] 2008.06.25 by gksrlfghks
withover 제로보드 로그인 풀림 문제 [1] 2008.06.25 by withover
햇살마루1 레이아웃 설치방법  
C。9ːHena〃 api ..아직도 안되는데 .. 해결좀 해주세요 ! [2] 2008.06.25 by C。9ːHena〃
몬트레이킴 가입폼 변경.. [2] 2008.06.25 by 몬트레이킴
청개구리00 외부페이지 글자 꺠지는 현상.. [2] 2008.06.25 by ㅌㅌㅌ
요리조아 왕 초자 두번째 질문입니다. [2] 2008.06.25 by 요리조아
강두석144 최근문서 출력 [첫번째 줄이 안보임] [4] file 2008.06.25 by 비나무
하늘구름바람 더운데.. 힘내시고요~~ 링크 관련 질문드려요~~ ^^ [1] 2008.06.25 by 비나무
미나루 여기서 홈페이지 어떻게 만드나요..? [1] 2008.06.25 by 비나무
소현 전체메뉴 버튼 글씨색 변경? [2] 2008.06.25
해스콕 관리자인데도 용량제한에 걸리네요 [6] 2008.06.25 by 해스콕
콜롬보(유승용) 콤포넌트 출력이 안됨 [2] [1] 2008.06.25 by 콜롬보(유승용)
제로왕초보 알ftp에서 업로드가 전혀 되질 않아요 [4] file 2008.06.25 by N0ah
김준성133 기존에 홈페이지 게시글 들을 ... [1] 2008.06.25 by 정승재
정승재 글 등록 프로그램을 만들었는데 파일첨부 부분에서 막힙니다.  
데오필로 파일첨부가 안되요??? [5] 2008.06.25 by 데오필로
semirush [긴급] 버그발견 - 제발 도움좀 주세요!!! [3] 2008.06.25 by semirush
박성준 설정시 설정과 로그를 NO로 햇더니 관리자모드로 들어갈 방법이 없네요. [1] 2008.06.25 by 백성찬
민우 에디터에서 글자깨짐현상 file  
Ryo [급] 외환은행 환율정보 글자깨짐 현상 재질문 [5] 2008.06.25 by Ryo
제로다 (요청하신 모듈을 찾을 수 없습니다)라고 나오는데요.. ㅠ.ㅠ [1] 2008.06.25 by 픽스맨