将Facebook视频嵌入到html网页dosnt工作中

时间:2017-06-05 09:15:36

标签: html facebook

我做得对(我认为) 然而,没有任何表现。我遵循了这个https://www.facebook.com/help/1570724596499071?helpref=uf_permalink,但它不起作用。然后跟着这个https://developers.facebook.com/docs/plugins/embedded-video-player做了它所说的只是发现它仍然没有用。

代码:

`<!docutype html>

<html>

<head>

</head>
<body bgColor="grey"> 
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=207087449372135";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<br>
<div class="fb-like-box" data-href="http://www.facebook.com/FacebookDevelopers" data-width="The pixel width of the plugin" data-height="The pixel height of the plugin" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="true" data-show-border="true"></div>
<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FSydneyBodyboardClub%2Fvideos%2F1362643443797235%2F&show_text=0&width=560" width="560" height="311" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>
</body>

</html>`

0 个答案:

没有答案
相关问题