【问题标题】:Internet explorer not playing youtube videos with JW PlayerInternet Explorer 无法使用 JW Player 播放 youtube 视频
【发布时间】:2013-12-23 19:28:04
【问题描述】:

我正在使用最新版本的 JW Player 将 youtube 视频渲染到页面,它在 Chrome 和 FF 中运行良好,但在所有版本的 IE 中它只是渲染一个黑色矩形,没有错误继续。我正在使用此代码渲染视频:

jwplayer("video3").setup({
   file: "http://www.youtube.com/watch?v=xxxxx",
   height: 500,
   width: 736
});

有什么问题?

编辑:

这是 JS 在 IE 中生成的代码,如果这有帮助的话:

<object name="video1" width="100%" height="100%" tabindex="0" id="video1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" "=""><PARAM NAME="_cx" VALUE="19473">
  <PARAM NAME="_cy" VALUE="13229"><PARAM NAME="FlashVars" VALUE="">
  <PARAM NAME="Movie" VALUE="http://xxx.xxx/jwplayer/jwplayer.flash.swf">
  <PARAM NAME="Src" VALUE="http://xxx.xxx/jwplayer/jwplayer.flash.swf">
  <PARAM NAME="WMode" VALUE="Opaque"><PARAM NAME="Play" VALUE="0">
  <PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High">
  <PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1">
  <PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE="always">
  <PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0">
  <PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE="000000">
  <PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE="">
  <PARAM NAME="SeamlessTabbing" VALUE="1">
  <PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE="">
  <PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all">
  <PARAM NAME="AllowFullScreen" VALUE="true">
  <param name="movie" value="http://xxx.xxx/jwplayer/jwplayer.flash.swf">
  <param name="allowfullscreen" value="true">
  <param name="allowscriptaccess" value="always">
  <param name="seamlesstabbing" value="true">
  <param name="wmode" value="opaque"><param name="bgcolor" value="#000000">
 </object>
<div id="video1_aspect" style="display: none;"></div>

【问题讨论】:

  • 应该没问题,有链接吗?
  • 它是一个开发网站,我不确定公开这是否明智,但我在 IE 中发布了 JS 的 HTML 输出,如果有帮助,有什么想法吗?
  • 可以通过电子邮件发送吗? - info [at] longtailvideo [dot] com,谢谢。

标签: javascript internet-explorer video youtube jwplayer


【解决方案1】:

什么版本的IE。检查this 以确保它受支持。

我的最佳猜测:

【讨论】:

  • 使用 10 和 9,仅此而已。非常喜欢这张照片哈哈
【解决方案2】:

显然没有安装 Flash 播放器

【讨论】:

    猜你喜欢
    • 2013-12-25
    • 2015-12-31
    • 1970-01-01
    • 2016-05-06
    • 1970-01-01
    • 2015-12-23
    • 1970-01-01
    • 1970-01-01
    • 2016-04-26
    相关资源
    最近更新 更多