mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-04 12:49:14 +08:00
fix: 修复使用视频组件时保存画板缩略图的异常
This commit is contained in:
parent
fa0c570f90
commit
58033530c1
@ -1,9 +1,11 @@
|
||||
<!-- eslint-disable vue/multi-word-component-names -->
|
||||
<template>
|
||||
<!-- 重要:需要设置 crossOrigin="anonymous",否则保存画板缩略图会失败 -->
|
||||
<video
|
||||
ref="vVideoRef"
|
||||
class="go-video"
|
||||
preload="auto"
|
||||
crossOrigin="anonymous"
|
||||
playsinline
|
||||
:loop="option.loop"
|
||||
:autoplay="option.autoplay"
|
||||
|
Loading…
Reference in New Issue
Block a user