Questions tagged [jplayer]

jPlayer is the completely free and open source (GPL/MIT) media library written in JavaScript.

A jQuery plugin, jPlayer allows you to rapidly weave cross platform audio and video into your web pages. jPlayer's comprehensive API allows you to create innovative media solutions while support and encouragement is provided by jPlayer's active and growing community.

771 questions
23
votes
1 answer

How to Prevent Chrome fetching the last 128 bytes of an MP3 file

I am having a problem with this for a while now, so I thought I'd ask for your help. For a proof of concept project, I created a HTML 5 only last.fm player using jPlayer . It works fine with Firefox, but does not play using the html solution when…
user3001
  • 3,437
  • 5
  • 28
  • 54
21
votes
1 answer

Streaming live audio with jPlayer

I am learning how to use jPlayer. I'd like to stream http://u10.sky.fm:80/sky_the80s audio using jPlayer. http://www.jplayer.org/1.2.0/demo-08-oggSupportFalse/ demo works on Chrome 9. I tried to simplify it with the following code…
pion
  • 3,593
  • 6
  • 29
  • 41
19
votes
3 answers

HTML5 audio libraries

There are a number of JavaScript libraries available for HTML5 audio, to either make a developer's life easier, ensure cross-browser compatibility or support Flash fallback for older browsers. I haven't found much in terms of comparatives, except…
Fabien Snauwaert
  • 4,995
  • 5
  • 52
  • 70
14
votes
5 answers

jPlayer Stream MP3 but prevent from downloading and hotlinking

I am building a site similar to thefuture.fm. DJs are able to upload MP3 files and set if the file only can be streamed or streamed and downloaded. Visitors to the site don't have to login to listen to music. They should be able to stream/download…
Sumit Bijvani
  • 8,154
  • 17
  • 50
  • 82
9
votes
3 answers

How can i make circle jPlayer autoplay?

Can anyone tell me how to make this autoplay? $(document).ready(function(){ var myCirclePlayer = new CirclePlayer("#jquery_jplayer_1", { m4a:"x.mp3", oga: "x.ogg" }, { cssSelectorAncestor: "#cp_container_1" …
Kochumon Mathew
  • 91
  • 1
  • 1
  • 2
9
votes
1 answer

How to avoid unnecessary buffering in jPlayer

I have a jPlayer (HTML5 song player using jquery) and it starts to play a song from xx secs of a song. But the problem is it has to first buffer the XX secs and then starts to play which is waste of bandwidth. Why doesnt it start its buffering from…
footy
  • 5,803
  • 13
  • 48
  • 96
9
votes
2 answers

Play Mp3 sound clip on mouseclick using jplayer?

Actually this the first time I'm gonna use jplayer plugin, so all I need is to play a sound clip (2 sec) when I click on a div, and I don't know how to use jplayer! I also need to load the sound clip file in cache as well as the page is loading, so…
Sam
  • 325
  • 2
  • 3
  • 9
9
votes
2 answers

Audio from Icecast server not playing in Chrome

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…
Dan Mantyla
  • 1,840
  • 1
  • 22
  • 33
9
votes
0 answers

jPlayer stops in the middle of track and starts repeating a section of the track

I use jPlayer 2.7.1 (https://cdnjs.cloudflare.com/ajax/libs/jplayer/2.7.1/jquery.jplayer/jquery.jplayer.min.js) on my website to play audio tracks for users. The audio tracks come from an S3 bucket. Recently some users who access the website via an…
8
votes
3 answers

jQuery.attr() works fine on Google Chrome and IE, but fails on Firefox 8.0.1

I'm facing a curious behavior of Firefox 8.0.1 : this piece of code works fine on Google Chrome and in IE, but on Firefox it fails except if I run it in 'debug mode _ step by step' or if I put an alert just after the line where I set the attribute…
phron
  • 1,795
  • 17
  • 23
8
votes
3 answers

How to convert video to `m4v` with `ffmpeg`?

I'm trying to encode a video to m4v, so I can play it using jplayer on my website, but having troubles while specifieng correct parameter to ffmpeg. Here is the command I use: ffmpeg -i 1.avi -vcodec mpeg4 -f m4v -qmax 8 1.m4v 2>&1 The video I get…
Silver Light
  • 44,202
  • 36
  • 123
  • 164
8
votes
2 answers

Dynamically populate playlist with JSON from PHP in jPlayer

I have a PHP that create a JSON array of mp3 files in a directory. The JSON array output from PHP is : [{"title":"Kalimba","mp3":"/path/to/mydirectory/Kalimba.mp3"},{"title":"Maid with the Flaxen Hair","mp3":"/path/to/mydirectory/Maid with the…
phron
  • 1,795
  • 17
  • 23
8
votes
1 answer

jPlayer 2.0 Elapsed/Remaining Time

I'm working with jPlayer 2.0 I've got it playing, pausing, etc...but how do I grab the elapsed/remaining time attributes from the jquery object? I've tried the event handlers and even provided HTML elements with the default selectors, but none of…
7
votes
1 answer

HTML5 audio with a HTTP 302 redirect in Chrome

I am trying to write an HTML 5 based last.fm player using the popular jPlayer jQuery plugin (http://jplayer.org). The player works fine in Firefox. However I ran into a problem: From the last.fm API (http://last.fm/api) I get a playlist with urls to…
user3001
  • 3,437
  • 5
  • 28
  • 54
7
votes
4 answers

jPlayer - how to find out if it's playing

How can I find out if jPlayer is playing? I tried this alert($.jPlayer.event.playing); but it doesn't work.
simPod
  • 11,498
  • 17
  • 86
  • 139
1
2 3
51 52