Title: Youtube shortcode not working with https
Last modified: April 3, 2017

---

# Youtube shortcode not working with https

 *  [adamrafferty](https://wordpress.org/support/users/adamrafferty/)
 * (@adamrafferty)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/)
 * Hi
 * All my YouTube embeds suddenly stopped working due to the http protocol being
   hard coded into shortcodes ultimate.
 * My dev team updated the code but they say I will have to tweak the code with 
   every time I update the plugin.
 * This was the change needed, which I would now need to do manually each time…I
   am not sure which file, this is simply the massage I got from my team.
 * $protocol=’https’;
 * Hope you can fix that!
 * AR

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

 *  Thread Starter [adamrafferty](https://wordpress.org/support/users/adamrafferty/)
 * (@adamrafferty)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-8989427)
 * Here is the trouble spot
 * shortcodes-ultimate/inc/core/shortcodes.php line 673
 *  [jdljr](https://wordpress.org/support/users/jdljr/)
 * (@jdljr)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-8993223)
 * Hope they will fix this in an official update.
 * This has been a very convenient shortcode so far and Shortcodes Ultimate has 
   been a timesaver and convenient to work with.
 * Now I am having to find workarounds for this particular issue after having the
   site go SSL.
 *  [rodinux](https://wordpress.org/support/users/rodinux/)
 * (@rodinux)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-9229036)
 * Thanks, it works also for me, I hope the next release will resolve this error.
   I’ve got this trouble also, but I thought it was because I force the redirection
   https in my wordpress…
 *  [rodinux](https://wordpress.org/support/users/rodinux/)
 * (@rodinux)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-9347215)
 * Now with the version 4.10.2 I always need to do this hack ! This issue is not
   resolved…
 *  [rodinux](https://wordpress.org/support/users/rodinux/)
 * (@rodinux)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-9561600)
 * Sorry, I come back to explain how to resolve this issue, you just need to add`
   https="yes"` at the end of the shortcode. It’easy…
 *  [smirnova38](https://wordpress.org/support/users/smirnova38/)
 * (@smirnova38)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-9676868)
 * [@rodinux](https://wordpress.org/support/users/rodinux/)
    would you care for 
   more details where I have to add this line??? Probably this advise is gonna work
   for me as well
 *  [rodinux](https://wordpress.org/support/users/rodinux/)
 * (@rodinux)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-9678454)
 * Just when editing your post in the editor, when you add a shortcode you-tube-
   advanced, you have the option ‘htpps: no’ by default, you click the button to
   put ‘https: yes’, it will put it in green, that’s all… (sorry for my bad english)

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

The topic ‘Youtube shortcode not working with https’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [rodinux](https://wordpress.org/support/users/rodinux/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/youtube-shortcode-not-working-with-https/#post-9678454)
 * Status: not resolved