Hello,
I’m trying to use the Zappar Video Recorder, but cannot get it to even import.
1.
Using the CDN, when importing the script like so (just a copy of the instructions page):
<script src="https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js"></script>
it throws the following error:
zappar-videorecorder.js:1 Uncaught DOMException: Failed to construct 'Worker': Script at 'https://libs.zappar.com/zappar-videorecorder/0.1.18/https://libs.zappar.com/zappar-videorecorder/0.1.18/video.worker?inline=fallback' cannot be accessed from origin 'https://127.0.0.1:8080'.
at new s (https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js:1:7697)
at Object.607 (https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js:1:6983)
at i (https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js:1:7859)
at https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js:1:8747
at https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js:1:8755
at https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js:1:215
at https://libs.zappar.com/zappar-videorecorder/0.1.18/zappar-videorecorder.js:1:219
2.
Similarly, when I try to download the script locally and add it like so:
<script src="zappar-videorecorder.js"></script>
I have another error:
https://127.0.0.1:8080/https://127.0.0.1:8080/video.worker?inline=fallback 404 (Not Found)
A quick search pointed that it may be related to a problem with “running workers locally”, which I’m not familiar with.
Can you help fixing the instructions to get it setup properly?
Thanks!
T