From 8c7feda9c78eb5535a10e81d72edf08d0cb6ec49 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 16 Jul 2019 15:25:57 +0800 Subject: [PATCH] support https --- app/controllers/ad_banners_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ad_banners_controller.rb b/app/controllers/ad_banners_controller.rb index a2743bb..c2ba446 100644 --- a/app/controllers/ad_banners_controller.rb +++ b/app/controllers/ad_banners_controller.rb @@ -91,6 +91,6 @@ class AdBannersController < ApplicationController url_params[x.first] = x.last end # url = "http://www.youtube.com/v/#{url_params["v"]}/?version=3&playerapiid=ytplayer#{index}" - url = "http://www.youtube.com/embed/#{url_params["v"]}" + url = "https://www.youtube.com/embed/#{url_params["v"]}" end end