我有3个模态iframe,它们是从该网址扩展名“?start = 0&end = 5; autoplay = 1&mute = 1”自动播放的。但是循环后,我的应用仍然向youtube发出了请求。我的项目位于.Net Framework 4.5中。
<div id="modalId">
<a href="#" id="latest_video" class="pull-left">
<iframe id="@modalId" class="stop-video"src="@String.Format("{0}{1}", video.VideoUrl, "?start=0&end=5;autoplay=1&mute=1")" allowfullscreen="true" style="height:210px;max-width:240.33px;background-color:black"></iframe>
</a>
</div>