audio recorder content not showing - javascript errors
Submitted by jeffnye on Tue, 08/28/2018 - 22:29
Forums:
When I view the official H5P site's Audio Recorder page in Chrome I see the audio recorder and it seems to function as expected. On my client wordpress site the Audio recorder is not showing on the page. I do see there are some javascript errors happening, and they go away when I remove the H5P audio recorder shortcode.
The errors indicate a security issue that the page is detecting, so that is why it is not showing the content. I'm not sure how to fix this.
I have updated all plugins and theme, and the WordPress Core is up to date.
Summary:
Audio Recorder not showing on page - javascript errors
fnoks
Wed, 10/03/2018 - 09:27
Permalink
Hi,It seems to be your site's
Hi,
It seems to be your site's Content Security Policy setup that makes it not work properly. I found someone with a similar problem here: https://github.com/developit/greenlet/issues/24. For me, it seems the solution is outlined in one of the answers.
kangsandi
Fri, 06/12/2020 - 05:09
Permalink
i also have the same proble
i also have the same proble
i check on the link above :
@JCKodel you have to add
worker-src blob:
to your csp header andscript-src blob:
as a fallback.But If you want to keep it simple just add
blob:
at the end of yourdefault-src
can you explaint what is it ?