AutoPlay

This topic contains 0 replies, has 1 voice, and was last updated by  p.mcg 5 years, 10 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #396

    p.mcg
    Participant

    i have a page with the player. i have set playonload to 0 and it still autoplays. is this something that youtube changed or am i missing something? here is the code:

    var playerSettings = {
    videoContainer: ‘.YTV_playback’,
    playlist: {
    selector : ‘.YTV_playlist’,
    scrollbar : ‘.playlist_container .scrollbar’
    },
    playerConfig: {
    showRelated: 0,
    showSearch: 0,
    showInfo: 1
    },
    items : ‘.YTV_playlist li a’,
    clickStart : true,
    volume : 30,
    infoPanel : ‘.movie_state’,
    togglePlaylist : ‘.show_playlist’,
    toggleRepeat : ‘.playlist_repeat’,
    playOnLoad : false,
    repeatPlaylist : false

    };
    // start the video player
    $(‘.YTV_movies’).YTV( playerSettings );
    })

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.