jplayer

jPlayer songs not loading correctly using MVC method

自古美人都是妖i 提交于 2019-12-06 01:21:11
问题 If I use mp3: "/Music/StreamUploadedSongs/1" in the following code: var player = new $("#jquery_jplayer_1").jPlayer({ ready: function () { $(this).jPlayer("setMedia", { mp3: "/Music/StreamUploadedSongs/1", }); }, cssSelectorAncestor: "#jp_container_1", swfPath: "~Scripts/Jplayer/jquery.jplayer.swf", useStateClassSkin: true, autoBlur: false, keyEnabled: true } }); Here is what it looks like, you can see jplayer isn't moving the times correctly (they are overlapping) and also the seek/play bar

jPlayer fullscreen while inside IFRAME?

ⅰ亾dé卋堺 提交于 2019-12-05 22:36:38
问题 Can jPlayer's fullscreen be made to work while inside an IFRAME tag? As is, the "full screen" is restricted by the size of the iframe. EDIT: Here's how I insert jPlayer in an IFRAME : <div id="movieContainer" > <object id="videoTut" name="videoTut" type="text/html" data="/videotutorial/videotut.html"> </object> </div> Where videotut.html contains a full HTML page that contains jPlayer and works if loaded independently. And the object tag is modified using code like document.getElementById(

jPlayer text link does not play

喜夏-厌秋 提交于 2019-12-05 18:04:09
i am trying to do a basic jplayer text link on click to play an mp3 file, but i am unable to get it to function as there is no sound. here is the code $(document).ready(function(){ $("#jquery_jplayer").jPlayer({ ready: function (event) { $('.voice').click(function(e) { e.preventDefault(); $(this).jPlayer("setFile", $(this).attr('href')).jPlayer("play"); }); }, swfPath: "/ui/core/js/jPlayer/", supplied: "mp3", wmode: "window" }); }); here is the html: <table> <tr> <td> <a href="music.mp3" class="voice">Listen</a> </td> </tr> </table> <div id="jquery_jplayer"></div> what am i missing? thanks

jPlayer - how to find out if it's playing

独自空忆成欢 提交于 2019-12-05 06:51:13
How can I find out if jPlayer is playing? I tried this alert($.jPlayer.event.playing); but it doesn't work. Kyle's method works fine, here's a fiddle to demonstrate it in action: http://jsfiddle.net/75lb/95EPu/ However, ordinarily you wouldn't need to access jPlayer's internals like this, being an event-driven plugin.. would it be cleaner to respond to one of jPlayer's many events (at the appropriate moment)? http://www.jplayer.org/latest/developer-guide/#jPlayer-events I've not worked with Jplayer specifically, but playing around, this returned false if the media was playing and true if it

SimpleCaptcha and wav playback

北慕城南 提交于 2019-12-05 06:34:25
问题 Our client is using SimpleCaptcha. My understanding is that SimpleCaptcha is able to produce audio captchas in WAVE format (.wav). Later these CAPTCHA-s are played back using the HTML5 audio tag, something like this: <audio controls="controls" autoplay> <source src="captcha.wav" /> </audio> Of course this is not cross browser compatible and one of the reasons is the WAVE format. This link suggests that IE9 supports only MP3 while most other browsers are fine with OGG and WAVE. Further MP3 is

JPlayer + Ajax page load

*爱你&永不变心* 提交于 2019-12-04 20:33:19
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('setMedia', { mp3: "<?php echo ($mp3); ?>", oga: "<?php echo ($ogg); ?>" }); }, swfPath: "<

Streaming live audio with jPlayer

三世轮回 提交于 2019-12-04 16:39:29
问题 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 snippets: $(document).ready(function() { $("#jpId").jPlayer( { ready: function () { $(this).jPlayer("setFile", "http://mp3-vr-128.as34763.net:80/;stream/1", "http://ogg2.as34763.net/vr160.ogg") .jPlayer("play"); }, swfPath: "client/js", volume: 60, oggSupport: true

JPlayer issue in IE9

我的梦境 提交于 2019-12-04 13:34:26
问题 i think there is a problem in jquery.jplayer.min.js file which one i am using. My jplayer is not working in only IE9. its working in all other browser. 回答1: In this thread Mark P. notes that you must have MIME types set properly. Try putting this in your .htaccess: AddType video/mp4 mp4 AddType video/mp4 m4v More here: http://www.jplayer.org/latest/developer-guide/#jPlayer-server-response 回答2: The current major release (2.0.0) does not support IE9, but support is being added as of version 2.0

jPlayer - Save user settings through page redirect's

隐身守侯 提交于 2019-12-04 05:58:47
问题 I've been on this for a few days now. I can't get this to work. Hopefully someone can help me out and point me into the right direction. Using jPlayer (http://jplayer.org) I need to set cookies to the following below so when the user goes back to that webpage the player has those settings saved! 1) volume 2) play (auto play) 3) stop 4) song (track) Thank you! Tim <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title> </title> <meta http-equiv="Content-Type" content="text/html; charset

jPlayer fullscreen while inside IFRAME?

蹲街弑〆低调 提交于 2019-12-04 05:02:19
Can jPlayer's fullscreen be made to work while inside an IFRAME tag? As is, the "full screen" is restricted by the size of the iframe. EDIT: Here's how I insert jPlayer in an IFRAME : <div id="movieContainer" > <object id="videoTut" name="videoTut" type="text/html" data="/videotutorial/videotut.html"> </object> </div> Where videotut.html contains a full HTML page that contains jPlayer and works if loaded independently. And the object tag is modified using code like document.getElementById('movieContainer').innerHTML = '... . Also see: https://groups.google.com/forum/#!topic/jplayer/IQxIIYhtAnE