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

页面嵌套iframe,iframe链接pdf。录屏报错问题 #72

Open
mikeyreilin opened this issue Dec 25, 2020 · 3 comments
Open

页面嵌套iframe,iframe链接pdf。录屏报错问题 #72

mikeyreilin opened this issue Dec 25, 2020 · 3 comments

Comments

@mikeyreilin
Copy link

微信图片_20201225165224

@cbbfcd
Copy link
Contributor

cbbfcd commented Dec 25, 2020

@mikeyreilin 可以提供复现的 demo 吗?

@mikeyreilin
Copy link
Author

`


<button @click='showIframe'>点击显示iframe
<iframe src="https://weixinuat.zhlic.com.cn/insurance-weixin-web/profile/commodityFile/S20000082/a66e6dd3a5fd04a149c2e3184e95aaac.pdf"></iframe>


<script> // import { Recorder, Player } from 'timecatjs'; // import { Recorder } from '@timecat/recorder' // import { Player } from '@timecat/player' import TimeCat from '../common/timecat.js'; export default { data() { return { isShow: false, app:[] } }, name: 'App', components: { }, methods:{ showIframe(){ this.isShow = true; console.log(TimeCat) } }, onLoad: function(option) { const recorder = new Recorder() recorder.onData((data) => { console.log("data") console.log(data) this.app.push(data) }) } } </script>

`
https://stackblitz.com/edit/vue-xrn9zs
大概就是这样,实际代码要复杂些

@cbbfcd
Copy link
Contributor

cbbfcd commented Dec 28, 2020

get

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