开发者

I want to add a Page on my Website for Embedding the Youtube Videos just by Submitting the Embedding code in my site in php?

I want to add a Page on my Website for Embe开发者_StackOverflowdding the Youtube Videos just by Submitting the Embedding code in my site in php . is there in free script for it. Can anyone provide me the code for

Please help Me!

Rupali


Letting users to input the embedding HTML is BAD PRACTICE, and leaves a security hole in your web site. (Just imagine if some user enters some random HTML or an evil piece of JavaScript.)

The real solution would be to ask the user for the URL of the video and then constructing the embed HTML yourself. If you examine the youtube embedding HTMLs, you'll see it is not difficult.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜