YouTube 'playerVars autoplay' set to 0; still autoplaying

With this script, I’m using ‘playerVars autoplay: 0’ to prevent the video from autoplaying, but it seems to still be autoplaying.

<script type="text/javascript">// <![CDATA[
/**
     * Put your video IDs in this array
     */
    var videoIDs = [
        'q_fso9SsG-g',
        'Mv-MS8s3mMc'
    ];
    var player, currentVideoId = 0;
    function onYouTubeIframeAPIReady() {
        player = new YT.Player('player', {
            height: '252',
            width: '300',
	playerVars: { 'rel': 0, 'autoplay': 0 },
autoplay: '0',
            events: {
                'onReady': onPlayerReady,
                'onStateChange': onPlayerStateChange
            }
        });
    }
    function onPlayerReady(event) {
        event.target.loadVideoById(videoIDs[currentVideoId]);
    }
    function onPlayerStateChange(event) {
        if (event.data == YT.PlayerState.ENDED) {
            currentVideoId++;
            if (currentVideoId < videoIDs.length) {
                player.loadVideoById(videoIDs[currentVideoId]);
            }
        }
    }
// ]]></script>

In your onPlayerReady event binding you are immediately calling loadVideoById which by default automatically plays the video, is there a reason why you need to do this as you can pass the video ID as a parameter.

Trying to play videos consecutively and am open to a different method if it would help alleviate the annoying Autoplay.