teszt
  • Anonymusx
    #2191
    <iframe width="560" height="315" src="http://www.youtube.com/embed/hG_piERa_VY?&autoplay=1" frameborder="0" allowfullscreen></iframe>



    <object width="420" height="315"><param name="movie" value="//www.youtube.com/v/JkQS1MIplKI?version=3&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/JkQS1MIplKI?version=3&hl=en_US&rel=0" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>




    <iframe width="420" height="315" src="http://www.youtube.com/embed/JkQS1MIplKI?&autoplay=1&loop=1?&playlist=JkQS1MIplKI?rel=0" frameborder="0" allowfullscreen></iframe>


    <script type="text/javascript" src="http://www.youtube.com/player_api"></script>

    <script type="text/javascript">
    // Works in Firefox, Chrome, IE 8 and up, Opera. Page must be live in order for the script to work with IE. Thanks to jscheuer1 for the assistance
    var controllable_player,start,
    statechange = function(e){
    if(e.data === 0){controllable_player.seekTo(0); controllable_player.playVideo()}

    };
    function onYouTubeIframeAPIReady() {
    controllable_player = new YT.Player('controllable_player', {events: {'onStateChange': statechange}});
    }

    if(window.opera){
    addEventListener('load', onYouTubeIframeAPIReady, false);
    }
    setTimeout(function(){
    if (typeof(controllable_player) == 'undefined'){
    onYouTubeIframeAPIReady();
    }
    }, 3000)
    </script>

    <iframe id="controllable_player" src="http://www.youtube.com/embed/JkQS1MIplKI?autoplay=1"></iframe>