{"id":3018,"date":"2014-03-13T12:11:47","date_gmt":"2014-03-13T12:11:47","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/13\/firefoxhtml5-audiomediaelement-jsshoutcastrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-03-13T12:11:47","modified_gmt":"2014-03-13T12:11:47","slug":"firefoxhtml5-audiomediaelement-jsshoutcastrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/13\/firefoxhtml5-audiomediaelement-jsshoutcastrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"firefox,html5-audio,mediaelement.js,shoutcastRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9a514cd424088a3ba3012f5d77f2e334?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nPeter O.<br \/>\njavascript html firefox button hyperlink<br \/>\nI have two links inside a button but the links don&#8217;t seem to work on Firefox.&lt;button class=&#8221;btn login&#8221;&gt;&lt;a href=&#8221;\/login&#8221;&gt;&lt;b&gt;Log In&lt;\/b&gt;&lt;\/a&gt; | &lt;a href=&#8221;\/signup&#8221;&gt;&lt;b&gt;Sign Up&lt;\/b&gt;&lt;\/a&gt; &lt;\/button&gt;I tried JavaScript onclick and redirecting &#8211; even that is not working.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7806629160a492b05d21fd738953a4cf?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nWladimir Palant<br \/>\njavascript firefox firefox-addon xul<br \/>\nI&#8217;m using a firefox addon Keysnail. Keysnail adds a prompt (xul:textbox) on the bottom, and I want to know if the focus is on this prompt or not.Did a research and found a way using document.activeElement, but its not working. document.activeElement is returning HTMLInputObject when the focus is on the prompt while getting the textbox by document.getElementByID returns a XULElement.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/92d059913eace78a868a3e87f98e0a57?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nruakh<br \/>\njavascript regex firefox<br \/>\nIn Internet Explorer 10, this:&#8217;abcdefghi&#8217;.match(\/.?e.?\/)evaluates to [&#8216;def&#8217;], as I&#8217;d expect, but in Firefox 21.0, it evaluates to [&#8216;abcdefghi&#8217;]. (See this jsFiddle.) I get the same sort of unexpected behavior for certain other regexes that both begin and end with optional content, such as \/.?e.{0,2}\/ and \/.{0,2}e.{0,2}\/; however, commenters point out various similar regexes, such as \/\\S?e\\S?\/ and \/(?:.?e.?)\/, that are not affected. The same applies to the replace method.Am I missing something ob<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f9829e48b7a4eb45900310a793bf2d58?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSeedorf<br \/>\nhtml css firefox wordpress<br \/>\nA site I constructed on wordpress, www.instant-wine-cellar.co.uk, does seem to be working well on Firefox web browser. I was wondering if any one could help me work out why that is (maybe using firebug). The stylesheet is a file called style.css and the reset stylesheet is reset.css. It looks normal in any other web browser.Thanks in advance.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/30f58cc2bfc607ccaabb56839dfdd7e2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDevesh Agrawal<br \/>\njquery html internet-explorer google-chrome firefox<br \/>\nI have some code here. That is working fine in Chrome, but not in IE and Firefox.$(document).ready(function(){$(&#8220;.thumb&#8221;).click(function(){alert (&#8220;Reached here.&#8221;);var cat_id = $(this).attr(&#8216;id&#8217;); \/\/ get category idalert (cat_id);}); });&lt;a href=&#8221;#&#8221; class=&#8221;thumb&#8221; id = &#8220;20&#8221; name=&#8221;df&#8221; &gt;&lt;img src=&#8221;images\/dry_fruits.png&#8221; alt=&#8221;Title #0&#8243; width=&#8221;75&#8243; height=&#8221;75&#8243;\/&gt; &lt;\/a&gt;Its even not hitting the alert in Firefox and IE. Can someone please help me to identify the issue. Any help will be highl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/94c2f69587f6185dbafec3b58212d5bd?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBryan Casler<br \/>\nhtml css firefox google-chrome<br \/>\nI&#8217;m developing a site and I have been working in Chrome, IE and on my Android phone. I decided to test the site in firefox and the whole thing falls apart. It appears to me as if all the CSS is not loading, but for the life of me I can&#8217;t figure out why it wouldn&#8217;t be.Live Site: http:\/\/matttucker.onedogdevelopment.com\/In my source code I have something like the following&#8230;&lt;style type=&#8221;text\/css&#8221; media=&#8221;all&#8221;&gt;@import url(&#8230;.); @import url(&#8230;.); &lt;\/style&gt; &lt;style type=&#8221;text\/css&#8221; media<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4b561faa3cf06d7af3f93599ff1deb0d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nLukas Salkauskas<br \/>\njquery firefox animation cross-browser<br \/>\nI&#8217;m trying to do a simple animation on div items, everything works fine on Google Chrome, Safari and Firefox 4, but on Firefox 3 everything goes in unexpected way (div positions messes around and etc ). Maybe you know how to solve this issue and make it smooth?Here is an example: http:\/\/jsfiddle.net\/Q5FLQ\/208\/<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6ae49ba6720268783bfc7ab8ec1b3c53?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGZaidman<br \/>\nfirefox css3 linear-gradients<br \/>\nI recently tried applying a gradient background to a webpage using only CSS3. while testing out the following code:body {background: -moz-linear-gradient(top, blue, white);}The result was:Not exactly what I was looking for&#8230; Any idea what is going on? OS is Win7 64bit and Firefox 4. Thanks!<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a9840656ceee0faa528806c4c04a9399?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKev<br \/>\nfirefox selenium-ide<br \/>\nOn Firefox 21, S-IDE worked fine. Just upgraded to the officially released FF22, and any test I try to run errors out:[error] Unexpected Exception: fileName -&gt; chrome:\/\/selenium-ide\/content\/selenium-core\/scripts\/htmlutils.js, lineNumber -&gt; 309, columnNumber -&gt; 8Is there a workaround for this?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/07123541fba3343f9ddb5876595b99a7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlex<br \/>\ncss firefox css-float<br \/>\nI have the page with the structure:&lt;div id=&#8221;container&#8221;&gt;&lt;div id=&#8221;header&#8221;&gt;top menu&lt;\/div&gt;&lt;div id=&#8221;content&#8221;&gt;content&lt;\/div&gt;&lt;div id =&#8221;footer&#8221; align=&#8221;center&#8221;&gt;&lt;div class=&#8221;left&#8221;&gt;left part of footer menu&lt;\/div&gt;&lt;div class=&#8221;right&#8221;&gt;right part of footer menu&lt;\/div&gt; &lt;\/div&gt; &lt;\/div&gt; Css style:#container {position:relative;height:auto !important;height:100%;min-height:100%; }#content { padding:0em 0em 12em; }#footer {position:absolute;width:100%<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/nyzNK.png?s=32&amp;g=1\" \/><br \/>\nPaul<br \/>\njavascript jquery html html5-audio<br \/>\nI would like to know how to mute all audio within a specific div class. This is mainly to mute ads playing unexpected videos or commercials on my site. I have the all of the ads under the div class &#8220;muted&#8221; so I would like to mute those divs but still allow for youtube videos (obviously outside the divs) to play the audio. Any help is appreciated.. Thanks<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1cfe8bf0dcd8fdc7f98a559e25cafa2f?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nAngelo Lupo<br \/>\nphp mongodb audio-streaming html5-audio<br \/>\nI wrote a little audio streamer based on mongo and php with a player in HTML5. Every time I play something audio suddenly stops. I&#8217;m using php 5.3.3-1 as server on xubuntu 13.04 and MongoDB, everything is streamed locally. The code is on github at this address: link&lt;?phprequire(&#8220;core\/core.php&#8221;);$id = $_GET[&#8216;id&#8217;]; $x = Track::object($id);header(&#8220;Content-Type: {$x-&gt;mime}&#8221;); header(&#8220;Content-Description: File Transfer&#8221;); header(&#8220;Content-lenght: {$x-&gt;size}&#8221;); if ( !empty($_GET[&#8216;download&#8217;]) )<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/27e4348a08086a0a7e2ba7cb94784946?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsrynznfyra<br \/>\ncss audio html5 html5-audio<br \/>\nI&#8217;m building a music player web application which implements the HTML5 audio tag, however would like it to look consistent across browsers &#8211; is it possible to define my own custom CSS? And how?cheersFela<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a7c346fa51a9c652f5920eda6c0608fc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njz999<br \/>\njavascript google-chrome audio html5-audio web-audio<br \/>\nWe are making an web based music editor and mixer based on the Web Audio api. Users can mix together multiple tracks, crop tracks, etc. The actual mixing together of the tracks just involves playing back all the sources at once. We want to be able to add the option to save the mix and make it available for download to a user&#8217;s computer. Is there some way to do this on the front end (like connecting all the sources to one destination\/export node), or even the backend (we are using RoR)?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e96a421d76c1fc107a5d291c6999b2ef?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nalex<br \/>\njavascript jquery memory-leaks html5-audio<br \/>\nI wrote a bit of JavaScript with jQuery that loads a sound file with the HTML 5 &lt;audio&gt; tag and on a mouse click starts playing a new instance of that sound file (so that it can be played multiple times in parallel\/overlay).HTML:&lt;audio id=&#8221;audiotemplate&#8221; src=&#8221;audio\/myfile.ogg&#8221;&gt;&lt;\/audio&gt;JavaScript:mybutton.click(function() {$(&#8216;#audiotemplate&#8217;).clone()[0].play(); });This works as intended, but creates a memory leak that causes FF to eat up the system RAM and Chromium to show its &#8220;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/822636de785f77f289444568dd906a20?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nzoonosis<br \/>\njavascript html5 html5-audio web-audio<br \/>\nI was planning on using wavesurfer.js in a project of mine so I checked out the demo on http:\/\/wavesurfer.fmI dropped a large mp3 file (around 2 hours) onto the middle of the page that asks for a file. It seems to want to load it but after a while Chrome comes up with an error. It doesnt crash, just the tab fails.With smaller files, single songs, it seems to work ok.So there seems to be either some limitations with html5 web audio or the websurfer.js library but im not sure. Does anyone have any<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b889f3c9de095b4473339e244a421ddf?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMoshe S<br \/>\nhtml5 firefox cross-browser opera html5-audio<br \/>\nI have an html5 audio tag in my webpage:&lt;div id=&#8221;audioContainer&#8221;&gt; &lt;audio id=&#8221;siteAudio&#8221; src=&#8221;http:\/\/myDomain.com\/audio\/soundFx.mp3&#8243; type=&#8221;audio\/flac&#8221; preloading=&#8221;auto&#8221; audio=&#8221;true&#8221;&gt;&lt;\/audio&gt; &lt;\/div&gt;I would like to be able to play the sound from a different starting point every time the user presses a different button on my site. Creating sound fx for clicks. I&#8217;m using the following JS code to do this:var m_currentAudioElement = document.getElementById(&#8216;siteAudio&#8217;);m_curr<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2cb73c202d983822afa41734224e506e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKaren Peng<br \/>\nhtml5 google-chrome audio html5-audio web-audio<br \/>\nI have a button. Every time it is clicked, a music is played. When it&#8217;s clicked the second time, the music resumes. I also want to visualize the music.So i begin with html5 audio (complete code in http:\/\/jsfiddle.net\/karenpeng\/PAW7r\/):$(&#8220;#1&#8221;).click(function(){audio1.src = &#8216;1.mp3&#8217;;audio1.controls = true;audio1.autoplay = true;audio1.loop = true;source = context.createMediaElementSource(audio1);source.connect(analyser);analyser.connect(context.destination);});But when it&#8217;s clicked more than once,<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/78a74d9b6af51daa1bf0b8a0bdd092ef?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nalisamii<br \/>\njavascript media-player html5-audio font-awesome<br \/>\nI am trying to develop a very minimal audio player with just a play\/pause button and a mute\/unmute button.I want to use Font-Awesome to display icons for play\/pause and mute\/unmute.I have created a fiddle where I have put my code. http:\/\/jsfiddle.net\/EsC6L\/I am getting an error &#8220;Uncaught SyntaxError: Unexpected Identifier&#8221;The console is identifying the syntax in the innerHTML as incorrect.btnPlayPause.addEventListener(&#8220;click&#8221;, function() {if (myAudio.paused) {myAudio.play();btnPlayPause.innerHTM<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/owgoK.jpg?s=32&amp;g=1\" \/><br \/>\nCracker0dks<br \/>\njavascript html5 buffer decode html5-audio<br \/>\nI want to play audio data from an ArrayBuffer&#8230; so I generate my array and fill it with microfone input. If I draw this data on a canvas it looks like &#8211;&gt; So this works!But if i want to listen to this data withcontext.decodeAudioData(myArrayBuffer, function(bufferN) {var out = context.createBufferSource();out.buffer = bufferN;out.connect(context.destination);out.noteOn(0); }, errorFunction);I dont hear anything&#8230; because the errorFunction is called. But error is null!I also tryed to get the b<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d81c08b2e17e2b435543a77ec59821ec?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2360746<br \/>\njquery twitter-bootstrap mediaelement.js<br \/>\nUsing mediaelement.js along with bootstrap.js I ran into an issue with Chrome consistently crashing.After removing the bootstrap components one by one the issue was from the dropdown component. Going a bit further, commenting out the following lines resolved the issue with Chrome crashing.Line 794: .on(&#8216;.dropdown-menu&#8217;, function (e) { e.stopPropagation() }) Line 795: .on(&#8216;click.dropdown.data-api&#8217; , toggle, Dropdown.prototype.toggle)However, these two lines\/events are necessary for the dro<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/1747794072\/picture?type=large\" \/><br \/>\nWemerson Guimaraes<br \/>\nflv mediaelement.js flvplayback flvplayer<br \/>\nI have a great echosystem with .FLV files, and need to play it, but my player does not works.&lt;script src=&#8221;mediaelement\/build\/mediaelement-and-player.min.js&#8221;&gt;&lt;\/script&gt; &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;mediaelement\/build\/mediaelementplayer.min.css&#8221; \/&gt;&lt;video width=&#8221;640&#8243; height=&#8221;480&#8243; id=&#8221;player2&#8243; poster=&#8221;myposters\/flv-video-poster.jpg&#8221; controls=&#8221;controls&#8221; preload=&#8221;none&#8221;&gt;&lt;object width=&#8221;640&#8243; height=&#8221;480&#8243; type=&#8221;application\/x-shockwave-flash&#8221; data=&#8221;mediaelement\/build\/flashmediaele<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/79175a222a9933b9fc278cd94b228bf7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTobias Kienzler<br \/>\nmediaelement.js<br \/>\nWhen I try to use the plugin in firefox 20.0 I receive console errors:HTTP &#8220;Content-Type&#8221; of &#8220;audio\/mpeg&#8221; is not supported. Load of media resource 01._fly.mp3 failed.Afterwards, when I call setcurrenttime() or some other method I get:uncaught exception: Error in Actionscript. Use a try\/catch block to find error.In Chrome everything works fine. Anyone can tell me how to solve this issue?Here is a code sample:&lt;audio id=&#8221;player&#8221; style=&#8221;margin-top: 50px; &#8220;type=&#8221;audio\/mp3&#8243; src=&#8221;&#8216;+song+'&#8221;&gt; &lt;\/<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/20ccf7a1fdb7a766a3aeaeb90a034692?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ndave<br \/>\nmediaelement.js<br \/>\nA couple quick questions:is the success event a &#8220;normalized&#8221; event for both native and flash\/silverlight shims? The documented examples suggest it is only for when Flash\/Silverlight objects are ready. (success doesn&#8217;t seem to fire on Android when Flash Player is installed and is either always active or on demand)setMuted doesn&#8217;t seem to work for Flash, if I add it to the success event it doesn&#8217;t work, and it seems to cause any other code in the success function to fail silently. I also tried to<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d448e3c5b1184f13a5c2d1a8c9133490?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser834418<br \/>\njquery mediaelement.js<br \/>\nI&#8217;m having some conflicts within some code I just picked up to work with. It has the library AJS js loaded up and it is being used and I am trying to load up and use jQuery along with the mediaelement html5 video player. I can load everything together and use jQuery and use $ as long as I $.noConflict() before my document ready. However when I try to use the mediaelement resource and actually create my video player I am getting this error. I am initalizing the mediaelement player like so :vide<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/894feea8e7877cd2578f51543124d69f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\npaganotti<br \/>\njquery mediaelement.js<br \/>\nGood morning, I try work with mediaelementjs video player. My html:&lt;video id=&#8221;player&#8221; width=&#8221;758px&#8221; height=&#8221;400px&#8221; controls=&#8221;controls&#8221; autoplay preload=&#8221;auto&#8221;&gt;&lt;source type=&#8221;video\/flv&#8221; src=&#8221;media\/demo.flv&#8221; \/&gt; &lt;\/video&gt;Javascript: var player = new MediaElementPlayer(&#8220;#player&#8221;,{success: function (mediaElement, domObject) {\/\/ call the play methodmediaElement.play();}});I obtain this error:Uncaught TypeError: Object #&lt;HTMLEmbedElement&gt; has no method &#8216;pauseMedia&#8217; mejs.PluginMed<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/eae736b010ec539a1bfe1f33ccada171?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nb64<br \/>\njavascript mediaelement.js<br \/>\nI&#8217;m getting the following errors in different browsers. It seems to concern all the same problem of missing &#8216;loaded&#8217; or &#8216;width&#8217; object on line 1663 of mediaelement-and-player.js:\/\/ update loaded bar t.loaded.width(t.total.width() * percent);(mediaelement.js Version 2.1.5)It always occurs twice, once on the page loaded and once at the end of the played video.IE9:SCRIPT5007: Unable to get valueof the property &#8216;width&#8217;: object isnull or undefined mediaelement-and-player.js, line 1663character 4FF4.0<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a6a4757a29b22218e2bf7fc937c66a80?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nwebvitaly<br \/>\nmediaelement.js playlist playlists<br \/>\nI tried to search the example of audio playlist in mediaelement.js. But i found none, is mediaelement.js supports audio playlist? If so, please kindly support me the sample code or links. Thank you very much.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/170bc37d3a24d6ace1405053c0546b7f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\npixlab<br \/>\nmediaelement.js<br \/>\nI have a problem in my implemantation of mediaelementjs. I need to have a list of links with which to change the video source. The problem is that the second time I click hover the link, every time I click on the play button the debbugger say me &#8220;this.pluginApi.pauseMedia is not a function&#8221;. This happen in Firefox with flash fallback. This is my code to change video:&lt;script type=&#8221;text\/javascript&#8221;&gt; var player = null; var videoCounter = 0; var videoSubsLang = &#8216;es&#8217;;function loadVideo(videoSou<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/i6ejr.png?s=32&amp;g=1\" \/><br \/>\nfranzlorenzon<br \/>\njavascript jquery html5 internet-explorer-8 mediaelement.js<br \/>\nI&#8217;ve looked through all the other questions posed here, and nothing has really solved my problem.At present the video will load and play in Chrome, Safari, FF, and IE9, but NOT IE8 which is the last browser I need to support. You can view the page here.I have been trying to use the Debug option, but not getting any help from that either. Here is what the debugger is telling me:Initializing&#8230; stage: 0x560 file: path\/to\/video.mp4 autoplay:true preload:true isvideo:true smoothing:false timerrate<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/15366edebc52042fd7abfa3431722a1c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRako<br \/>\nandroid stream media-player shoutcast<br \/>\nHi all and thanks in advance,I have been all day looking forums and on internet and i&#8217;m not getting any clear about this. I am not sure if it possible in a direct and simple way. I read all time that since 2.2 it is supported natively but i don&#8217;t see and example where it works easilyFirst, i make some test with some .mp3 on a web and this code worked fine:mp = new MediaPlayer(); mp.setDataSource(localContext, Uri.parse(SomeURL.mp3)); mp.prepare(); mp.start() but now&#8230;.i have to reproduce<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/33dbc14db6cf0250ea5bf7136ecd85eb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAzatoth<br \/>\nandroid audio stream media-player shoutcast<br \/>\nI&#8217;m writing an android app for play shoutcast stream for a publisher that implements web radio.On API level 8 (android 2.2) MediaPlayer class can play stream, so:Uri myUri = &#8230;.; \/\/ initialize Uri here MediaPlayer mediaPlayer = new MediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaPlayer.setDataSource(getApplicationContext(), myUri); mediaPlayer.prepare(); mediaPlayer.start();In real app i&#8217;m using prepareasync() so UI is responsive for a ProgressDialog.But for this<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/YTxDc.gif?s=32&amp;g=1\" \/><br \/>\nFat Finger<br \/>\nshell command run listeners shoutcast<br \/>\nI have a problem with a small number of corrupt MP3s crashing Ices on a Shoutcast stream. And I&#8217;m looking for a way to check the number of listeners connected to a stream and execute a command on the shell if it&#8217;s below a value which might indicate that it (Ices) may have crashed.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4c9f4cbefdcd22008871f325df7af317?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nFatimaBurke<br \/>\njavascript shoutcast albumart<br \/>\nI have a small 70&#215;70 box in an HTML player I built where I wish to place in the album artwork to coincide with my now playing information from my shoutcast server. Is there a way, using the artist-song information the shoutcast server provides, that I can search a web service (amazon\/last.fm) and have it place the (most likely) album cover there?Here is the JS code I&#8217;m using now:jQuery(document).ready(function() {pollstation();\/\/refresh the data every 30 secondssetInterval(pollstation, 30000); }<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/93372a1ed95be21375a9436ba1cef29e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nspanjeta<br \/>\nfirefox html5-audio mediaelement.js shoutcast<br \/>\nThe shoutcast stream not working using mediaelement js audio player on latest firefox 21. Its working on other browsers like Chrome and IE.You check the link below. It was working earlier with older Firefox.Test link<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/166d01c4feb262fd6e8a55fdaff9319e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser150413<br \/>\nandroid streaming audio-streaming http-live-streaming shoutcast<br \/>\nOkay, So I&#8217;m working with a SHOUTCast stream for the first time, and I&#8217;ve been told that Android has changed the way it works with audio post-ICSSo, I tried some code that worked very well on 2.3 and 2.2, but when I tried running it on 4.2.2 it didn&#8217;t play,Here&#8217;s my MainActivity.javapackage com.mooo.ajbiz11.ponyfeather;import android.app.Activity; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.util.Log; import<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5ab003e2effe71a63e962a8edaa94d93?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nZoot<br \/>\nandroid http-live-streaming shoutcast<br \/>\nI am doing shoutcast streaming in my app. The app was playing the link on android emulator 2.2 but the same was not playing in device. Why? I am using galaxy tab 2.2. Any settings required to be done? Help is appreciated. Is there any special permission required in manifest?public class radiog extends Activity implementsMediaPlayer.OnCompletionListener, MediaPlayer.OnPreparedListener,MediaPlayer.OnErrorListener, MediaPlayer.OnBufferingUpdateListener { private String TAG = getClass().getSim<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e31e2eea6518aeb9c66f9b21f2e7c06d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nharper89<br \/>\nandroid audio mp3 mediaplayer shoutcast<br \/>\nI&#8217;m trying to create an audio streamer with Android&#8217;s MediaPlayer. It&#8217;s just fine if it doesn&#8217;t work with Android 2.1 or bellow. I need to be able to play the audio from a SHOUTcast stream. Here&#8217;s my code:player = new MediaPlayer(); try { player.setDataSource(&#8220;http:\/\/87.230.103.107:8000&#8221;); player.prepareAsync(); } catch (IllegalArgumentException e) { \/\/ TODO Auto-generated catch blocke.printStackTrace(); } catch (IllegalStateException e) { \/\/ TODO Auto-generated catch block e.printStackTrace();<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/33e61c76862b0402975e4d9d067b0777?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nYaqub Ahmad<br \/>\nandroid mediaplayer uri audio-streaming shoutcast<br \/>\nPlease see the code i am using for streaming shoutcast stream, it works with one URL but NOT with the other one.This one works:Uri myUri = Uri.parse(&#8220;http:\/\/fr3.ah.fm:9000\/&#8221;);But not with this one:Uri myUri = Uri.parse(&#8220;http:\/\/someOtherURL&#8221;);SimpleMusicStream.javaimport android.app.Activity; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button;public<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Peter O. javascript html firefox button hyperlink I have two links inside a button but the links don&#8217;t seem to work on Firefox.&lt;button class=&#8221;btn login&#8221;&gt;&lt;a href=&#8221;\/login&#8221;&gt;&lt;b&gt;Log In&lt;\/b&gt;&lt;\/a&gt; | &lt;a href=&#8221;\/signup&#8221;&gt;&lt;b&gt;Sign Up&lt;\/b&gt;&lt;\/a&gt; &lt;\/button&gt;I tried JavaScript onclick and redirecting &#8211; even that is not working. Wladimir Palant javascript firefox firefox-addon xul I&#8217;m using a firefox addon Keysnail. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3018","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3018"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3018\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}