<div id="videogfw"> <script type="text/javascript"> var default_src = "default video source( should looks like: http://xxx.com/xxx)" var alternate_src = "alternative video source( should looks like: http://xxx.com/xxx)"
// the default video source you wanna play chooseVideo(default_src);
// Uncomment the following line if you want // it automatically select the video source // according to ip address: // videoGFW(alternate_src); </script> </div> 选择视频来源: <ul> <li> <button class="btn" onclick="chooseVideo(default_src)"> 优酷 </button> </li> <li> <button class="btn" onclick="chooseVideo(alternate_src)"> YouTube </button> </li> </ul>