小编use*_*796的帖子

Youtube嵌入了iframe onReady和onStateChange事件未在Internet Explorer中触发

我几乎逐字地复制了Youtube嵌入式播放器演示代码Youtube嵌入式播放器演示代码 - 更改是插入console.log以便我可以看到发生了什么.

    <!DOCTYPE html>
<html>
  <body>
    <!-- 1. The <iframe> (and video player) will replace this <div> tag. -->
    <div id="player"></div>

    <script>
      // 2. This code loads the IFrame Player API code asynchronously.
      var tag = document.createElement('script');

      tag.src = "https://www.youtube.com/iframe_api";
      var firstScriptTag = document.getElementsByTagName('script')[0];
      firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

      // 3. This function creates an <iframe> (and YouTube player)
      //    after the API code downloads.
      var player;
      function onYouTubeIframeAPIReady() {
        player = new YT.Player('player', {
          height: '390',
          width: '640',
          videoId: 'M7lc1UVf-VE', …
Run Code Online (Sandbox Code Playgroud)

javascript youtube-api youtube-javascript-api

9
推荐指数
1
解决办法
1704
查看次数

Feed对话框发布到墙上未显示在新闻源上

我正在使用Feed Dialog http://developers.facebook.com/docs/reference/dialogs/feed/,当发布帖子时,它会显示在目标墙上但不会显示在新闻源上.此外,如果有人在浏览墙上发布了"赞"或评论,则不会出现在任何新闻源上或海报墙上.

以下是要发布的URL的示例 http://www.facebook.com/dialog/feed?app_id=417204058317545&link=http://www.kilcooleac.com&to=kilcooleac&picture=http://www.kilcooleac.com/images/fb3.jpg&name=Kilcoole%20AC&caption=Kilcoole%20ac& description=Fionnuala%20Britton%20running%2010k%20in%20the%20Olympics%20for%20Ireland%209:25pm%20Friday%203rd%20August&redirect_uri=http://www.facebook.com/kilcooleac

我搜索过并在SO上发现了两个相似的帖子但没有解决方案.Google搜索会显示类似的错误报告http://developers.facebook.com/bugs/405986669448307

我在Facebook上发布了一个错误 https://developers.facebook.com/bugs/507380435954622

感谢所有帮助/建议.

非常感谢

facebook

7
推荐指数
1
解决办法
1216
查看次数