• Resolved Jayson T Cote

    (@askjayson)


    Hi Aleksander,
    I’m running the latest version of WP and your plugin. My API key is configured as Server. We do have object caching on the server. I am would like the first video in the playlist display above with the remaining videos in the playlist displayed as thumbnails below. I thought the only_pl=1 parameter would configure the layout with thumbnails (If you set to use Playlist as resource, you can embed youtube playlist block instead single video from playlist. Simply set this option to true (1 or true)

    I am using the shortcode
    [youtube_channel playlist=PLNjUtPczX6bgivdrUSIT3fo1CD7AZTWYh resource=2 only_pl=1 num=7]

    I have also tried the following FAQ – “How I can achieve ‘wall’ layout with one featured thumbnail?”
    [youtube_channel num=7 responsive=1 class=ytc_wall_1-6 resource=2 display=thumbnail]

    Although not working and still only shows the large video playlist without thumbnails below.

    The URL is https://sweeteners.wpengine.com/video-gallery/

    Thank you, I look forward to your response.

    https://www.ads-software.com/plugins/youtube-channel/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    Hi askjayson,

    Remove only_pl=1 and you’ll get large thumbnail at top, and small thumbnails below.

    Just, large and small videos will play in lightbox if you set display=thumbnail. If you set display=iframe or iframe2, then all of them will play in own embedded player (that means, small videos will not be loaded on large video location).

    If you need that functionality (only large video play in place, when you click on small thumbnail video is loaded on location of large video), I’m afraid that you’ll need to look for other plugin.

    Cheers

    Thread Starter Jayson T Cote

    (@askjayson)

    Thank you, although still no thumbnails show. I love your plugin and don’t mind have the thumbnails play in a lightbox. I just can’t figure out why the Playlist will not show thumbnails below the video? I updated the shortcode to [youtube_channel playlist=PLNjUtPczX6bgivdrUSIT3fo1CD7AZTWYh resource=2 num=7 display=thumbnail]

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    If you have set in global settings to use playlist only, try with

    [youtube_channel playlist=PLNjUtPczX6bgivdrUSIT3fo1CD7AZTWYh resource=2 num=7 display=thumbnail only_pl=0]

    Thread Starter Jayson T Cote

    (@askjayson)

    Still no luck, now I get the error ” Ups, something went wrong.” Also when I try to clear the default playlist ID in general settings, it will not save a blank value and returns to the last saved value. FYI you may want to change the error message to “Oops” versus “Ups”

    Thread Starter Jayson T Cote

    (@askjayson)

    Thread Starter Jayson T Cote

    (@askjayson)

    On another note. I have set all the default parameters in the settings admin and just tried using the shortcode without any custom params and still get the error and no video display.

    Thread Starter Jayson T Cote

    (@askjayson)

    OK did some more troubleshooting and found when all default params are set in the admin 1 – default playlist ID
    2 – resource as playlist
    3 – checked value for Enable this option to embed whole playlist instead single video from playlist when you chose playlist as resource.

    Using shortcode [youtube_channel] displays the playlist video (with thumbnails embedded in the video, but not below)

    Using shortcode with param [youtube_channel only_pl=0] errors.
    Unchecking Enable this option to embed whole playlist also errors.

    Seems to be a conflict with the only_pl=0, only_pl=1 parameter not working correctly.

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    Upgrade to latest 3.0.6 (just released) and check this out:

    https://goo.gl/H2OsIu

    Thanks for ‘Oops’, also changed.

    Btw, when you remove Channel/Playlist ID from general settings, they are set to plugin defaults. SO, that field can’t be empty (I’m preventing a lot of issues).

    Thread Starter Jayson T Cote

    (@askjayson)

    When I remove the Playlist ID, it does not reset to plugin defaults, only the last saved value. I have the latest version installed 3.0.6, using the shortcode you provided in the screenshot, but Alek I can not get it to display as shown in your example. How can I reset all admin settings to defaults?

    Thread Starter Jayson T Cote

    (@askjayson)

    I see you removed the only_pl param from the admin UI, but its still set in the DB?

    {“date”:”Thu, 14 May 2015 19:58:35 +0000″,”server”:”Apache”,”php”:”5.3.2-1ubuntu4.30″,”wp”:”4.2.2″,”ytc”:”3.0.6″,”url”:”http:\/\/sweeteners.wpengine.com”,”for”:”global”,”vanity”:”WholesomeSweeteners”,”channel”:”UCqYkwrDWRNWfF6CE5pOo-tQ”,”username”:”WholesomeSweeteners”,”playlist”:”PLNjUtPczX6bgivdrUSIT3fo1CD7AZTWYh”,”resource”:2,”only_pl”:1,”cache”:7200,”fetch”:12,”num”:12,”privacy”:0,”random”:0,”ratio”:3,”width”:640,”responsive”:1,”display”:”thumbnail”,”themelight”:0,”controls”:0,”autoplay”:0,”autoplay_mute”:0,”norel”:0,”showtitle”:1,”showdesc”:1,”desclen”:100,”descappend”:”\u2026″,”modestbranding”:0,”hideanno”:0,”hideinfo”:0,”goto_txt”:”Visit our Wholesome!\u2122 Youtube channel”,”showgoto”:1,”popup_goto”:2,”link_to”:2}

    Thread Starter Jayson T Cote

    (@askjayson)

    Now I have

    [youtube_channel num=7 responsive=1 class=ytc_wall_1-6 resource=2 playlist=PLNjUtPczX6bgivdrUSIT3fo1CD7AZTWYh display=thumbnail]

    and shows error

    Notice: Undefined index: random in …./ wp-content/plugins/youtube-channel/youtube-channel.php on line 365

    Thread Starter Jayson T Cote

    (@askjayson)

    @ Alek, just wanted to ensure you saw this error, since the ‘random’ param has been removed from the UI but not in the code base

    Notice: Undefined index: random in …./ wp-content/plugins/youtube-channel/youtube-channel.php on line 365

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    Go to 3.0.6.1 (commit in progress). Will be online in a minute (fixed both issues).

    Thread Starter Jayson T Cote

    (@askjayson)

    Still no luck. Can not get a display like https://goo.gl/H2OsIu/
    Be happy to give you WP admin access?

    Using [youtube_channel num=7 responsive=1 class=ytc_wall_1-6 resource=2 playlist=PLNjUtPczX6bgivdrUSIT3fo1CD7AZTWYh display=thumbnail]

    https://sweeteners.wpengine.com/video-gallery/?ytc_force_recache=1

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    OK, send it through contact form https://urosevic.net/wordpress/contact

    Btw, I still see that API Key have restriction https://goo.gl/xl0w5f

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Playlist as Resource Display Help’ is closed to new replies.