在gridview中使用iframe

问题描述:

我想在gridview中使用iframe(用于youtube视频)。

我该怎么办?

i want to use iframe(for youtube video) in gridview.
how can i do it ?

http://forums.asp.net/t/1719163.aspx/1 [ ^ ]





查看此链接
http://forums.asp.net/t/1719163.aspx/1[^]


check this link


这是一个例子..



Here is an example..

<iframe class="youtube-player" id="player" type="text/html" src="http://www.youtube.com/embed/JW5meKfy3fY?wmode=opaque&autohide=1&autoplay=1&enablejsapi=1" frameborder="0"><br /></iframe>





你应该照顾网址传递..



You should take care of url passing..