support https

This commit is contained in:
harrybomrah committed 2019-07-16 15:25:57 +08:00
1 parent 428328696a
commit 8c7feda9c7
1 file changed
+1 -1
+1 -1
View File
@@ -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