Title: Adding Variables To Short Code
Last modified: October 11, 2016

---

# Adding Variables To Short Code

 *  Resolved [bradaverhill](https://wordpress.org/support/users/bradaverhill/)
 * (@bradaverhill)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/)
 * Hi,
 * I have used the plugin for quite a while.
 * Earlier versions had a file that provided all of the variables and instructions
   on how to add them to a short code.
 * If i want to do the following:
 * video to start at 0:0:23 and end at 00:01:25,
    Auto hide video progress bar not
   Show controls bar Hide YouTube logo On Hide title On Enable the suggested videos
   at the end of playback Off Tracking playing for each video on analytics event
 * and if that is not enough, I think you once had the ability to add a custom image(
   thumbnail).
 * in the past i used a short code like [youtube video=https://www.youtube.com/watch?
   v=TwxjlsBgDEA&autohide=2&autohide=1&modestbranding=1&rel=0]
 * but this does not appear to work anymore.
 * What would the short code be for the above requirements?
 * I visited your site, but didnt see anything on variable for the plugin, and did
   try to look for old info.
 * Your help will be greatly appreciated.
 * Thanks
    -  This topic was modified 9 years, 7 months ago by [bradaverhill](https://wordpress.org/support/users/bradaverhill/).
    -  This topic was modified 9 years, 7 months ago by [bradaverhill](https://wordpress.org/support/users/bradaverhill/).

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Author [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * (@stefanoai)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8277251)
 * Hi, here you can find the shortcode
    [https://wordpress.org/plugins/youtube-widget-responsive/other_notes/](https://wordpress.org/plugins/youtube-widget-responsive/other_notes/)
 * but if you want, you can create the widget and get the shortcode from the tab“
   Shortcode”
    (like third image [https://wordpress.org/plugins/youtube-widget-responsive/screenshots/](https://wordpress.org/plugins/youtube-widget-responsive/screenshots/))
   PS the tab shortcode will be updated after saving widget.
 * [youtube title=”” video=”xxxxx” autohide=”2″ color=”red” end_m=”1″ end_s=”24″
   iv_load_policy=”1″ modestbranding=”1″ start_s=”23″ theme=”dark” quality=”default”
   w3c=”1″ track=”1″ image_preview=”4″]
    -  This reply was modified 9 years, 7 months ago by [stefanoai](https://wordpress.org/support/users/stefanoai/).
 *  Thread Starter [bradaverhill](https://wordpress.org/support/users/bradaverhill/)
 * (@bradaverhill)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8277302)
 * Hi Stefano,
 * Many thanks. Thanks for the super fast response.
 *  Plugin Author [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * (@stefanoai)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8277325)
 * your are welcome
 *  [titolivio](https://wordpress.org/support/users/titolivio/)
 * (@titolivio)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8312882)
 * ciao Stefano, sto utilizzando il tuo Youtube Widget Responsive e volevo mettere
   in loop 2 o 3 video (una playlist). E’ possibile e come?
    grazie tante
 *  Plugin Author [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * (@stefanoai)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8322306)
 * Ciao, basta mettere list=XXXX il codice della play list che hai creato, e poi
   mettere loop=1
 * Oppure dal widget basta inserire l’url della play list e attivare “Loop”
 *  [titolivio](https://wordpress.org/support/users/titolivio/)
 * (@titolivio)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8322647)
 * Grazie Tante!!!
 *  [conterosso](https://wordpress.org/support/users/conterosso/)
 * (@conterosso)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8973138)
 * complimenti per il plugin, molto ben fatto, ti chiedo solo se è possibile inserire
   una cornice intorno al video youtube , magari potendo anche scegliere i px, oppure
   se è possibile almeno utilizzare i codici del video youtube che ho inserito per
   avere la cornice
 * border=1
    color1 color2
 *  Plugin Author [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * (@stefanoai)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8973176)
 * Grazie,
    potresti usare il campo style in Theme e scrivere qualcosa di questo
   tipo
 * `border:1px solid #666;display:table-cell;`
    -  This reply was modified 9 years, 2 months ago by [stefanoai](https://wordpress.org/support/users/stefanoai/).
 *  [conterosso](https://wordpress.org/support/users/conterosso/)
 * (@conterosso)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8973719)
 * Grazie pe la risposta, ho provato come dici tu, per evidenziarti il problema 
   ho messo colore bianco, se guardi sotto è come se ci fosse margine
 * > [View post on imgur.com](https://imgur.com/2NpK1xi)
 * > View post on imgur.com
 * <script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>
    -  This reply was modified 9 years, 2 months ago by [conterosso](https://wordpress.org/support/users/conterosso/).
 *  Plugin Author [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * (@stefanoai)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8973886)
 * link?
 *  [conterosso](https://wordpress.org/support/users/conterosso/)
 * (@conterosso)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8974012)
 * clicca sull’[immagine](https://imgur.com/2NpK1xi)
    -  This reply was modified 9 years, 2 months ago by [conterosso](https://wordpress.org/support/users/conterosso/).
    -  This reply was modified 9 years, 2 months ago by [conterosso](https://wordpress.org/support/users/conterosso/).
 *  [conterosso](https://wordpress.org/support/users/conterosso/)
 * (@conterosso)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8974013)
 * > [View post on imgur.com](https://imgur.com/2NpK1xi)
 *  Plugin Author [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * (@stefanoai)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8974084)
 * no, mi serve il sito originale non lo screenshot
 *  [conterosso](https://wordpress.org/support/users/conterosso/)
 * (@conterosso)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8974129)
 * Grazie Stefano ho risolto mettendo table al posto di table-cell cosi si visualizza
   correttamente.
 * border:1px solid #666;display:table;
 *  Plugin Author [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * (@stefanoai)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8974138)
 * Ok perfetto 🙂

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Adding Variables To Short Code’ is closed to new replies.

 * ![](https://ps.w.org/youtube-widget-responsive/assets/icon-256x256.png?rev=2189836)
 * [Widget Responsive for Youtube](https://wordpress.org/plugins/youtube-widget-responsive/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-widget-responsive/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-widget-responsive/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-widget-responsive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-widget-responsive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-widget-responsive/reviews/)

 * 15 replies
 * 4 participants
 * Last reply from: [stefanoai](https://wordpress.org/support/users/stefanoai/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/adding-variables-to-short-code/#post-8974138)
 * Status: resolved