support https
This commit is contained in:
parent
428328696a
commit
8c7feda9c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue