Skip to main content
All CollectionsFAQs and Troubleshooting
Troubleshooting Embedded StoryPrompts
Troubleshooting Embedded StoryPrompts
Updated over 9 months ago

Your Browser Was Unable to Access Your Camera

If you've embedded the StoryPrompt embed code on your website and when a respondent tries to record, they experience the following error, it usually means that your CMS is automatically removing permissions StoryPrompt needs to work:

The good news is that we have a workaround! Simply add this script code anywhere on your page (but ideally at the end of the <body> section) and it will resolve itself:

<script> setTimeout(function () { var iframes = document.querySelectorAll("iframe"); for (var i = 0; i < iframes.length; i++){ iframes[i].setAttribute("allow", "camera *; microphone *; autoplay *; encrypted-media *; fullscreen *; display-capture *;"); } }, 3000); </script>

Did this answer your question?