2015-02-10 39 views
1

在我的網頁我使用wistia iframe的視頻,如何從wistia視頻中刪除社交圖標欄?

HTML:

<div id="iframeContainer"><iframe src="//fast.wistia.net/embed/iframe/bqur1fvyag?videoFoam%5BmaxWidth%5D=420&videoFoam%5BminHeight%5D=234" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width="" height=""></iframe> 

的Jquery:

<script src="//fast.wistia.net/assets/external/E-v1.js"></script> 

現在我需要隱藏的社會圖標欄。我在谷歌搜索wistia視頻。

我還在掙扎,誰能幫我解決這個問題?

在此先感謝。

+0

你需要檢查wistia文檔。你有什麼嘗試這一點?看起來你必須在他們的網站http://wistia.com/doc/embedding – 2015-02-10 05:23:34

+0

在你的自定義設置中配置它..沒有腳本..它只顯示這樣的http://wistia.com/doc/customizing-your-video#social_bar ..我認爲,必須在此代碼中進行編輯//fast.wistia.net/assets/external/E-v1.js – rish 2015-02-10 05:25:14

+0

您不能。您不擁有該代碼。您需要取消選中所有這些複選框。這超出了本網站提供的幫助範圍。您應該聯繫wistia支持。 – 2015-02-10 05:27:10

回答

0

我創建了一個jsbin您的解決方案http://jsbin.com/coforebezo/1/edit?html,js,output

你必須使用嵌入腳本爲您的視頻隱藏社交圖標。

如果你想更多的自定義視頻,請參照本細則 http://wistia.com/doc/embed-options#socialbar_plugin

+0

你不能通過iframe來完成。它會拋出權限錯誤。如果你真的想自定義視頻。它更好地使用嵌入代碼http://wistia.com – PRAH 2015-02-10 05:39:55

+0

推薦你在這裏http://jsfiddle.net/7ah9hk6d/ – PRAH 2015-02-10 05:42:58

+0

看到這個http://stackoverflow.com/questions/13758708/permission-denied-to-access -property-document你無法獲得跨域的iframe內容 – PRAH 2015-02-10 05:49:29

相關問題