Browse Source

禁止视频下载

ct 4 ngày trước cách đây
mục cha
commit
8091aa785c
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/views/course/videoResource/index.vue

+ 3 - 3
src/views/course/videoResource/index.vue

@@ -107,7 +107,7 @@
           </a>
         </template>
       </el-table-column>
-      <el-table-column label="CDN" align="center">
+      <!-- <el-table-column label="CDN" align="center">
         <template slot-scope="scope">
           <a
             @click="copy(scope.row.videoUrl)"
@@ -115,7 +115,7 @@
             复制链接
           </a>
         </template>
-      </el-table-column>
+      </el-table-column> -->
       <el-table-column label="关联题目" align="center">
         <template slot-scope="scope">
           <a
@@ -301,7 +301,7 @@
       class="video-preview-dialog"
       :modal-append-to-body="false"
       :before-close="handleCloseVideoPreview">
-      <video ref="up-video" id="video" width="100%" height="400px" controls :src="videoPreviewUrl" />
+      <video ref="up-video" id="video" width="100%" height="400px" controls :src="videoPreviewUrl" disablepictureinpicture controlsList="nodownload nofullscreen nopictureinpicture" />
     </el-dialog>
 
     <!-- 批量选择视频弹窗 -->