S
S
Sergey2015-03-24 13:43:37
YouTube
Sergey, 2015-03-24 13:43:37

How to get embedded video link from youtube, coub, vimeo?

We need a parser that parses any valid video link and returns a link to the embedded section. Now I made a regular program so that he understands what he is dealing with (youtube, vimeo, rutube, coub). Where to look next? Are there ready-made solutions or do you need to tinker with video hosting data APIs?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Borisovich, 2015-03-24
@Pjeroo

You need to isolate the service and ID from them, and excuse me for the html embed code itself, well, what's wool, it takes 30 minutes maximum for your 4 services. Everything should work according to this standard
www.oembed.com/#section1
Press does this:
https://github.com/WordPress/WordPress/blob/master...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question