Merge pull request #190 from houdiniproject/minor_campaign_media_tweak

Fix Vimeo non-https link to https
This commit is contained in:
Eric Schultz 2019-05-06 13:30:43 -05:00 committed by GitHub
commit 4e3b35c65e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
<% if @campaign.vimeo_video_id %> <% if @campaign.vimeo_video_id %>
<div class='campaignMedia-video' if-branded='background, lightest'> <div class='campaignMedia-video' if-branded='background, lightest'>
<iframe src="//player.vimeo.com/video/<%= @campaign.vimeo_video_id %>" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <iframe src="https://player.vimeo.com/video/<%= @campaign.vimeo_video_id %>" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div> </div>
<% elsif @campaign.youtube_video_id %> <% elsif @campaign.youtube_video_id %>
<div class='campaignMedia-video' if-branded='background, lightest'> <div class='campaignMedia-video' if-branded='background, lightest'>