0
我使用Actionscript 3的Youtube API來動態加載Youtube視頻。在Actionscript 3中刪除Youtube視頻的聲音
http://code.google.com/apis/youtube/flash_api_reference.html#Loading
當我刪除使用player.destroy當前視頻();和stage.removeChild(),視頻消失。但是當新加載的視頻開始播放時,來自前一視頻的聲音軌道將在後臺播放。
有什麼想法?
我以前遇到同樣的問題。不幸的是,SoundMixer僅適用於FLVPlayback組件。原來我引用了錯誤的對象。 player.stopVideo()+ loader.loadURLRequest()正常工作。有關詳情,請訪問此頁面:http://code.google.com/apis/youtube/flash_api_reference.html – 2011-05-25 15:44:07