How can you detect a link in text and use oembed/jquery to change it (like Facebook, Twitter, etc.)

StackOverflow https://stackoverflow.com/questions/5924547

Вопрос

I want users to be able to copy and paste the link of something and, using oembed, paste it into a text box. From here I want to be able to identify the url and turn it into an oembed object or whatever you would call it. (e.x. Youtube Page=> URL=> textarea=> oembed=> embeded)

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top