瀏覽代碼

商品资料库修改

喻文俊 3 年之前
父節點
當前提交
2d9a83fada

+ 1 - 1
src/main/resources/templates/document/beauty-archive-detail.html

@@ -111,7 +111,7 @@
                 <!-- 弹出播放窗口 -->
                 <div class="cm-player" v-if="showVideoDialog" @click="handleClosePlayer">
                     <span class="cm-player-btn" @click.stop="handlePlayer" v-if="!isPlayer"></span>
-                    <video controls width="1000" height="560" ref="videoRef">
+                    <video controls width="1000" height="560" ref="videoRef" autoplay>
                         <source :src="currentVideoUrl" type="video/mp4">
                         您的浏览器不支持Video标签。
                     </video>

+ 1 - 1
src/main/resources/templates/product/detail.html

@@ -362,7 +362,7 @@
                         <!-- 弹出播放窗口 -->
                         <div class="cm-player" v-if="showVideoDialog" @click="handleClosePlayer">
                             <span class="cm-player-btn" @click.stop="handlePlayer" v-if="!isPlayer"></span>
-                            <video controls ref="videoRef">
+                            <video controls ref="videoRef" autoplay>
                                 <source :src="currentVideoUrl" type="video/mp4">
                                 您的浏览器不支持Video标签。
                             </video>