support https

This commit is contained in:
Harry Bomrah 2019-07-16 15:25:57 +08:00
parent 428328696a
commit 8c7feda9c7
1 changed files with 1 additions and 1 deletions

View File

@ -91,6 +91,6 @@ class AdBannersController < ApplicationController
url_params[x.first] = x.last url_params[x.first] = x.last
end end
# url = "http://www.youtube.com/v/#{url_params["v"]}/?version=3&playerapiid=ytplayer#{index}" # 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
end end