WebDevStudios / Automatic-Featured-Images-from-Videos

If a YouTube or Vimeo video exists in the first few paragraphs of a post, automatically set the post's featured image to that vidoe's thumbnail.
33 stars 24 forks source link

Add support for video IDs when they're not the first $_GET param listed #13

Closed tw2113 closed 3 years ago

tw2113 commented 8 years ago

Include &v=SOMETHING instead of just ?v=SOMETHING

tw2113 commented 3 years ago

Closing as wontfix, unless some more skilled in Regex can solve this.

tw2113 commented 3 years ago

To justify, I know Youtube redirected and re-ordered the URL to have ?v=XYZ first when I tried to have a list ID listed first, and I suspect they do the same elsewhere

On top of that, I don't think most people are typing things in, in different orders. I wager 99% of the time it's copy/paste from the embeds or the website, which Youtube would control.