> For the complete documentation index, see [llms.txt](https://polyv.gitbook.io/document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polyv.gitbook.io/document/docs/unclassified/2018/604dc2ccb8806b3611359ee1c56124a2.md).

# 聊天室后台的管理设置（视频）

new Vue({ el: '#player', data() { return { vodPlayerJs: '<https://player.polyv.net/script/player.js>', vid: '88083abbf521c7c7f98f8c174417571f\_8', }; }, mounted(){ this.loadPlayerScript(this.loadPlayer); }, methods: { loadPlayerScript(callback) { if (!window\.polyvPlayer) { const myScript = document.createElement('script'); myScript.setAttribute('src', this.vodPlayerJs); myScript.onload = callback; document.body.appendChild(myScript); } else { callback(); } }, loadPlayer() { const polyvPlayer = window\.polyvPlayer; this.player = polyvPlayer({ wrap: '#player', vid: this.vid , autoplay:false }); } }, destroyed() { if (this.player) { this.player.destroy(); } } })

### 聊天室后台的管理设置

1. 在频道刚建立的时候，聊天室、弹幕、欢迎语、点赞语、红包功能、跑马灯公告、在线用户列表默认都是开启状态的，而聊天审核、聊天回放是关闭状态的；
2. 可以通过点击按钮，开启或者关闭对应的功能。

　
