Twitch embed throwing multiple "failed to load" errors

I’m running a simple html embedded twitch stream on my localhost. Everything loads in the div but no video actually plays.

In the Console I am getting a lot of errors, I’m wondering if those errors have any effect on the video not playing.

These are the errors

This is the code I am using.

And this is what appears.

Thanks for the help!

Isn’t TwitchPresents running a region locked stream right now?

I wonder if it’s that and it’s derping without a suitable error message.

Can you try it on another channel?

I took a visit to the docs

I copied and pasted the example, and it works fine

Modding the example to meet your example:

    <!-- Add a placeholder for the Twitch embed -->
    <div id="twitch-embed"></div>


    <!-- Load the Twitch embed script -->
    <script src=""></script>

    <!-- Create a Twitch.Embed object that will render within the "twitch-embed" root element. -->
    <script type="text/javascript">
      new Twitch.Embed("twitch-embed", {
        width: $(window).width(),
        height: $(window).height(),
        channel: "TwitchPresents",
layout: 'video'

I’m getting the expected 5000 error due to the region locked content

Using a channel I know I can watch: (channel: 'cohhcarnage',)

You are trying to watching TwitchPresents when TwitchPresents is currently region locked: DramaFever Event (US/CA/LatAm Only)! Jealousy Incarnate episodes 1-12 starting at 10AM. All times in PDT. !schedule

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