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?


3 Answers 3


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 %}

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

{% endif %}
  • That works, and probably a little less hacks than what we did. Commented Oct 29, 2014 at 12:23

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



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


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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.