Dynamic video Quiz in Javascript
<p>I have 10 YouTube links and I want to be able to move to the next video by pressing the next button.</p>

<p>My code: </p>

<pre><code>var videoLinks = ["https://www.youtube.com/embed/QIMo0jFbfQs",  "http://www.youtube.com/v/L8NGOUrw8UU"];
var v = 0;

$("#next").on('click', function(){
    next() + 1;

    function next(){
        if(v == videoLinks.length){ 
            //v = 0;
        }

        $(".content").html(" &lt;iframe src= ' " + videoLinks[v]  + "'&gt; "+ "&lt;/iframe&gt;");    
    }
});
</code></pre>

<p>Note: I only included 2 links for testing.</p>