Support » Plugins » Hacks » Get only Youtube Video Id from the embed code?

  • Anyway how i can get only the youtube Video id from the iframe embed code on a single post.

    I need this because sometimes the embed code of the video is disabled. I want the visitors to show. Video not working? Click here (with the link of http://www.youtube.com/watch?v=ID )

    I found one solution but is not working

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Than on Single.php
    <?php linkifyYouTubeURLs(); ?>

    But is not working…. Any solution?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get only Youtube Video Id from the embed code?’ is closed to new replies.