2013-10-25 37 views
0

我在Facebook做了一個應用程序,它有一些簡單的html,包括一個包含vimeo視頻的iframe。這個應用程序在過去一年左右運行良好,但突然間視頻並未顯示出來。我已經加倍檢查了頁面的代碼(做了一個獨立的html頁面,它工作的很好)Facebook標籤 - Vimeo iframe視頻停止工作

有誰知道Facebook是否更改了iframes或嵌入式視頻的政策嗎?如果有這樣的建議?

這裏是一個應用程序(在Facebook上)的鏈接:https://www.facebook.com/LastFrontierHeli/app_367384316627957

這裏是該應用的代碼:

<html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Welcome</title> 
<style type="text/css"> 
    <!-- 
    .container { 
    height: 810px; 
    width: 841px; 
    } 
    --> 
    </style> 
</head> 

    <body> 
<div class="container"> 
<img src="http://www.lastfrontierheli.com/images/facebook/facebook_welcome_header.jpg" alt="header" /> 
<img src="http://www.lastfrontierheli.com/images/facebook/facebook_welcome_vid_left.jpg" alt="vid left" /> 
<iframe src="http://player.vimeo.com/video/30746400?byline=0&amp;portrait=0" width="658" height="370" frameborder="0"></iframe> 
<img src="http://www.lastfrontierheli.com/images/facebook/facebook_welcome_vid_right.jpg" alt="vid right" /> 
<img src="http://www.lastfrontierheli.com/images/facebook/facebook_welcome_content.jpg" alt="content" /><a href="http://www.lastfrontierheli.com" target="_blank"> 
<img src="http://www.lastfrontierheli.com/images/facebook/facebook_welcome_button_website.jpg" alt="website button" border="0" /></a> 
<a href="http://www.facebook.com/LastFrontierHeli" target="_parent"> 
<img src="http://www.lastfrontierheli.com/images/facebook/facebook_welcome_button_facebook.jpg" alt="facebook button" border="0" /></a> 
</div> 
</body> 

任何幫助將不勝感激!

回答

0

要找出只是使用Chrome開發人員工具, 和控制檯下,你可以看到這行錯Iv'e:

[鎖定]在https://367384316627957.iframehost.com/966373?signed_request=incxTmuyY3_vzi頁面... NlciI6eyJjb3VudHJ5IjoiaWwiLCJsb2NhbGUiOiJlbl9VUyIsImFnZSI6eyJtaW4iOjIxfX19 跑到離http://player.vimeo.com/video/30746400?byline=0&portrait=0的不安全內容。

因此,你不知道 - facebook要求所有數據加密(通過SSL提供)。

剛剛從http://player.vimeo改變你的iframe ..到http * 小號 *://player.vimeo ,它應該工作的罰款。

+0

你是一個冠軍!非常感謝你的幫助! – Greg