页面中包含video标签的话,video无法截取,其余图片也受影响
版本号1.9.14,
图中间是video标签的视频,右下角是图片,如果把video标签去除后,图片恢复正常
@Lisiyao813 thank you for open this issue. Currently, the core of SnapDOM doesn’t support capturing
Could you please explain your issue in Chinese (or provide more details in your own language)? That way, I can translate it later or someone from the community can help me better understand the problem in English.
Thanks again for your feedback!
@Lisiyao813 thank you for open this issue. Currently, the core of SnapDOM doesn’t support capturing
Could you please explain your issue in Chinese (or provide more details in your own language)? That way, I can translate it later or someone from the community can help me better understand the problem in English.
Thanks again for your feedback!
@Lisiyao813感谢您提出这个问题。目前,SnapDOM 的核心不支持捕获
您能否用中文解释一下您的问题(或者用您的母语提供更多详细信息)? 这样,我稍后可以翻译,或者社区里的其他人可以用英语帮助我更好地理解这个问题。
再次感谢您的反馈!
帮忙看下二楼,图中间是video标签的视频(真实情况下是在播放视频中),右下角是图片,如果把video标签去除后,图片恢复正常
你放个demo上来就行了,你说没法截取、受到影响,具体是什么影响也没说清楚,你放张图谁看得懂 开发者是需要复现的,你用CodePen或者CodeSandBox,或者直接单个html做一个最简化的demo不就好了
snapshpt.html 点击视频进行播放后进行截图,可以看出视频没有被截取
Thank you! I will check it as soon as possible
Thank you! I will check it as soon as possible
你好,这个问题有进展了吗?
Thank you! I will check it as soon as possible
你好,这个问题有进展了吗?
你好,我想在插件内部解决前,可以如下打个补丁 考虑先用canvas绘制当前帧画面成图片,覆盖在视频上,然后用snapdom绘制截图,之后再移除这个canvas图片
注意加载的跨域静态资源,html标签加上 crossOrigin="anonymous" 属性
目前我这边是如此处理的
Thank you! I will check it as soon as possible
你好,这个问题有进展了吗?
你好,我想在插件内部解决前,可以如下打个补丁 考虑先用canvas绘制当前帧画面成图片,覆盖在视频上,然后用snapdom绘制截图,之后再移除这个canvas图片
注意加载的跨域静态资源,html标签加上 crossOrigin="anonymous" 属性
目前我这边是如此处理的
我这边视频是通过三方sdk直接动态写入的,可能还会有多个视频,标签不太好添加