How do I ask users to provide me link for their youtube videos -


is way ask users link tube videos site.

currently doing in below way,

i have text area field , page asks users copy code youtube site , paste iframe code in text area. way of doing things feel not correct there exists risk people might provide malicious scripts in text area , dont validation on field since optional field in form.

can suggest better way implementing feature ?

you should accept video id number, , validate matches ^\d*$.

you should build <iframe> tag in view.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -