【问题标题】:encrypted youtube url is not working but working with '='加密的 youtube url 不起作用,但使用 '='
【发布时间】:2016-12-28 04:34:13
【问题描述】:

我试图在我的网页中使用加密的 url https://www.youtube.com/embed/C0DPdy98e4c?autoplay%3D1 不起作用。如果我使用 '=' 而不是 %3D url 运行良好。我在我的 url 中做错了什么 工作网址https://www.youtube.com/embed/C0DPdy98e4c?autoplay=1 工作正常

【问题讨论】:

  • 为什么不能使用工作的?

标签: html url youtube


【解决方案1】:

在您的脚本中使用 PHP 的 urldecode 函数,并将您的 url 放入参数中。它会起作用的。

urldecode("https://www.youtube.com/embed/C0DPdy98e4c?autoplay%3D1")

【讨论】:

    【解决方案2】:

    我有一个类似的问题。我通过使用.net 库中的urlencode 方法在我想使用它的地方通过urldecode 进行编码和解码来解决它

    【讨论】:

      猜你喜欢
      • 2016-10-01
      • 2018-08-18
      • 1970-01-01
      • 1970-01-01
      • 2015-09-15
      • 2018-09-26
      • 2021-09-22
      • 2018-10-12
      • 1970-01-01
      相关资源
      最近更新 更多