Javascript 嵌入的Youtube视频不显示

Javascript 嵌入的Youtube视频不显示,javascript,html,css,youtube,Javascript,Html,Css,Youtube,我从youtube上复制了给定的嵌入代码,然后将其粘贴到我的网站上。然而,每当我加载网站而不是出现在给定表空间的页面底部时,它就会在页面顶部显示为空白。我已经在多个视频中尝试过了,但仍然发生了同样的事情,或者它显示了一个框,其宽度和高度编码为“文件不在您的目录中” 这是HTML <!doctype html> <html> <head> <meta charset="utf-8"> <title>Josh Taylor</titl

我从youtube上复制了给定的嵌入代码,然后将其粘贴到我的网站上。然而,每当我加载网站而不是出现在给定表空间的页面底部时,它就会在页面顶部显示为空白。我已经在多个视频中尝试过了,但仍然发生了同样的事情,或者它显示了一个框,其宽度和高度编码为“文件不在您的目录中”

这是HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Josh Taylor</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body>

<div id="header">
<h1 class="PageHeader"> JOSH TAYLOR</h1>
<div id="navigation">
<ul class="Navigation">
  <li><a href="index.html" class="thispage"> HOME </a></li>
  <li><a href="Music.html">MUSIC</a></li>
  <li><a href="Film.html">FILMMAKING</a></li>
  <li><a href="Photo.html">PHOTO</a></li>
  <li><a href="Justified.html"> JUSTIFIED DESIGN </a></li>
</ul>
</div>
</div>
<div id="content">

<table width="50%" border="0" align="center" class="table">
<tr>
  <td class="table"><span class="PageTitle">Filmmaking and Video editing</span></td>
</tr>
<tr>
  <td class="table"><p class="Introduction">In watching hours of videos on YouTube,  TV shows and       Films I got inspired to create my own content through filming video  and editing the clips by the use of video editing software.</p></td>
</tr>
<tr>
  <td class="table"><span class="H1">Short films</span>
    <p>For the past couple of years I  have enjoyed going out with my friends and filming small films that are usually  action-based and generally experimenting with my camera which I bought around a  year ago. I used to film on a old family digital camera however decided on  getting a DSLR camera to suit both my Filmmaking and Photograph hobbies. I  recently went on a trip to London and filmed 250 small clips all between 1-10  seconds long where I am currently editing all the clips together to create a  montage of my experience.</p>
    <p><img src="../GFX/FreddieW.jpg" width="620" height="350"></p>
<h1 class="H1"> VFX</h1>
  <p>VFX stands for Visual effects and  is a large part of what inspired me to get involved with  filmmaking and video  editing. FreddieW and Corridor Digital are two major channels on YouTube that  create short films that always involve visual effects in their videos created  by them in software such as Adobe after effects. I have been watching FreddieW  for many years and the channel has over 1 billion total views on all his  videos. They inspired me in that these effects were possible from my own  computer and therefore I have continued to practice and learn visual effects  software such as after effects.</p></td>


</tr>
<tr>
  <td class="table"></td>
  <iframe width="640" height="360"      
 src="//www.youtube.com/embed/H0Ib9SwC7EI?feature=player_detailpage"
 frameborder="0" allowfullscreen>
</tr>
</table>
<h1 class="H1">&nbsp;</h1>
</div>
<div id="footer">
<h3 class="PageFooter"> JOSH TAYLOR - 2014 </h3>
</div>
</body>
</html>

尝试将iframe放在
的内部。是的,它应该放在td内部 但youtube地址也不正确

在iframe中,缺少src地址http:

用此代码替换iframe代码

<iframe width="640" height="360"      
 src="http://www.youtube.com/embed/H0Ib9SwC7EI?feature=player_detailpage"
 frameborder="0" allowfullscreen>

<iframe width="640" height="360"      
 src="http://www.youtube.com/embed/H0Ib9SwC7EI?feature=player_detailpage"
 frameborder="0" allowfullscreen>