C# 在Razor页面MVC5中嵌入视频URL
我正在尝试使用视频的URL在网页中嵌入视频。 URL将是Facebook视频URL、Instagram视频URL、YouTube视频URL。 我正在尝试此代码,但返回“www.facebook.com拒绝连接” ,“www.youtube.com拒绝连接。”C# 在Razor页面MVC5中嵌入视频URL,c#,html,asp.net-mvc,iframe,C#,Html,Asp.net Mvc,Iframe,我正在尝试使用视频的URL在网页中嵌入视频。 URL将是Facebook视频URL、Instagram视频URL、YouTube视频URL。 我正在尝试此代码,但返回“www.facebook.com拒绝连接” ,“www.youtube.com拒绝连接。” <iframe width="560" height="315" src="https://web.facebo
<iframe width="560"
height="315"
src="https://web.facebook.com/RoyaNews/videos/1512267332317362/?extid=xR0gOtJQ2S4PgSDW"
frameborder="0"
allowfullscreen>
</iframe>
<iframe width="560"
height="315"
src="https://www.youtube.com/watch?v=sb-f3xzLhpc"
frameborder="0"
allowfullscreen>
</iframe>