1
我正在使用Flash播放器查看實時流。雖然我這樣做,我試圖播放和暫停使用以下功能的流,但它只適用於只有一次點擊。如果我重新點擊它不會顯示任何更改。如果你意識到我的問題。請給我建議。播放和暫停功能只能使用一次
function testPause(event:MouseEvent) {
nsPlay.pause();
}
function testPlay(event:MouseEvent) {
if(!bolLoaded) {
nsPlay.play(streamValue);
bolLoaded = true;
} else {
nsPlay.resume();
}
}