When I try to embed a previous Twitch VOD,
what ends up displaying is video for live streams.
(My website is on Google Sites.)
I tried using the iframe embed code method but
the multiple parent sites always stop it in it’s tracks.
Here’s my embed code below:
(seems to work for live video, but not the actual VOD I’m trying to embed)
<pre><code>
> <script src= "https://player.twitch.tv/js/embed/v1.js"></script>
> <div id="<Axis div ID>"></div>
> <script type="text/javascript">
> var options = {
> width: 800,
> height: 600,
> channel: "DaveAxis",
> video: "735595516",
> parent: ['sites.google.com', 'www.gstatic.com', window.location.host]
>
> };
> var player = new Twitch.Player("<Axis div ID>", options);
> player.setVolume(0.5);
> </script>
</code></pre>