diff --git a/src/lib/PdfShare.vue b/src/lib/PdfShare.vue index 32ce7ee..fac32e0 100644 --- a/src/lib/PdfShare.vue +++ b/src/lib/PdfShare.vue @@ -1,13 +1,11 @@ @@ -60,9 +58,9 @@ export default { var renderTask = page.render(renderContext); renderTask.promise.then( () => { - if (this.loading) { + if (!this.pluginHandle) { this.loading = false - document.getElementById('pdfvid').srcObject = document.getElementById('mypdfview').captureStream(60) + // document.getElementById('pdfvid').srcObject = document.getElementById('mypdfview').captureStream(60) this.janusInit.attach( { diff --git a/src/lib/RemoteFeed.vue b/src/lib/RemoteFeed.vue index 704f862..c782fd0 100644 --- a/src/lib/RemoteFeed.vue +++ b/src/lib/RemoteFeed.vue @@ -1,14 +1,15 @@