[Answer]-HTML Creating variable URLs

1👍

Change

<script>
    var data = "http://www.twitch.tv/widgets/live_embed_player.swf?channel=" + {{channel}};    
    document.getElementById('urldata').innerHTML = urldata;
</script>

To

<script>
    var data = "http://www.twitch.tv/widgets/live_embed_player.swf?channel={{channel}}";    
    document.getElementById('urldata').innerHTML = urldata;
</script>

Leave a comment