Embed still not working

So my code doesn’t work, actually any code doesn’t work. The Twitch site code they give doesn’t work, the widgets don’t work.

Does not matter the code, nothing actually works?

My site has a valid SSL certificate and all is legit so not sure what the deal is.

<!-- Load the Twitch embed JavaScript file -->
<script src="https://embed.twitch.tv/embed/v1.js"></script>

<!-- Create a Twitch.Embed object that will render within the "twitch-embed" element -->
<script type="text/javascript">
  new Twitch.Embed("twitch-embed", {
    width: 854,
    height: 480,
    channel: "takingitpersonally",
    // Only needed if this page is going to be embedded on other websites
    parent: ["takingitpersonally.net", "https://takingitpersonally.net"]

I’ve tried probably 50 variations of code and still nothing

Remove the parent line and let the embed work it out for itself.

Your parent’s should be a list of domains so https:// at the start is invalid.

So either:

  • remove the parent from you options
  • fix it to parent: ["takingitpersonally.net", "www.takingitpersonally.net"]
  • provide a link to a page with your embed on for me to take a look at

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.