Support » Plugin: WP YouTube Lyte » shortcode syntax

  • Hi, I have inserted onto this test page a few attempts to get the plugin working as I want, with some optional parameters as shown at
    https://developers.google.com/youtube/player_parameters

    The topmost attempt is an iframe, and it works okay. The iframe syntax allows optional parameters appended to the URL, like this:
    src="https://www.youtube-nocookie.com/embed/F7bL66Nxk6s?controls=0&modestbranding=1&rel=0&fs=0"

    Below that, I tried your shortcode with the same params appended:
    [lyte id="F7bL66Nxk6s?controls=0&modestbranding=1&rel=0&fs=0" /]
    But you can see the params are not working, the player looks different from the iframe one.

    Then I tried the shortcode with the parameters separated by spaces not ampersands, and the values are not in quotes:
    [lyte id="F7bL66Nxk6s" controls="0" modestbranding="1" rel="0" fs="0" /]

    Then I tried the URL prefixed by httpv, with a delayed start param, which is working
    httpv://www.youtube.com/watch?v=F7bL66Nxk6s?rel=0&start=20

    Then the same URL with the params I want, which doesn’t work.
    httpv://www.youtube.com/watch?v=F7bL66Nxk6s?controls=0&modestbranding=1&rel=0&fs=0

    Is there some other trick to get these params working?

    A few other things:
    Using the httpv URL, I could not get the video to play from the youtube-nocookies.com domain.

    I have checked the setting for “Cache thumbnails locally”, and I don’t see them. Do I have to do something else?

    It would be great if you would update your instructions for the params and make them more complete. You would also get rid of the obsolete showinfo example.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    LYTE currently does not have support for the bulk of parameters @abrunger. you could hack your way around that by making some changes to lyte/lyte-min.js maybe.

    regarding the thumbnails; make sure PHP has read and write access to wp-content/cache/lyteThumbs/

    hope this helps,
    frank

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.