简体   繁体   English

JPlayer在Firefox Android上不起作用,但在所有其他浏览器上

[英]JPlayer Does Not Work On Firefox Android But All Other Browsers

I've been trying to figure out why my jplayer configuration is playing on all browsers, except android for firefox. 我一直在试图弄清楚为什么我的jplayer配置在所有浏览器上播放,除了Firefox的android。 I followed the development guide for the last few days, and im still struggling to figure this out. 在过去的几天里,我一直遵循开发指南,而即时消息仍然难以解决。 My dev site is http://dev.beatautomate.com/appdevel/?uid=titus I declared a few properties so flash will come in as a fallback back for uncompatible browsers... But Im not sure what im doing wrong.. A snippet of my code is below, and again my dev site is http://dev.beatautomate.com/appdevel/?uid=titus any ideas, or suggestions? 我的开发站点是http://dev.beatautomate.com/appdevel/?uid=titus,我声明了一些属性,因此Flash将作为不兼容浏览器的后备设备而来...但是我不确定我在做什么错。下面是我的代码段,我的开发网站还是http://dev.beatautomate.com/appdevel/?uid=titus,您有什么想法或建议吗? thanks so much!! 非常感谢!!

       // json_data is a json object that has a few mp3s..

         var myPlaylist = new jPlayerPlaylist({
                jPlayer: "#jquery_jplayer_N",
                cssSelectorAncestor: "#jp_container_N"
            },json_data, {
                playlistOptions: {
                    enableRemoveControls: true
                },
                swfPath: "http://www.jplayer.org/latest/js/Jplayer.swf",
                supplied: "mp3",
                smoothPlayBar: true,
                keyEnabled: true,
                solution:"flash,html"
            });

It looks like jPlayer doesn't correctly detect that Firefox for Android supports MP3 playback. 看来jPlayer无法正确检测到Firefox for Android支持MP3播放。

Modifying all occurrences of the string 'audio/mpeg; 修改所有出现的字符串'audio / mpeg; codecs="mp3"' to 'audio/mpeg' in the jPlayer library makes playback work correctly in Firefox for Android. jPlayer库中的codecs =“ mp3”'到'audio / mpeg'使播放在Android版Firefox中可以正常工作。 I'm not sure whether this creates problems for detection in any other browsers, however. 我不确定这是否会在其他任何浏览器中检测到问题。

Hopefully the jPlayer team can fix this detection in the next release. 希望jPlayer团队可以在下一个版本中修复此检测问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 简单的Javascript在FireFox中不起作用(但在所有其他浏览器中都有效) - Simple Javascript doesn't work in FireFox (but does in ALL other Browsers) 如何在Firefox以外的所有其他浏览器中实现此功能 - How to make this work in all other browsers other than Firefox 为什么我的jPlayer可以在Firefox而不是Chrome上运行? - Why does my jPlayer work in Firefox and not Chrome? javascript如何在FireFox中完美地工作,而在其他浏览器中却根本不工作? - How can javascript work perfectly in FireFox, but not work at all in other browsers? WebRTC onicecandidate 不会在 chrome for android 上触发,但适用于所有其他浏览器,包括 firefox for android - WebRTC onicecandidate is not triggered on chrome for android but works on all other browsers including firefox for android scrollIntoView 是否适用于所有浏览器? - Does scrollIntoView work in all browsers? JW Player电影数据库服务不适用于野生动物园(所有其他浏览器均可用) - JW Player Movie Database service does not work for safari (all other browsers work) waveurfer.js-使它在Firefox以外的浏览器中运行 - wavesurfer.js - getting it to work in browsers other than Firefox this.type ='password'在IE中不起作用,但在其他所有浏览器中都不起作用 - this.type='password' doesn't work in IE, but all other browsers it does 在Firefox中使用Hammer Pinch方向错误-在所有其他浏览器中均可使用 - Using Hammer Pinch in Firefox directed wrongly - works in all other browsers
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM