вставить видео ютуб видеопоток

В настоящее время я работаю с API iframe YouTube.

var player,
    time_update_interval = 0;

function onYouTubeIframeAPIReady() {
    player = new YT.Player('video-placeholder', {
        width: 600,
        height: 400,
        videoId: 'Xa0Q0J5tOP0',
        playerVars: {
            color: 'white',
            playlist: 'taJ60kskkns,FG0fTKAqZ5g'
        },
        events: {
            onReady: initialize
        }
    });
}

function initialize(){

    // Update the controls on load
    updateTimerDisplay();
    updateProgressBar();

    // Clear any old interval.
    clearInterval(time_update_interval);

    // Start interval to update elapsed time display and
    // the elapsed part of the progress bar every second.
    time_update_interval = setInterval(function () {
        updateTimerDisplay();
        updateProgressBar();
    }, 1000);


    $('#volume-input').val(Math.round(player.getVolume()));
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://www.youtube.com/iframe_api"></script>



...<br>
<div id="video-placeholder"></div>

<br>...

Пока все отлично работает, но я хочу отобразить последнее видео определенного канала. Я знаю, что это что-то с user_feed, но я не знаю, как именно это сделать, так как я новичок в js/api.

Спасибо


person Cryptic Pug    schedule 08.07.2016    source источник
comment
Проверьте этот SO вопрос, если он может помочь ты   -  person Mr.Rebot    schedule 09.07.2016