Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Xriuk

    (@xriuk)

    Ok, I think it might be a problem of my hosting blocking url scraping, so I solved this by analyzing the url and creating an iframe myself

    Thread Starter Xriuk

    (@xriuk)

    I did some debugging myself an found out where it fails:
    featured-video-plus/php/class-oembed.php FVP_oEmbed::get_html($url, $args = array(), $provider = null)
    After the line $html = $this->oembed->get_html( $url, $args ); I dumped $url, $args and $html and here’s what I got:

    string(43) "https://www.youtube.com/watch?v=Rbm6GXllBiw"
    array(5) {
      ["fs"]=>
      string(1) "0"
      ["iv_load_policy"]=>
      string(1) "3"
      ["modestbranding"]=>
      string(1) "1"
      ["rel"]=>
      string(1) "0"
      ["showinfo"]=>
      string(1) "0"
    }
    bool(false)

    I don’t understand why it’s failing to fetch the HTML from youtube…

Viewing 2 replies - 1 through 2 (of 2 total)