2014-02-22 56 views
0

Flowplayer在視頻的左上角有一個圖標,它是「<>」。當您點擊它時,會出現消息「將此HTML代碼粘貼到您的網站上以嵌入」。從流水遊戲中移除嵌入圖標

我想從我的視頻中刪除該圖標。

所以我改變了fp-嵌入顯示:無如下所示。

但它仍然無法正常工作。

任何幫助,將不勝感激。

感謝

<!doctype html> 

<html> 

<head> 
    <meta charset="utf-8"> 

     <title>Flowplayer · iframe src</title> 

    <!-- optimize mobile versions --> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0"> 

     <!-- The "minimalist" skin - choose from: "minimalist.css", "functional.css", "playful.css" --> 
    <link rel="stylesheet" href="//releases.flowplayer.org/5.4.6/skin/playful.css"> 


<style type="text/css"> 
.fp-embed { 
    display: none; 
} 
</style> 

     <!-- Flowplayer depends on jquery --> 
    <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> 
     <!-- Flowplayer library --> 
    <script src="//releases.flowplayer.org/5.4.6/flowplayer.min.js"></script> 

</head> 

<body> 

<div class="flowplayer color-light fixed-controls color-alt no-background" 
    data-fullscreen="true"> 
    <video> 
<source type="video/mp4" src="http://example.com/example.mp4"> 
    </video> 
</div> 

</body> 
</html> 

回答

2

你的風格得到通過的Flowplayer本身的覆蓋。 如果更具體與您的CSS樣式選擇,你將能夠將其隱藏:

.flowplayer .fp-embed { 
    display: none; 
} 
3

上述方法行不通。我只是通過CSS浪費了很多時間。

,而不是這樣的:

<div class="flowplayer color-light fixed-controls color-alt no-background" data-fullscreen="true">

使用本: <div class="flowplayer color-light fixed-controls color-alt no-background" data-fullscreen="true" data-embed="false">