<p>We've run into this as well.  I don't know if there is a better fix, but for our case, we ended up using the video url parameter and the replace filter to get around it:</p>

<pre><code>{% if entry.video|length %}

&lt;iframe src="{{ entry.video.url|replace("http://youtu.be/", "https://www.youtube.com/embed/")|raw }}?wmode=transparent&amp;enablejsapi=1" width="640" height="360" frameborder="0" allowfullscreen="true" allowscriptaccess="true" enablejsapi="1"&gt;&lt;/iframe&gt;

{% endif %}
</code></pre>

CC BY-SA 3.0
2014-10-29T12:23:34.957Z
That works, and probably a little less hacks than what we did.
Keith Mancuso
CC BY-SA 3.0
2014-10-29T03:39:29.433Z
2014-10-29T03:39:29.433Z
Ben Parizek
<p>Sorry about that guys, this issue has been fixed in Videos 1.0.20:</p>

<p><a href="https://dukt.net/craft/videos/updates#v1.0.20">https://dukt.net/craft/videos/updates#v1.0.20</a></p>

CC BY-SA 3.0
2014-11-06T17:50:15.170Z
2014-11-06T17:50:15.170Z
Benjamin David
<p>So not a great solution but I wanted to share what we ended up doing</p>

<p>We edited the plugin directly by editing the getEmbedFormat() function in</p>

<p>craft/plugins/videos/vendor/dukt/videos/src/Dukt/Videos/Vimeo/Video.php</p>

<p>And just change the http to http so it's just.</p>

<pre><code>return "https://player.vimeo.com/video/%s";
</code></pre>

<p>Also going to reach out to dukt to see if he'd change the default in the main plugin since https will work any site (with or without ssl)</p>

CC BY-SA 3.0
2014-10-29T12:27:37.140Z
2014-10-29T12:27:37.140Z
Keith Mancuso
<p>This is a specific question about the Dukt videos plugin. I have a site that's all HTTPS and I can't seem to find a way to switch all the embeds to also use HTTPS?  Is there an option anyone else knows of?</p>

CC BY-SA 3.0
2014-10-28T22:29:15.207Z
Did you contact Dukt already? support@dukt.net
Lindsey D
<plugins><https><plugin-duktvideos>
Use Dukt Videos with HTTPS
# Use Dukt Videos with HTTPS

(Asked by: username_0 on 2014-10-28)

This is a specific question about the Dukt videos plugin. I have a site that's all HTTPS and I can't seem to find a way to switch all the embeds to also use HTTPS? Is there an option anyone else knows of?

**Tags:** plugins, https, plugin-duktvideos
> **Comments:**
> **username_1**: Did you contact Dukt already? support@dukt.net  

---

## 3 answers

### Answer by username_2 on 2014-10-29. Score: 2 | Accepted answer

We've run into this as well.  I don't know if there is a better fix, but for our case, we ended up using the video url parameter and the replace filter to get around it:
{% if entry.video|length %}



{% endif %}

> **Comments:**
> **username_0**: That works, and probably a little less hacks than what we did.  

---

### Answer by username_3 on 2014-11-06. Score: 5

Sorry about that guys, this issue has been fixed in Videos 1.0.20:

<https://dukt.net/craft/videos/updates#v1.0.20>


---

### Answer by username_0 on 2014-10-29. Score: 1

So not a great solution but I wanted to share what we ended up doing
We edited the plugin directly by editing the getEmbedFormat() function in
craft/plugins/videos/vendor/dukt/videos/src/Dukt/Videos/Vimeo/Video.php
And just change the http to http so it's just.
return "https://player.vimeo.com/video/%s";

Also going to reach out to dukt to see if he'd change the default in the main plugin since https will work any site (with or without ssl)


---

