@@ -102,6 +102,14 @@ export default {
},
replay(){
this.initVideo();
+ },
+ checkBrowser(){
+ // 检查浏览器是否支持
+ if(this.videoPlayer){
+ return this.videoPlayer.isSupported();
+ }else{
+ return null;
+ }
}