代码之家  ›  专栏  ›  技术社区  ›  Rawstring

HTML函数在SSL下不工作

  •  0
  • Rawstring  · 技术社区  · 7 年前

    当我在没有SSL的情况下连接时,一切都很好,从JS到YT片段。

    <embed height="1" src="http://www.youtube.com/v/-hIbRH1qcjU?autoplay=1" type="application/x-shockwave-flash" width="1" wmode="transparent">
    

    如何解决这个问题?

    1 回复  |  直到 7 年前
        1
  •  1
  •   Chris    7 年前

    只要把Youtube的URL改成https而不是http,我怀疑它会起作用。