diff --git a/components-diy/diy-channel-video.vue b/components-diy/diy-channel-video.vue index 9a9ceab..de09bb9 100644 --- a/components-diy/diy-channel-video.vue +++ b/components-diy/diy-channel-video.vue @@ -7,6 +7,7 @@ :feed-id="value.feedId" :finder-user-name="value.finderUserName" :feed-token="value.feedToken" + :auto-play="autoPlay" :style="embedVideoStyle"> // #endif @@ -119,6 +120,11 @@ export default { backgroundColor: 'rgba(0, 0, 0, 0.6)' }) }, + /** 是否自动播放 */ + autoPlay: { + type: Boolean, + default: false + }, }, computed: {