Title: shortcode syntax
Last modified: November 2, 2018

---

# shortcode syntax

 *  [abrunger](https://wordpress.org/support/users/abrunger/)
 * (@abrunger)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-syntax-3/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-syntax-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-syntax-3/#post-10843134)
 * LYTE currently does not have support for the bulk of parameters [@abrunger](https://wordpress.org/support/users/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)

The topic ‘shortcode syntax’ is closed to new replies.

 * ![](https://ps.w.org/wp-youtube-lyte/assets/icon-128x128.png?rev=1836005)
 * [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-youtube-lyte/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-youtube-lyte/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-syntax-3/#post-10843134)
 * Status: not resolved