【发布时间】:2015-04-15 17:06:11
【问题描述】:
目前我的情况是我想使用 iframe 在网页中显示一些视频。但是它只显示 1 个视频而不是 10 个。我不确定这里出了什么问题,但是当我将第一个 iframe src="..." 的相同链接放入 第二个 iframe src="..." 视频将显示。仅供参考,我也尝试使用 object 和 embed 但这两种方法似乎都不起作用。这是youtube的问题还是什么?下面是我的代码。这是我的代码。谢谢。 :)
<div class="box text-shadow">
<table class="demo-tbl"><!--<item>1</item>-->
<tr class="tbl-item"><!--<img/>-->
<td class=""><iframe width="250" height="250" src="https://www.youtube.com/embed/Nn2eWc4PxhM" frameborder="0" allowfullscreen>
</iframe></td>
<!--<data></data>-->
<td class="td-block"><p class="date">03/15/2012</p>
<p class="title">Arch</p>
<p class="desc">An arch is a structure that spans a space and
supports a load. Arches appeared as early as the 2nd millennium
BC in Mesopotamian brick architecture and their systematic use
started with the Ancient Romans who were the first to apply the
technique to a wide range of structures.</p>
<p class="like">5 Likes</p></td>
</tr>
<!--<item>2</item>-->
<tr class="tbl-item"><!--<img/>-->
<td class=""><iframe width="250" height="250" src="https://www.youtube.com/watch?v=ijxB1NBvLEc" frameborder="0" allowfullscreen></iframe></td>
<!--<data></data>-->
<td class="td-block"><p class="date">03/18/2012</p>
<p class="title">Architecture</p>
<p class="desc">Architecture is both the process and product of
planning, designing and construction. Architectural works, in
the material form of buildings, are often perceived as cultural
symbols and as works of art. Historical civilizations are often
identified with their surviving architectural achievements.</p>
<p class="like">25 Likes</p></td>
</tr>
<!--<item>3</item>-->
<tr class="tbl-item"><!--<img/>-->
<td class=""><iframe width="250" height="250" src="https://www.youtube.com/watch?v=X-8T7707U4w" frameborder="0" allowfullscreen>
</iframe></td>
<!--<data></data>-->
<td class="td-block"><p class="date">01/16/2011</p>
<p class="title">Autumn</p>
<p class="desc">Autumn or Fall is one of the four temperate seasons.
Autumn marks the transition from summer into winter, in
September (Northern Hemisphere) or March (Southern Hemisphere)
when the arrival of night becomes noticeably earlier. The
equinoxes might be expected to be in the middle of their
respective seasons, but temperature lag (caused by the thermal
latency of the ground and sea) means that seasons appear later
than dates calculated from a purely astronomical
perspective.</p>
<p class="like">12 Likes</p></td>
</tr>
</table>
</div>
【问题讨论】: