웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이제 미디어플레이어는 가라? 곰플레이어로 실시간으로 감상하자.
2004.12.05 07:30
http://www.tingstar.co.kr/dct/dct.phphttp://www.tingstar.co.kr
먼저 큰맘먹고 공개하기로 했습니다.
본 소스는 실시간으로 나오는 동영상을 미디어플레이어가 아닌 곰플레이어로 뜨는 소스 입니다.
미리보기는 위에 공개되어 있습니다. windews 98, me, 2000, 2003, xp, xp1, xp2 (테스트 결과 성공)
저작권에 관련된거면 바로 삭제하기로 하겠습니다.
현재 제 홈페이지에 사용중입니다.
밑에의 소스내용입니다. 플래쉬,이미지는 본인 홈페이지에 맞게 수정하시기 바랍니다.
<HTML>
<HEAD>
<script src="http://app.ipop.co.kr/ipop/ipopxinstall.js"></script>
<script language=javascript>
function RunGom(){
ipopxInstall();
if(ipopx.IsInstall){
// 기본 정보 세팅
ipopx.SetVersionURL("http://app.ipop.co.kr/gom/GrVersion.ini");
ipopx.SetClassName("GomPlayer1.x");
ipopx.SetProgramID("GOMPLAYER");
// 스킨 설정
ipopx.GOM_SetOemSkin("http://app.ipop.co.kr/gom/skins/default.gps", 0);
// 곰 실행
ipopx.Run("/nosetup", "", "");
// 곰의 목록 삭제
ipopx.SendCommand("/clearlist");
// 재생할 파일 목록에 추가
var param = "/add "http://동영상이 있는 주소1부"/add "http://동영상이 있는주소2부.avi"";
//alert(param);
ipopx.SendCommand(param);
// 재생 시작
ipopx.SendCommand("/playfirst");
self.close();
}
else
{
var param = "RunGom()";
setTimeout(param, 100); // 설치할때까지 재시도.
}
}
function new_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable){
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? '+ 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
</script>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="javascript:RunGom();" bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<script language="javascript">
var myVer = navigator.appVersion;
if(myVer.indexOf("Windows NT 5.1; SV1") == -1){
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='400' height='300'>");
document.write("<param name=movie value='flash/load.swf'>");
document.write("<param name=quality value=high>");
document.write("<embed src='http://cinezine.maxmp3.co.kr/action/loading.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='400' height='300'></embed>");
} else {
self.resizeTo(580,500);
document.write("<table border='0' width='540' align='center' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td style='font-size:9pt'>");
document.write("<font color='red'><b>고객님은 WindowsXP SP2 로 인하여 ActiveX 컨트롤의 설치가 차단되었습니다.<br>");
document.write("영화를 감상하시려면 아래 그림처럼 위의 설명을 클릭해서 [ActiveX 컨트롤 설치]를 꼭 눌러주세요.</b></font>");
document.write("<p align='center'><img src='images/manual01.gif' width='423' height='81' border='0'></p>");
document.write("그러면 아래 그림처럼 보안경고 창이 나타납니다. 여기서 [설치] 버튼을 클릭하여 곰플레이어를 설치하도록 합니다.");
document.write("이렇게 하셔야만 상영관에서 영화관람이 정상적으로 이루어집니다.");
document.write("<p align='center'><img src='images/manual02.gif' width='540' height='200' border='0'></p>");
document.write("</td></tr></table>");
}
</script>
</BODY>
</HTML>
* TheMics님에 의해서 게시물 이동되었습니다 (2004-12-05 13:54)
먼저 큰맘먹고 공개하기로 했습니다.
본 소스는 실시간으로 나오는 동영상을 미디어플레이어가 아닌 곰플레이어로 뜨는 소스 입니다.
미리보기는 위에 공개되어 있습니다. windews 98, me, 2000, 2003, xp, xp1, xp2 (테스트 결과 성공)
저작권에 관련된거면 바로 삭제하기로 하겠습니다.
현재 제 홈페이지에 사용중입니다.
밑에의 소스내용입니다. 플래쉬,이미지는 본인 홈페이지에 맞게 수정하시기 바랍니다.
<HTML>
<HEAD>
<script src="http://app.ipop.co.kr/ipop/ipopxinstall.js"></script>
<script language=javascript>
function RunGom(){
ipopxInstall();
if(ipopx.IsInstall){
// 기본 정보 세팅
ipopx.SetVersionURL("http://app.ipop.co.kr/gom/GrVersion.ini");
ipopx.SetClassName("GomPlayer1.x");
ipopx.SetProgramID("GOMPLAYER");
// 스킨 설정
ipopx.GOM_SetOemSkin("http://app.ipop.co.kr/gom/skins/default.gps", 0);
// 곰 실행
ipopx.Run("/nosetup", "", "");
// 곰의 목록 삭제
ipopx.SendCommand("/clearlist");
// 재생할 파일 목록에 추가
var param = "/add "http://동영상이 있는 주소1부"/add "http://동영상이 있는주소2부.avi"";
//alert(param);
ipopx.SendCommand(param);
// 재생 시작
ipopx.SendCommand("/playfirst");
self.close();
}
else
{
var param = "RunGom()";
setTimeout(param, 100); // 설치할때까지 재시도.
}
}
function new_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable){
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? '+ 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
</script>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="javascript:RunGom();" bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<script language="javascript">
var myVer = navigator.appVersion;
if(myVer.indexOf("Windows NT 5.1; SV1") == -1){
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='400' height='300'>");
document.write("<param name=movie value='flash/load.swf'>");
document.write("<param name=quality value=high>");
document.write("<embed src='http://cinezine.maxmp3.co.kr/action/loading.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='400' height='300'></embed>");
} else {
self.resizeTo(580,500);
document.write("<table border='0' width='540' align='center' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td style='font-size:9pt'>");
document.write("<font color='red'><b>고객님은 WindowsXP SP2 로 인하여 ActiveX 컨트롤의 설치가 차단되었습니다.<br>");
document.write("영화를 감상하시려면 아래 그림처럼 위의 설명을 클릭해서 [ActiveX 컨트롤 설치]를 꼭 눌러주세요.</b></font>");
document.write("<p align='center'><img src='images/manual01.gif' width='423' height='81' border='0'></p>");
document.write("그러면 아래 그림처럼 보안경고 창이 나타납니다. 여기서 [설치] 버튼을 클릭하여 곰플레이어를 설치하도록 합니다.");
document.write("이렇게 하셔야만 상영관에서 영화관람이 정상적으로 이루어집니다.");
document.write("<p align='center'><img src='images/manual02.gif' width='540' height='200' border='0'></p>");
document.write("</td></tr></table>");
}
</script>
</BODY>
</HTML>
* TheMics님에 의해서 게시물 이동되었습니다 (2004-12-05 13:54)
댓글 13
제목 | 글쓴이 | 날짜 |
---|---|---|
스킨 시스템 구축.(1탄 읽어오기) [11] | 씨파개 | 2003.05.13 |
Wake On Lan 기능 사용하기... [3] | sMokaHallo | 2003.05.17 |
썸네일 자동생성하고 이미지 사이즈 자동 줄이기... [6] | sMokaHallo | 2003.05.21 |
홈페이지의 내용을 DB에 담기 [15] | 세죠위그이 | 2003.05.30 |
체크박스등으로 배열로 변수를 넘길때.. [1] | myself2 | 2003.06.06 |
php 로 기존 문서 포함시키기 [10] | 이성헌 | 2003.06.08 |
PHP 익히기 1 [24] | 구리구리 | 2003.06.09 |
PHP 익히기 2 [9] | 구리구리 | 2003.06.10 |
PHP 익히기 3 [11] | 구리구리 | 2003.06.17 |
이미 인클루드된 파일은 다시 인클루드하지 않기 [14] | 김병희 | 2003.06.20 |
htmlspecialchars 사용하시는 분들 [5] | holies | 2003.07.11 |
Thumbnail 생성하기 - 수정^^; [9] | holies | 2003.07.11 |
'와 "의 속도 차이?! [6] | holies | 2003.07.12 |
초간단 php 랜덤 이미지 및 랜덤 배경이미지 소스 [6] | 거금도 | 2003.07.24 |
다른 사이트에 있는 파일 읽어오기 [50] | 김규백 | 2003.07.25 |
스킨 시스템 사용하기 [2] | 김규백 | 2003.07.25 |
제로보드 + MSN 메신저 (작성글에 리플이나 코멘트가 달리면 MSN으로 알려준다?)
[18]
![]() | HungryMania | 2003.08.01 |
체널을 응용해서 tmain.php?tdb=test&db=src 식으로 쓰기 [12] | 9000㎒ | 2003.08.01 |
$i++ !== $i += 1 [14] | 플로렐라 | 2003.08.04 |
개판 오분전 정규식(4) | 미친개 | 2003.08.07 |