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

LiveLeak support #42

Closed Hyngwar closed 6 years ago

Hyngwar commented 7 years ago

Hi,

Great plugin, could you guys look into support for LiveLeak as well? Having automatic featured images for LiveLeak videos would be a nice addition.

Greetings.

tw2113 commented 7 years ago

One of the biggest key factors is going to be if their API has any endpoints or urls that return images of the videos. For example, with YouTube, there is https://img.youtube.com/vi/3M_Gg1xAHE4/hqdefault.jpg The 3M_Gg1xAHE4 portion is the video ID and we're able to drop that in the middle of the URL before sideloading into the media library. We don't create the images, we just grab from the video site :D

tw2113 commented 7 years ago

Tacking this onto this ticket: seeing a request for support of dailymotion.com as well.

Hyngwar commented 7 years ago

I hope it's possible, I do find large images of the first frame of videos in the source code though. Whatever that means :-).

tw2113 commented 6 years ago

I am not managing to find any inkling of an API to retrieve data from at the present moment. If someone can show me where it's at, I'm happy to re-open, but for now I am having to close.