目录

02 如何下载bootstrap&jquery

'; function onCCH5PlayerLoaded() { createPlayer(); } function nextPlayer() { window.cc_js_Player.destroy(); createPlayer(); } function createPlayer() { window.createCCH5Player({ vid: vid, siteid: '250E54BB309422D0', mediatype: 1, autoStart: true, width: '100%', height: '580px', isShare: 'true', parentNode: document.getElementById('test'), }); } function on_CCH5player_ready(obj) { console.log('CCH5player_ready', obj); /* 调用播放器api样例_设置音量*/ window.cc_js_Player.setVolume(0.5); } /* 回调样例_监听音量改变*/ function on_player_volumechange(volume, vid) { console.log('音量改变回调: ', volume, vid); }