[ Video Sharing CMS v4 ] Putlocker.com update your code

Started by grantj21,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grantj21Topic starter

lib/class.providers.php On line 302 find this code.
              case 'putlocker':
                  $videoId = $this->getVideoId("file/");
                  if ($videoId != null) {
                      $embedCode .= '<iframe width="' . $this->width . '" height="' . $this->height . '" src="http://www.putlocker.com/embed/' . $videoId . '" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                  } else {
                      $embedCode = INVALID_URL;
                  }
                  break;

With is code

              case 'firedrive':
                  $videoId = $this->getVideoId("file/");
                  if ($videoId != null) {
                      $embedCode .= '<iframe width="' . $this->width . '" height="' . $this->height . '" src="http://www.firedrive.com/embed/' . $videoId . '" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                  } else {
                      $embedCode = INVALID_URL;
                  }
                  break;

Also edit line 73 from putlocker to firedrive
  •  

Similar topics (7)