jplayer

jPlayer doesn't play audio file automatically in iPad

做~自己de王妃 提交于 2019-12-13 18:15:43
问题 I am trying to play audio file using jPlayer in iPad. It works fine in Safari on my local PC but when I tried to open it in my iPad it doesn't play audio automatically. Please help me. Thanks 回答1: You may have to initialize jPlayer on user action in Mobile Safari. The first time a media element is played must be initiated by a user gester. ie., The user must click the play button. This affects the operation of a jPlayer("play") in the ready event handler. The browser will ignore the command.

jPlayer + Bootstrap Modal - DOM Issues

徘徊边缘 提交于 2019-12-13 01:12:22
问题 I'm trying to get a Bootstrap modal to load via ajax some html that creates a modal. This html will have jPlayer in it. I absolutely cannot get the buttons to work for the audio in the modal no matter what I try. Here's how I'm loading the modal: $(document).ready(function() { $(".createmodal").click(function(){ $('<div class="modal hide fade"> ..modal html.. </div>').modal(); }); }); ​ Here's the example in jsfiddle -- I skipped the ajax and just loaded the html straight into the modal

How to repeat a song in jplayer circle

时光怂恿深爱的人放手 提交于 2019-12-12 04:21:30
问题 How to repeat a song in jplayer circle? I am using the below code for autoplay. I want to implement repeat also. I have tried to add some option like repeat: , but it didn't work for me. <script type="text/javascript"> $(document).ready(function(){ /* * Instance CirclePlayer inside jQuery doc ready * * CirclePlayer(jPlayerSelector, media, options) * jPlayerSelector: String - The css selector of the jPlayer div. * media: Object - The media object used in jPlayer("setMedia",media). * options:

jPlayer doesn't work (I suppose because of old flash-plugin)

二次信任 提交于 2019-12-11 23:59:05
问题 I have insert jPlayer (http://www.jplayer.org/) into my site (http://en.lyrsense.com/) and I've got a lot of feedback that it deosn't work. I suppose that it's because of old version of flash-plugin, but no one browser show block whith class .jp-no-solution. I've checked all browsers at home and at work — everywhere it works. But there are too many feedbacks that jplayer doesn't play music. I'm sorry for my english, I'm from Russia. Very thankfull, Rodion 回答1: Your plugin is working well

Buffering in jPlayer

◇◆丶佛笑我妖孽 提交于 2019-12-11 17:44:27
问题 We use Icecast streaming server to jPlayer on our website and also used on our mobile app. I was trying to add an <intro> to the Icecast config, but when I do, it presents an issue on mobile devices. Whenever the phone has an interruption causing a temporary disconnect, like a call that comes in, the stream repeats what you started listening to when you first connected to the stream, after the intro plays again of course. For instance, if I start the stream listening to one show or song, a

Cannot scrub/scroll through jPlayer audio when mp3 is cached by Workbox

 ̄綄美尐妖づ 提交于 2019-12-11 16:32:42
问题 I have converted a single page HTML5 Cordova app into a PWA. The app uses jPlayer extensively to play mp3 files. I am using a variant of the circular jPlayer here: http://jplayer.org/latest/demo-05/. The circle player has a circular progress bar that can also be used to scrub backwards and forwards through the track. Everything works fine in PWA mode until I cache the mp3 with Workbox (version 4.3.1). Then scrubbing fails. I can grab the scrub bar and move it but when I release it the track

how can i play the linked-to audio file in jPlayer, on click?

久未见 提交于 2019-12-11 13:33:53
问题 I've tried to resolve this by looking at the user guide for jPlayer and via answers to a similar question on Stackoverflow, but unfortunately my ability with javascript is such that I can't implement the suggested answer. I've successfully placed jplayer on my site, styled it and implemented a playlist no sweat. Here's the javascript (snippet - removed extraneous extra songs): $(document).ready(function(){ new jPlayerPlaylist({ jPlayer: "#jquery_jplayer_1", cssSelectorAncestor: "#jp_container

jplayer play between certain percents of time in jquery

こ雲淡風輕ζ 提交于 2019-12-11 09:27:51
问题 I know I can start jPlayer at a given point in time or by percent by doing: $("#jquery_jplayer").jPlayer("playHead", 30); This is when issuing the play command (works fine), but how can I constrain the play time between two fixed points, either by absolute time or percent is fine? Ie I want it to start at 30% and end at 50%, etc. Basically just a good snippet of a song. Any ideas or pointers? http://www.happyworm.com/jquery/jplayer/latest/developer-guide.htm#jPlayer-playHead 回答1: Well in

multiple mp3 links in a single page with jplayer

强颜欢笑 提交于 2019-12-11 08:55:29
问题 In my page there are a number of mp3 links and I use jplayer. How can I update jplayer function to play when clicked the seperate links? $(document).ready(function() { $("#jquery_jplayer_1").jPlayer({ ready: function(event) { $(this).jPlayer("setMedia", { mp3: "test_1.mp3", //my mp3 file }); }, swfPath: "http://www.jplayer.org/2.1.0/js", supplied: "mp3" }); }); my mp3 links : <a href="javascript:listen(1);" class="jp-play" ></a> <a href="javascript:listen(2);" class=" jp-play" ></a> <a href=

Redirect song name from JPlayer HTML5 audio player

孤街醉人 提交于 2019-12-11 07:34:45
问题 I'm using JPlayer as an HTML5 audio player. In part of it's jQuery, it takes the name of a song in it's playlist and displays it as a list elemnt. I'd like to take that name-displaying function and redirect it to a different place. @Bender's answer below works when playing the songs via clicking on their thumbnails, but does not update the name if using the player's controls to skip to the previous or next song, or letting the player cycle through the playlist. It also doesn't display the