Title: HTTPS Quick Question
Last modified: June 7, 2017

---

# HTTPS Quick Question

 *  Resolved Anonymous User 14978628
 * (@anonymized-14978628)
 * [9 years ago](https://wordpress.org/support/topic/https-quick-question/)
 * Hi, you say to use HTTPV instead of HTTP. What do we use if url is HTTPS? Thanks

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [9 years ago](https://wordpress.org/support/topic/https-quick-question/#post-9207925)
 * easiest solution is to tick the option to also act on normal youtube links, in
   which case you can just use HTTPS 🙂
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [9 years ago](https://wordpress.org/support/topic/https-quick-question/#post-9208659)
 * Hi,
 * I was able to get regular links working when i pasted the link in as code in 
   my theme (after getting an API key), but it doesn’t seem to work for links i’ve
   add through my theme.
 * When i insert youtube links with my theme it seems to do so in an iframe as such
 *     ```
       <div class="et_pb_video_box">
       					<iframe width="1080" height="608" src="https://www.youtube.com/embed/vZJV9a7xKKg?feature=oembed" frameborder="0" allowfullscreen></iframe>
       				</div>
       ```
   
 * Is it possible to get the plugin working with this type of insertion?
 * I did get it working with another plugin ([https://en-gb.wordpress.org/plugins/lazy-load-for-videos/](https://en-gb.wordpress.org/plugins/lazy-load-for-videos/))
   which did act on these links, but would prefer to use Youtube Lyte if possible?
 * Thanks
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [9 years ago](https://wordpress.org/support/topic/https-quick-question/#post-9208832)
 * Could be the theme is to quick for WP YouTube Lyte, in that case revert to `httpv://`,
   if WP YouTube Lyte picks up on you being on HTTPS, all resources should be loaded
   over HTTPS. Do let me know if you face any issues there 🙂
 * frank
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [9 years ago](https://wordpress.org/support/topic/https-quick-question/#post-9210028)
 * Hi Frank,
 * I created a test page to show the issue as it’s still not resolved. I tried http
   and https links. Basically i have a lot of videos already on my pages which don’t
   seem to be affected by youtube lyte. Here’s an example of what i mean:
 * [https://www.celebrityhealthcritic.com/test-youtube-lyte-frank/](https://www.celebrityhealthcritic.com/test-youtube-lyte-frank/)
 * I’ve put a copy of my theme at this url if that helps to diagnose the problem
   with a copy of the page source from my local install:
 * [https://onedrive.live.com/?id=F006A25245D104BB%21105&cid=F006A25245D104BB&group=0](https://onedrive.live.com/?id=F006A25245D104BB%21105&cid=F006A25245D104BB&group=0)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [9 years ago](https://wordpress.org/support/topic/https-quick-question/#post-9210511)
 * don’t have a lot of time now i’m afriad, could you as an alternative solution
   open wp-youtube-lyte.php and almost at the very end of that file change
    `add_filter('
   the_content', 'lyte_parse', 4);`
 * into
    `add_filter('the_content', 'lyte_parse', 1);`
 * to see if that helps?
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [9 years ago](https://wordpress.org/support/topic/https-quick-question/#post-9219929)
 * Hey Frank,
 * Only just managed to test this out as had to reinstall my computer over the weekend.
 * I tried making the changes you suggested but it still doesn’t work.
 * Is there anything else i can try?
 * Thanks
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/https-quick-question/#post-9236964)
 * sorry for the delay, busy days 🙂
 * so when you use `httpv://` type links, it works, except for the fact that the
   resources/ YT-vid are loaded over `http://` instead of `https://`? because if
   that’s the case I can provide you with a couple of lines of code which should
   force those to `https://` ..
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/https-quick-question/#post-9237311)
 * Hey Frank,
 * The issue i was having was when inserting a httpv link using my theme’s visual
   editor’s option box for videos, those videos weren’t recognized by YTL no matter
   what variations i tried.
 * But httpv does work when i insert it as regular text. So i will have to go and
   manually change the previous videos to make them work with YTL, as it doesn’t
   seem to act on normal links either. Probably some theme incompatibility.
 * If you could provide the code to load resources over https that would great! 
   Thanks
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/https-quick-question/#post-9237699)
 * you’ll have to add 2 code snippets, cfr. [https://wordpress.org/support/topic/force-to-use-https/#post-9106124](https://wordpress.org/support/topic/force-to-use-https/#post-9106124)
   and (possibly) [https://wordpress.org/support/topic/force-to-use-https/#post-9107073](https://wordpress.org/support/topic/force-to-use-https/#post-9107073)
   as well @martychc23
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/https-quick-question/#post-9239262)
 * ok, i tried the code but it didn’t seem to change anything. This is what i had
   before adding the code and it remains the same:
 *     ```
       <div class="lyMe" id="WYL_vZJV9a7xKKg" itemprop="video" itemscope itemtype="http://schema.org/VideoObject"><meta itemprop="thumbnailUrl" content="https://i.ytimg.com/vi/vZJV9a7xKKg/hqdefault.jpg" /><meta itemprop="embedURL" content="http://www.youtube.com/embed/vZJV9a7xKKg" /><meta itemprop="uploadDate" content="2017-06-07T20:31:51.000Z" /></p>
       <div id="lyte_vZJV9a7xKKg" data-src="https://i.ytimg.com/vi/vZJV9a7xKKg/hqdefault.jpg" class="pL">
       ```
   
 * It’s this line that remains http for some reason:
 *     ```
       meta itemprop="embedURL" content="http://www.youtube.com/embed/vZJV9a7xKKg" />
       ```
   
 * The cover image is https but not the video? I tried clearing plugin cache also.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/https-quick-question/#post-9239429)
 * ah, in that case all is perfect even without the code snippet(s); the `<meta 
   itemprop="embedURL"` in fact is not the video, but part of the “structured data”(
   rich snippet) which allows search engines to understand that the HTML in fact
   is an embedded video. It has no impact on the actual video being played over 
   HTTP or HTTPS.
 * frank
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/https-quick-question/#post-9242565)
 * That’s great, thanks Frank.

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

The topic ‘HTTPS Quick Question’ 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/)

 * 12 replies
 * 2 participants
 * Last reply from: Anonymous User 14978628
 * Last activity: [8 years, 12 months ago](https://wordpress.org/support/topic/https-quick-question/#post-9242565)
 * Status: resolved