How to replace Youtube embedded links with Lyte URL’s
-
Hi, I love how much faster WP YouTube Lyte videos are than embedded Youtube links. Unfortunately, I have hundreds of embedded videos already on my site. Here’s a typical example of such an embedded code:
<iframe src=”https://www.youtube.com/embed/EYdYTR_FAqM” width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
Of course, I could just use the Better Search Replace plugin to remove extraneous parts so this link could work with Wp Youtube Lyte (I just copy the URL for Lyte videos), like this:
https://www.youtube.com/EYdYTR_FAqM
This works (Lyte reads it well and creates a video on WordPress, even though the URL, if copied into the URL box, goes to a 404 on Youtube). However, since embedded Youtube links often have wildly different links, I have to be careful and it’s also a pain the posterior to double-check.
Is there a way to change all standard Youtube embedded links to something that Wp Youtube Lyte could read to create videos? Or am I stuck with using Better Seach Replace plugin? Please help. Thanks!
- The topic ‘How to replace Youtube embedded links with Lyte URL’s’ is closed to new replies.