Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question