WordPress.org

Forums

WordPress prettyPhoto
[resolved] Youtube Playlist (7 posts)

  1. philgoodinc
    Member
    Posted 2 years ago #

    Hi!
    Great job! But i'd need to embed not just youtube videos but the playlist itself. Is there a way to do so?
    Thank you

    http://lafaceb.net

    http://wordpress.org/extend/plugins/prettyphoto/

  2. Babar
    Member
    Plugin Author

    Posted 2 years ago #

    You may want to try this:
    <a href="http://www.youtube-nocookie.com/embed/videoseries?list=PL8bZJKFy9KWlDhOJ_6P8xMdGIwbzbmzIP&hl=en_US?iframe=true&width=500&height=250" rel="prettyPhoto[iframes]">Youtube Playlist</a>

  3. philgoodinc
    Member
    Posted 2 years ago #

    Wow you rock!
    If i may, is there also a way to make 1/ an autoplay and 2/the videos from the playlist are shuffled/random?

  4. Babar
    Member
    Plugin Author

    Posted 2 years ago #

    You will have to tweak youtube parameters as needed.

  5. philgoodinc
    Member
    Posted 2 years ago #

    Ok

    for the shuffle thing, it cannot be done in the code or from youtube and be displayed in the light box.
    But i found this code on a forum : player.setShuffle(shufflePlaylist:Boolean):True

    (here : https://developers.google.com/youtube/iframe_api_reference )

    May this code work, and if so, where should i place it?

  6. philgoodinc
    Member
    Posted 2 years ago #

    (and what shouuld i put instead of "Boonlean"? The playlist shortcode, id?)

  7. Babar
    Member
    Plugin Author

    Posted 2 years ago #

    You will have to write those code via javascript.
    Boolean means true or false.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress prettyPhoto
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.