jplayer

How to save current playing song in cookie?

孤者浪人 提交于 2019-12-25 19:36:11
问题 I am using jPlayer plugin. Here is an example link [ jsfiddle ]. I save the current playing track number in a cookie. After a browser reload it starts playing from the track number loaded from the cookie. This works but the problem is, after the current track ends, it starts to play from the first track of the playlist. I want it to continue to the next track. Example of current situation: playlist have 10 songs clicked on number 3 song cookie saved number 3 song browser reload start playing

jPlayer circle-player demo includes a css link not contained in the distribution

你离开我真会死。 提交于 2019-12-24 15:02:42
问题 This follows off a previous question. While trying to put together a simplified application that showed the problem, I went back to the demo which does not show the problem. I tried using this as a model for my simplified demo, when I was brought up short by line 11 of the source of the demo: <link href="/css/jPlayer.css" rel="stylesheet" type="text/css" /> They are including a root-level stylesheet that is not available in either the latest jPlayer or Circle-Player distributions. So what is

jPlayer multi-video demo code?

此生再无相见时 提交于 2019-12-24 10:58:01
问题 I'm just learning jPlayer. Love how versatile it is, choosing the appropriate format for each system it runs on. Is there any multi-video demo code, either from HappyWorm or third party, that I should be aware of? I'd like to create a player for multiple videos like this: P.S. If you'd like to help me out on a maximize issue while in an iframe , please do so here: jPlayer fullscreen while inside IFRAME? 回答1: listItem += "<a href='javascript:;' class='" + this.options.playlistOptions.itemClass

Audio from Icecast server not playing in Chrome

笑着哭i 提交于 2019-12-22 04:05:46
问题 I'm having trouble getting static content (mp3 files) served by an Icecast server to play in Google Chrome browser with HTML5. The reason we're serving the mp3s via Icecast is policy: the CPB requires they be "streamed" and not "downloaded" since we're public radio. Our live audio streams play just fine in Chrome. If you put the URL for an MP3 served by my Icecast 2.4.3 server straight into the URL bar in google Chrome, it does not play. Do the same thing in Firefox, IE, Safari, etc.. it

JPlayer + Ajax page load

亡梦爱人 提交于 2019-12-21 23:50:40
问题 I will try to keep this short: How would i manage to make a unique instance of jPlayer (http://jplayer.org/) "work" after an ajax page load? My jPlayer uses the following inline javascript code: <? $mp3 = get_post_meta(get_the_ID(), 'audio_mp3', TRUE); $ogg = get_post_meta(get_the_ID(), 'audio_ogg', TRUE); ?> <?php if($mp3 && $ogg) { ?> <script type="text/javascript"> jQuery(document).ready(function($) { jQuery( '#jquery_jplayer_<?php the_ID(); ?>' ).jPlayer({ ready: function() { jQuery(this)

Jplayer audio not working in Linux chrome

家住魔仙堡 提交于 2019-12-21 06:14:33
问题 I am using jplayer.js to play the song in my site. In windows it was working perfectly in all browsers. But in Linux system, the songs doesn't play in chrome browser.Anyone help me to sort out this issue. I have configured the jplayer displayed in the below details.. swfPath : "js", supplied : "mp3", wmode : "window" 来源: https://stackoverflow.com/questions/16014011/jplayer-audio-not-working-in-linux-chrome

Jplayer audio not working in Linux chrome

时光毁灭记忆、已成空白 提交于 2019-12-21 06:13:07
问题 I am using jplayer.js to play the song in my site. In windows it was working perfectly in all browsers. But in Linux system, the songs doesn't play in chrome browser.Anyone help me to sort out this issue. I have configured the jplayer displayed in the below details.. swfPath : "js", supplied : "mp3", wmode : "window" 来源: https://stackoverflow.com/questions/16014011/jplayer-audio-not-working-in-linux-chrome

why is jPlayer not playing my MP3 files in Firefox?

北战南征 提交于 2019-12-21 02:13:06
问题 I am having trouble playing an MP3 file using jQuery Jplayer in Firefox 8. I have installed the latest flash for my browser and I can see that the jplayer.swf file is being downloaded in the Flash tab of Firebug. I included the following files in this order: <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <script src="https://raw

JPlayer Circle Player does not show circle first time around with wav files made from vox

妖精的绣舞 提交于 2019-12-20 07:39:38
问题 I have an application that is using the JPlayer Circle Player to play short audios for transcription purposes. Each of these audios originates as a .vox file that has been converted to .wav by SoX. When the Play button is pressed, the audio plays but the green circle does not display. Once the clip has played, pressing play again does show the green circle advancing. I assume that this is because either the original vox format or the wav format does not contain any length data so that player

How can I play an MP3 file? [duplicate]

廉价感情. 提交于 2019-12-18 09:49:24
问题 This question already has answers here : Playing .mp3 and .wav in Java? (14 answers) Closed 5 years ago . I am trying to access an MP3 audio file saved in my source folder, so that I can play it in a Java program (application, not applet). The problem I seem to be having is that I cannot import javax.media . I have been trying to install the Java media framework, but it gives me an error report: "unable to execute...". I use JDK v7 u45 and had tried it on JDK v7 u40, but I can't seem to