WP Wordpress plugin to automatically remove any url embedded from youtube

6 replies
Hello experts.

I have several video sites that automatically embed videos from youtube (together with comments) but unluckily many of the videos containt their url and websites.

Is there any wp plugin that automatically remove all the url from the youtube videos embedded on our wordpress site?

Thanks in advance...

Richmarketer
#automatically #embedded #plugin #remove #url #wordpress #youtube
  • Profile picture of the author alir500
    You can use Find Replace plugin:
    WordPress › Find replace « WordPress Plugins
    {{ DiscussionBoard.errors[8353595].message }}
  • Profile picture of the author CyberSEO
    Which exactly plugin are you using to embed YouTube videos on autopilot? Is it WordPress › CyberSyn « WordPress Plugins or anything else?
    Signature
    CyberSEO Pro - the ultimate all-in-one autoblogging WordPress plugin, powered by OpenAI GPT-4, Anthropic Claude, Google Gemini Pro, Midjourney, DALL-E 3 and Stable Diffusion XL
    {{ DiscussionBoard.errors[8353736].message }}
  • How to remove url in the comments of the videos?
    {{ DiscussionBoard.errors[8353811].message }}
    • Profile picture of the author CyberSEO
      Originally Posted by HandsomeMillionaire View Post

      How to remove url in the comments of the videos?
      With CyberSyn plugin you can do it as easy as this:

      1) Open cybersyn.php with any text editor.

      2) Find the following code:

      if (isset()) {
      return '<p><iframe class="embedded_video" width="560" height="315" src="http://www.youtube.com/embed/' . . '" frameborder="0" allowfullscreen></iframe></p>' . ;
      }

      3) Replace it with this:

      if (isset($matches[1])) {
      $text = $matches[1];
      preg_match_all("/<a.*?href=[\"|'](.*?)[\"|'].*?>(.*?)<\/a>/is", $text, $matches);
      $text = str_replace($matches[0][$i], $matches[2][$i], $text);
      return '<p><iframe class="embedded_video" width="560" height="315" src="http://www.youtube.com/embed/' . $id . '" frameborder="0" allowfullscreen></iframe></p>' . $text;
      }

      4) Upload the altered cybersyn.php to your plugins folder and enjoy - all the links will be automatically stripped off from YouTube video descriptions.
      Signature
      CyberSEO Pro - the ultimate all-in-one autoblogging WordPress plugin, powered by OpenAI GPT-4, Anthropic Claude, Google Gemini Pro, Midjourney, DALL-E 3 and Stable Diffusion XL
      {{ DiscussionBoard.errors[8353916].message }}
  • Profile picture of the author CyberSEO
    I don't know about Covert Video Press, but as I said already, the freeware CyberSyn plugin can do it easily. Just make a small change in its code, as it was explained above.
    Signature
    CyberSEO Pro - the ultimate all-in-one autoblogging WordPress plugin, powered by OpenAI GPT-4, Anthropic Claude, Google Gemini Pro, Midjourney, DALL-E 3 and Stable Diffusion XL
    {{ DiscussionBoard.errors[8354152].message }}

Trending Topics