Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

截屏中带有视频的不好用 #10

Closed
syx496602504 opened this issue Feb 22, 2023 · 1 comment
Closed

截屏中带有视频的不好用 #10

syx496602504 opened this issue Feb 22, 2023 · 1 comment

Comments

@syx496602504
Copy link

 data() {
        return {
          code: `<div style="text-align: center;">
  <h1>egami</h1>
  <h1>→</h1>
  <h1>image</h1>
  <video src='https://www.runoob.com/try/demo_source/movie.mp4' controls autoPlay></video>
</div>`,
          src: null,
        }
      },

image

qq15725 added a commit that referenced this issue Feb 22, 2023
@qq15725
Copy link
Owner

qq15725 commented Feb 22, 2023

已修复,目前 video 截图需要视频源支持 CORS

https://modern-screenshot.vercel.app

示例提供了同源情况

<div style="text-align: center;">
  <h1>egami</h1>
  <h1></h1>
  <h1>image</h1>
  <video src="/movie.mp4" controls autoPlay></video>
</div>

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants