【问题标题】:How to remove social icon bar from wistia videos? [closed]如何从 wistia 视频中删除社交图标栏? [关闭]
【发布时间】:2015-02-10 05:09:50
【问题描述】:

我在我的网页中使用 wistia iframe 视频,

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 视频。

还在苦苦挣扎,谁能帮我解决这个问题?

提前致谢。

【问题讨论】:

  • 您需要查看 wistia 文档。你有什么尝试到这一点?看起来你必须在他们网站上的自定义设置中配置它wistia.com/doc/embedding
  • 在那.. 根本没有脚本.. 它只显示这样wistia.com/doc/customizing-your-video#social_bar .. 我认为,必须在此代码中编辑 //fast.wistia.net/assets/external/E -v1.js
  • 你不能。您不拥有该代码。您需要取消选中所有这些复选框。这超出了本网站提供的帮助范围。您应该联系 wistia 支持。
  • 好的,谢谢@PatrickGunderson ..

标签: javascript jquery html


【解决方案1】:

我为您的解决方案创建了一个 jsbin http://jsbin.com/coforebezo/1/edit?html,js,output

您必须为您的视频使用嵌入脚本来隐藏社交图标。

如果您想对视频进行更多自定义,请参阅文档 http://wistia.com/doc/embed-options#socialbar_plugin

【讨论】:

  • 你不能通过 iframe 来做。它会抛出权限错误。如果您真的想自定义视频。它更好地使用wistia.com推荐的嵌入代码
  • 看到这个stackoverflow.com/questions/13758708/… 你无法获取跨域的 iframe 内容
  • 它工作得很好,我刚刚检查了所有浏览器。如果您尝试更改视频代码。也要改变 div
  • 如何去除视频左右两侧的黑条?谢谢
猜你喜欢
  • 1970-01-01
  • 2020-03-01
  • 2010-10-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-03-19
相关资源
最近更新 更多