let videoPlayerMixin = { data() { return { prevPlayer: '', } }, methods: { initPlayVideoInfo(videoFieldId, qcloudSubappid, width = 320, height = 450, player_id = 'player-container-id') { setTimeout(() => { if (this.prevPlayer != '') { this.prevPlayer.loadVideoByID({ fileID: videoFieldId, appID: qcloudSubappid, width: width, height: height, }); } else { this.prevPlayer = TCPlayer(player_id, { fileID: videoFieldId, appID: qcloudSubappid, width: width, height: height, }); } }, 500) }, } };