Script won't work
Ícaro Freire last edited by
i'm trying to insert the following script before the </body>, but nothing is happening. It doesn't seem to be working. I tried a couple of tweaks, but nothing seems to work. I can't see what is wrong on the code.
<div vw class="enabled"> <div vw-access-button class="active"></div> <div vw-plugin-wrapper> <div class="vw-plugin-top-wrapper"></div> </div> </div> <script src="http://widget.vlibras.gov.br/app/vlibras-plugin.js"></script> <script> new window.VLibras.Widget('http://widget.vlibras.gov.br/app'); </script>
Thanks in advance.
anand last edited by
I do not find any problem with the code and it seems to be working on my test site. If you are still facing the issue there might be two possibility:
- You might be seeing cached page. or,
- If your site is https enabled then you should load 'https' resources. In this case the js is loaded via http. Your browser might be blocking http. "Mixed content error"
Ícaro Freire last edited by Ícaro Freire
your site is https enabled then you should load 'https' resources. In this case the js is loaded via http. Your browser might be blocking http. "Mixed content error"
Thanks for the reply. Hmmm. My site is https enabled, indeed. Is there a workaround?
Edit: I change the src to https and it works now. Thanks!!