kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

video player break my https page #166

Closed hyperrjas closed 11 years ago

hyperrjas commented 11 years ago

I'm playing youtube video under https:

and I get all these warnings:

The page at https://mydomain.com/es/ruby-on-rails-developer displayed insecure content from http://s.ytimg.com/yts/swfbin/watch_as3-vfli4x-mu.swf.

The page at https://mydomain.com/es/ruby-on-rails-developer displayed insecure content from http://s.ytimg.com/yts/xlbbin/watch-strings-es_ES-vflqj0Zoc.xlb.

The page at https://mydomain.com/es/ruby-on-rails-developer displayed insecure content from http://www.youtube.com/crossdomain.xml.

The page at https://mydomain.com/es/ruby-on-rails-developer displayed insecure content from http://www.youtube.com/get_video_info?asv=3&sts=1583&el=embedded&width=640&eurl=unknown&height=330&video_id=bPQNvyNj8mE&hl=es_ES.

The page at https://mydomain.com/es/ruby-on-rails-developer displayed insecure content from http://s.youtube.com/stream_204?scoville=1&event=streamingstats&fmt=&vps=0.…4476,929119&plid=&docid=bPQNvyNj8mE&df=1.611:0&fv=LNX%2011,2,202,261&ns=yt.

The page at https://mydomain.com/es/ruby-on-rails-developer displayed insecure content from http://s.youtube.com/stream_204?scoville=1&event=streamingstats&fmt=&vps=1.…3,929915,904476,929119&docid=bPQNvyNj8mE&plid=&fv=LNX%2011,2,202,261&ns=yt.

Is it possible add youtube videoplayer components under https to remove all the warnings?

Thank you very much!

chebyte commented 11 years ago

can you show me the code that you are using?

thanks

chebyte commented 11 years ago

if you using embed_html5 helper you can pass https params like this

embed_html5(params = {protocol: "https"....})

hyperrjas commented 11 years ago

Thank you, I have tried with this fix but I get the same problem. Video player break my https page. Thank you very much!