2012. 12. 5. 11:53ㆍ프로그래밍/Jscript
Plugin 으로 RTMP를 사용했을 때..
이상하게... autoplay 를 하면 영상을 처음부터 시작하는데.. Controllbar 가 끝으로 가있는 문제가.. 보였다..
어잉.. 뭐지 하고 이리절 Doc 뒤지니.. durationFunc: 'getStreamLength' 라는게 보인다..
해봤더니.. 되네;;; 멀까 이녀석...
flowplayer("player3", {src: "/flash/flowplayer/flowplayer.swf", wmode: 'opaque'}, {
debug : true,
onBeforeLoad:function(){
},
onLoad:function(){
console.log("Sdfs");
},
clip: {
autoPlay: true,
autoBuffering: true,
scaling: 'fit',
provider: 'rtmp',
onBegin : function()
{
alert("start");
}
},
plugins: {
controls: {
stop: true,
autoHide: false
},
rtmp: {
url: '/flash/flowplayer/flowplayer.rtmp.swf',
netConnectionUrl: 'rtmp://1.../vod',
durationFunc: 'getStreamLength'
}
}
});
'프로그래밍 > Jscript' 카테고리의 다른 글
DRAG EVENT 관련 (0) | 2017.07.20 |
---|---|
WINDOW DPI 에 대한 EVENT MOUSE POSITION 관련 (0) | 2017.07.20 |
javascript 안드로이드 버전 체크하려고 만들어 본거 (0) | 2013.04.01 |
상단고정 레이엉 <div> (0) | 2013.03.21 |
한글 올바른 표현법 체크 (0) | 2011.10.19 |