【发布时间】:2014-09-01 23:53:14
【问题描述】:
我有一个 I frame 可以播放视频。
<iframe src="//player.vimeo.com/video/81348723" id ="centralImage" width="840" height="400" ></iframe>
这里我需要将我的框架SRC转移到href来代替google的例子:
<a href="http://www.facebook.com/sharer.php?u=//player.vimeo.com/video/81348724" target="_blank">
这是我的分享按钮。实际上,我需要将 I frame 的当前 SRC 链接分享到 Facebook。
<a href="http://twitter.com/share?text=An%20Awesome%20Link&url=http://www.google.com" target="_blank"><img src="image/twitter.gif"width="30" height="30" > </a>
<a href="http://www.facebook.com/sharer.php?u=http://www.google.com" target="_blank"><img src="image/facebook.gif" width="30" height="30"></a>
这是我的转发器代码,当用户单击图像时,图像 URL 将传输到 I Frame SRC 并播放视频。
【问题讨论】:
标签: c# javascript html asp.net sql