这是我当前的设置
<script src="//player.ooyala.com/static/v4/stable/4.33.25/core.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.33.25/video-plugin/bit_wrapper.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.33.25/video-plugin/main_html5.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.20.8/skin-plugin/html5-skin.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.33.25/video-plugin/osmf_flash.min.js"></script>
<link rel="stylesheet" href="//player.ooyala.com/static/v4/stable/4.20.8/skin-plugin/html5-skin.min.css"/>
视频正常工作,并且显示了控制栏,但是我无法在Chrome上全屏查看视频。
我正面临link
中提到的这个问题我关注了线程的回复,
并使用/v4/production/latest/
视频可以播放,但无法再看到控制栏。
肯定出了什么问题?
答案 0 :(得分:0)
目前,我已经通过为/v4/stable/4.31.17/
设置skin.json
解决了我的问题。另外,我从项目中删除了html5-skin.min.js
。解决了我的控制栏问题。 (即现在我可以像以前一样看到控制栏。此外,我现在可以在chrome上全屏显示视频。这就是我更新播放器的原因)
如果我包含html5-skin> /v4/stable/4.20.8/
,则会在控制台中引发一些怪异的反应错误。
错误:
react-dom.production.min.js:13 Uncaught Invariant Violation: Minified React error #188; visit https://reactjs.org/docs/error-decoder.html?invariant=188 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:524946
at V (http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:525049)
at http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:548897
at on (http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:548934)
at Object.findDOMNode (http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:614892)
at r.generateResponsiveData (http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:325337)
at r.onResize (http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:325157)
at n (http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:513587)
at g (http://player.ooyala.com/static/v4/stable/4.31.17/skin-plugin/html5-skin.min.js:1:513657
使用的Chrome版本:75