simo9900 simo9900 - 1 month ago 5x
Ajax Question

Showing a preview of a youtube video when setting the link in comment php

I'm trying to develop in my website a preview of youtube link like facebook.

For example: If i set in comment a link of youtube video like, a preview of this video will be showed in comment.

How can i do this??



You have to replace the link or url with an Iframe

For you

you have to replace that text for -->

<iframe width="560" height="315" src="" frameborder="0" allowfullscreen></iframe>