Preloading audio?

I'm having a problem with audio. It plays the sound, but it's
getting chopped off like it's only doing one frame. When I make a
minimal test file it seems to work. When I put it back in the main
file it chops off.
1) I'm using all actionscript, and it's all in an actions
layer on one frame. Can that (one frame) be a problem, or would it
be getting clobbered by something I have already going on, like the
onEnterFrame stuff? (
3) I'm using attachSound();
4) There's a lot of sound files, so I tried preloading them
into a separate swf and loading that with loadMovie, but I'm not
getting any love there either.
Anybody have any suggestions, or links to even more examples
of preloading audio I havent' tried? At last count it was about
300. I've been at this for way too long!
Thanks!
T

Well, it seems that it was getting clobbered by onEnterFrame.
Now I have a problem with timers, which I'll post under a different
subject.

Similar Messages

  • Issue with preloading audio & responsive scaling

    2 things that I have noted with the new 3.0 version of Edge Animate:
    1. Preloading audio caused my page never to load when using mp3 & ogg files. After turning off this stage option the page loaded fine. Also noted on my mobile android device when using the preloading option (where preloading isn't allowed) the same page - that gave my pc fits - loaded okay further convincing me that there is some issue I can easily avoid by not preloading audio. 
    2. When using the scaling option & centering the stage when maximizing the screen the original fonts became grainy - I must not have made my original stage large enough so type is being scaled up - I used Pinyon Script & Verdana which both came with Edge Animate. I had used the stage default size of 550 x 400 pixels. my pc's screen resolution is set at 1600 x 900. my mobile device looks fine, its screen resolution is 1280 x 720 hd.
    To Adobe Support, Is video going to be added like audio was, other wise I will just use edgehero so I can get After Effects effects to work.
    In Sara Hunt's video she references a Greensock Animation that she used, Could she please post her example somewhere or otherwise tell me where it is downloadable from? I would be very interested in how she got the Greensock script to stop & restart inside Edge Animate - something I could not get to work previously. Thank you.
    Bob

    Hi, Bob-
    Regarding your second question, we don't do anything special (like changing the font size in the CSS) for the scaling; we apply a scale transform to the font and let the browser handle the rest.  You might want to try applying that manually to see if it's a problem with the browser.
    Regarding your third question: we're looking at video for a future release, but you  shouldn't expect it immediately.  If you're looking at a project in the next little while, you might want to rely on external libraries like edgehero.
    And your last question: Paul Trani has a great tutorial on how to use Greensock within Edge Animate.  Simply integrate Greensock using the + next to the Scripts section in the Library Panel, and then follow along starting at around 3:15:
    http://www.youtube.com/watch?v=dvRj-ZQvpFE
    Thanks,
    -Elaine

  • Edge audio doesn't work in DPS project

    Being very happy after latest update of Edge CC, I've decided to make DPS project for iPad.
    First, when I chose "autoplay" button for audio timeline, I got a warning about sound autoplay option is not supported at digital devices (??). So what should I do? To not use the autoplay?
    Second, a preview of Edge animation in web-browser works perfect (both background sound and a sound for user interaction) - BUT when I put .oam file in DPS, the sound just DOESN'T WORK.
    I tried everything - check-uncheck "autoplay", check-uncheck "preload audio", put an audio as a trigger.. no sound in iPad.
    And when I put audio file directly into Indesign, a sound works perfect in iPad.
    What's going on?

    Agapyla wrote:
    so the idea is all projects for iOS cannot use Edge Audio feature that was just released last month? At least in full way, as it is shown in built-in Edge Tutorial (autoplay)?
    No, not exactly. iOS and other mobile devices can playback HTML 5 audio, which is what Animate outputs.
    But the fact of the matter is that autoplay for audio (and preloading) is not supported by mobile devices - it's a limitation manufacturers build into their devices. Therefore, to use audio from Animate in mobile devices, you have to initiate audio playback from a user event, such as touchstart or click.
    We warn you of this in Edge Animate when you turn on autoplay (warnings appear at the bottom of the Stage).

  • Audio lags in iOS

    Hi, I've been making an animation with click-triggered sounds (to get around autoplay), but once I view it in iOS, the audio lags by a couple of seconds. It seems to be loading, because when I click it a second time, the audio is timed fine. But I have a preloader and I checked the "preload audio" box as well - so why isn't the audio loaded before the whole animation is displayed?
    (if this helps - I'm using MP3s as well as OGG)
    It works perfectly fine on a desktop browser.
    Another issue is that Chrome in iOS isn't playing sounds at all - not sure why.
    Thanks.

    Hi there,
    Sorry, but iOS (or more accurately, MobileSafari) doesn't support audio preloading (nor do browsers on most Android devices). This is a design choice on Apple's and other mobile device manufacturers part. See here for more info:
    https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5 _Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/ doc/uid/TP40009523-CH5-SW1
    (refer specifically to the section User Control of Downloads Over Cellular Networks)
    Not sure what may be happening with Chrome for you - it seems to work okay for me.
    hth,
    Joe

  • Unable to playback audio on Safari iOS

    Hi,
    I am testing a simple Edge Animate animation that it has only 1 audio file and 1 simple button with audio playback action. Nothing more.
    I test it on Safari Mac OS and works normal, but I am unable to make it work on Safari iOS 7 for the iPad.
    Nothing happens when I touch the button. I tried with preload audio and not, with MP3 and M4A, and my browser works OK as a regular HTML5 audio playback file works simply fine. Now I am clueless.
    I am using Edge Animate 4.1 for Mac OS 10.9
    Thanks
    Ignacio

    I am using 2014.1 that creates 5.0 Edge Animate files according to what I see in the edge.js files. I think it's the latests as Creative Cloud doesn't offer me any other update so far...
    I want to transform this HTML into a phonegap app, and it's not working there either, so I have no interest on testing it on Chrome, also this may work on Safari, so I'm only interested on that, I don't care about other browsers...
    Same thing in Edge Animate CC 2014 works perfectly. I have read in other threads of this forum that there are some issues with latest version and audio playback on Safari iOS.

  • Sound not Playing on iOS Devices?

    Hello,
    I am having a problem getting audio to play on my iOS devices (iPhone 4 and iPad Mini, both running iOS 7.1.2) but on desktop and BlackBerry BB10 devices it seems to be fine. All of the animation functions appear to be working fine. I have the audio in both mp3 and ogg formats. I have “preload Audio” selected and “Autoplay” turned off. I believe preload doesn’t work on iOS devices (and others presumably) but does having it on cause any problems? On or off it doesn’t seem to make any difference in this case. I am using a play button to launch the animation at 0.5 seconds and then in the timeline at 1.0 seconds I am using a trigger with the following code:
    sym.$("HollyInTheSnow2")[0].play();
    I am using Adobe Edge Animate CC version 2014.1.1 (just updated).
    Any help would be greatly appreciated, thanks in advance.

    Adding such audio play code as the trigger on the timeline won't work on iOS devices.
    You need to add such code in the user event like on clicking some button, or in compositionReady event handler for the stage like below
         setTimeout(function () {
                   sym.$("HollyInTheSnow2")[0].play();
              }, 1000);   //this will play after atleast 1 second
    hth,
    Vivekuma

  • N79 freezes when using Music Player!!Also the real...

    I have recently purchased N79. I have problem with my music player. Forwarding song or going to the next track freezes the phone. This problem was there from the first iteself. So thought upgdrading the firmware would solve this problem, but it had become worst started freezing and had to remove the battery. So formatted my phone to fix the problem. Now everything is normal except the music player problem which is irritating. This problem mostly occurs when I use FM transmitter for listening songs. And also the real player dosn't play video show blank sreeen sometimes.
    Does the preloaded files are creating problem or the memory card is faulty needs to formatted. Its 4 GB card enough free space available.
    Can you tell me after formatting the phone I lost licence for preloaded audio and video files in my memory card. Also few applications as i didn't backup. Is there any way atleast to get licence back or do I have to delete locked items.
    How ofter Nokia releases firmware update. There is no update available rite now.

    Yes, I'm currently experiencing the same problem as yours with the real player. The video shows blank when playing videos, you can only hear the audio.
    We'll wait for the firmware update soon.
    Cheers!
    NOKIA N900
    PUT AN EQUALIZER IN N900

  • Audio problems preloaded Captivate swfs in custom player

    I have a slideshow-like custom Flash player that uses
    standard preloader code - it loads external swf movieclips into a
    holder clip, and stores references to them in an array. Once all
    external swfs are loaded, the first clip starts playing and
    navigation buttons allow the user to go through the "slides" at
    will.
    The problem: some Captivate-generated swf files have audio
    that starts playing as the clips are preloading, and the audio does
    not stop except with a stopAllSounds call. As needed, each loaded
    swf is copied (so to speak) from the array to a clip on the stage,
    loadedClip_mc, to be played and controlled. The player's pause
    button, which works as follows:
    loadedClip_mc.stop()
    has no effect on the sound of the loaded Captivate clips.
    Furthermore, the audio doubles-up when trying to play any
    slide, and clicking play (loadedClip_mc.play() )
    HERE IS THE MOST CONFUSING PART: this ONLY happens when the
    player and the movies to be loaded are uncached - after the files
    are visited for the first time, everything works great. Anytime you
    revisit the player it is fine. However, if it is the first time
    someone is visiting the custom player, or the browser cache is
    cleared, once you visit the page the audio for all Captivates start
    playing during preloading simultaneously and cannot be controlled.
    Thank you in advance for your help!

    Hi. I've experienced the same problem with audio and preload.
    Sorry for my english, but - I dont know if I've understood the
    matter- I think you are talking about to fix this problem using
    actionscript code. Please, would you answer me one question? If I
    can't change the code of the base clip generated by Captivate, is
    it possible to add some code in my loaded clips to stop that audio
    embedded in them when they are preloading? What would this code
    be?.
    I hope you understand me!
    Thank you.

  • Audio disappears when I use preloader

    I have a movie that has an audio track (I have it set to "start" for the Sync). It works perfectly, but when I insert a preloader with it, the audio disappears. The rest of the movie still works fine (visual) but it is silent.  Couldn't find exactly this problem in a thread. Any ideas?

    if you're using actionscript to instantiate your sound, use:
    var yoursound:Sound = new Sound(this);
    if you're using the timeline to instantiate your sound, make sure it's not set to export for use with actionscript.

  • How do I stop preloading of HTML5 audio files?

    When I open a page that has audio tags for HTML5, it automatically downloads the files. I never use the in-browser audio player and instead download for offline listening. How do I prevent these files from being downloaded for browser playing since I have to download them a second time for my offline playing?

    Does Firefox play MP3 files in an HTML audio tag on Mac?
    A lot of other types can be disabled via one of the media prefs, but if there isn't one for files that still play and disabling media.autoplay.enabled to false also doesn't help then I don't know what else to try.

  • X131e how to remove the audio equalizing feature on lenovo's preloaded windows 8

    Hi everyone!
    I recently purchased a lenovo thinkpad x131e and after using it for a few weeks, i've realised that the audio is being equalized across all programs to maintain a level volume.
    Usually I would be able to access the enhancement tab on the properties page for my audio device and disable this feature, however the enhancement page has been stripped of most of its options, and only has "Disable all sound effects" instead.
    Is there a way I can restore the available options so that I can disable this feature?
    Thanks!
    Solved!
    Go to Solution.

    I see 'Dolby Advanced Audio' in the Control Panel and it has the option to enable/disable the Volume Leveler.

  • Is there any way of storing audio- / video-elements in the browser cache in Safari in iOS?

    Hi there,
    I'm desperatly trying to find a solution for a web application that has to run on an iOS-Safari (e.g. on iPad, iPad2 and iPhone 4):
    It's a web-application I wrote some time ago which lets the user search for and listen to short music samples (MP3s, all from ~100 kB to ~1.5 MB). The audio player is Flash-based, so it doesn't work on iOS-devices at the moment and I'll have to implement an alternative either in HTML 5 or with a "direct" QuickTime-object.
    Both my HTML 5- and QuickTime-alternatives for iOS-devices work fine so far, but there's one major problem I can't find a solution to:
    Unlike Flash and most HTML 5-capable browsers on Windows Safari on my iPad 2 won't store the audiofiles in the browsercache after loading and playing them - neither with HTML 5 audio-tags nor with a QuickTime-Object. Every time I load an audio file for playback from the server (with JavaScript-Commands, so without changing or reloading the whole page) it's downloaded again completely.
    If a user listens to sample A and then to sample B, Safari forgot about having played sample A and downloads the whole MP3 again if I like to listen to it again. On a mobile device with a potentially narrow bandwith this behaviour is out of the question.
    Is there a way of storing downloaded audiofiles opened by HTML 5 or QuickTime in Safari's cache so it remembers already having downloaded them  -  like it caches usual "web-files" like HTML, CSS or JPEG-images, or like Flash stores such objects in its local cache?
    The Application Cache with a manifest-file is not an option - this only seems to work if the browser is offline, for example if the iOS-device is in "Airplane"-Mode.

    Yes, I watched it. It contains interesting stuff I have to admit I didn't know yet, but unfortunately I still can't find a solution to my problem:
    My first attempt was trying to use the Application Cache with a manifest file - although this is not really the intended purpose for my application... I don't have a static set of files that I want to have cached or "available offline"  -  I just want to cache MP3s which the user has played yet.
    It should be possible to use a "dynamic manifest": One that is parsed by the Apache PHP module and listing the files played so far from a PHP session - something like this:
    <?php
    session_start();
    header("Content-Type: text/cache-manifest, charset=UTF-8");
    echo "CACHE MANIFEST\n";
    foreach($_SESSION['playedSongs'] as $song)
        echo $song."\n";
    ?>
    So whenever a song is loaded / played, I could access the PHP session with AJAX, insert the filename of the played file and manually update the manifest by calling window.applicationCache.update().
    There are two problems with this:
    First of all: It doesn't work. And I didn't even get to the point of trying to use a dynamic manifest:
    <!DOCTYPE html>   
    <html manifest="cache.manifest">
        <head>
            <title>Test</title>
            <script type="text/javascript">
            function playStuff(id)
                if(id == 1)
                    window.document.getElementById("audio").innerHTML = '<audio controls preload="automatic" autobuffer><source src="song01.mp3" type="audio/mp3" /></audio>';
                else if(id == 2)
                    window.document.getElementById("audio").innerHTML = '<audio controls preload="automatic" autobuffer><source src="song02.mp3" type="audio/mp3" /></audio>';
            </script>
        </head>
        <body>
            <div id="audio"></div><br />
            <br />
            <input type="button" value="playStuff(1)" onclick="playStuff(1)" />
            <input type="button" value="playStuff(2)" onclick="playStuff(2)" />
        </body>
    </html>
    The cache.manifest looks like this:
    CACHE MANIFEST
    song01.mp3
    song02.mp3
    and is properly returned from Apache as "text/cache-manifest" by adding
    AddType text/cache-manifest manifest
    to the .htaccess of this directory.
    The Apache-logs clearly show that the Safari (respectively "AppleCoreMedia") doesn't care about the application cache when it comes to audio-files:
    Safari itself seems to acknowledge the manifest and indeed preload the files:
    192.168.0.40 - - [23/Jul/2011:12:45:46 +0200] "GET /websql/index2.html HTTP/1.1" 200 2619 "-" "Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5"
    192.168.0.40 - - [23/Jul/2011:12:45:46 +0200] "GET /websql/cache.manifest HTTP/1.1" 200 79 "-" "Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5"
    192.168.0.40 - - [23/Jul/2011:12:45:46 +0200] "GET /websql/cache.manifest?%3E HTTP/1.1" 200 79 "-" "Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5"
    192.168.0.40 - - [23/Jul/2011:12:45:46 +0200] "GET /websql/song02.mp3 HTTP/1.1" 200 120525 "-" "Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5"
    192.168.0.40 - - [23/Jul/2011:12:45:46 +0200] "GET /websql/song01.mp3 HTTP/1.1" 200 120525 "-" "Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5"
    Up to this point I did nothing but opening my test-application in Safari.
    Playing song01.mp3:
    192.168.0.40 - - [23/Jul/2011:12:47:25 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:47:25 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:47:25 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:47:25 +0200] "GET /websql/song01.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:47:25 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:47:29 +0200] "GET /websql/song01.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:47:29 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    Playing song2.mp3:
    192.168.0.40 - - [23/Jul/2011:12:48:04 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:04 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:04 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:04 +0200] "GET /websql/song02.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:04 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:05 +0200] "GET /websql/song02.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:05 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    Playing song1.mp3 again:
    192.168.0.40 - - [23/Jul/2011:12:48:38 +0200] "GET /websql/song01.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:38 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:38 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:38 +0200] "GET /websql/song01.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:38 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:40 +0200] "GET /websql/song01.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:48:40 +0200] "GET /websql/song01.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    Playing song2.mp3 again:
    192.168.0.40 - - [23/Jul/2011:12:49:12 +0200] "GET /websql/song02.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:49:12 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:49:12 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:49:12 +0200] "GET /websql/song02.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:49:12 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:49:13 +0200] "GET /websql/song02.mp3 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    192.168.0.40 - - [23/Jul/2011:12:49:13 +0200] "GET /websql/song02.mp3 HTTP/1.1" 206 120525 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; de_de)"
    Every file is downloaded again completely when playing it. So "AppleCoreMedia" (whatever this may be exactly, the QuickTime-plugin that is triggered by the HTML 5 audio-element I suppose?) either doesn't have access to the Application Cache or simply just doesn't realize the files in it. So if I switch my iPad to "Airplane Mode" now, the Safari is unable to access / load / play the files.
    I also tried using a QuickTime-object instead of an HTML 5 audio-tag (as far as I know HTML 5 audio and video in Safari always use QuickTime?) and controlling it with something like:
    document.movie1.SetURL('song02.mp3');
    Nothing changes, it's just like using HTML 5 audio and everything gets downloaded again when loading/playing it.
    And even if this would work there'd still be a problem:
    To properly implement that I would have to load the MP3-file in the Application Cache before playing it. When doing this it seems impossible to show a "real" progress: The ProgressEvent that is fired from the Application Cache after updating it doesn't seem to provide any information about data loaded so far and the complete size of a file. It's just "File 1 from 2" and so on, and not a "real" progress where I could determine something like: "100 kB of 1.2 MB loaded" as I can with the audio-element.
    All the other storage-approaches like Web SQL / Web Database or Local Storage are no help either:
    I don't see any way of getting the MP3 data into Local Storage or Web Database or getting it out again to play it. The HTML 5 Canvas-element has a toDataURL()-function to produce a Base64-encoded representation and use it for storage  -  the Audio-element doesn't seem to have anything like this.
    My last really "dirty" approach was trying to load "manually" Base64-encoded-MP3s with a combination of AJAX and PHP: A PHP-script outputs a Base64-representation of a MP3-file and is loaded by AJAX, so I could store the Base64-representation e.g. as Local Storage or in Web Database:
    <?php
    $infile = 'song01.mp3';
    $contents = file_get_contents($infile);
    $base64 = base64_encode($contents);
    $audio = 'data:audio/mp3;base64,'.$base64.'';
    echo $audio;
    ?>
    I tried using the resulting AJAX responseText as the source-argument in an audio-source-tag. Suprise: It doesn't work in Safari on my iPad 2, the player just fails to load the "file", although this works fine in Chrome on Windows. Possibly a size limitation for Base64-URIs on Safari / iOS.
    And again: Even if this was working in iOS/Safari I don't know of a way to determine a real progress from an AJAX-query...
    The last thing I could think of is not replacing the audio- or source-tags when loading a song but leaving them in the DOM-structure, check if it's already there when a song is loaded and just add a new audio-tag if a song hasn't been loaded yet.
    This solution would be my last resort: I'd have to rewrite nearly the whole application to completely operate on JavaScript / AJAX to stay on one site in the browser - else the "cached" audio data would be lost again when changing to another site in Safari.
    Furthermore I think there'll be a small cache limit somewhere when doing this?
    Any ideas?

  • Problem with audio shortcut buttons (windows 7), especially mute

    I some severe issues and had to do a clean install of windows 7. I lost all the preloaded lenovo applications. I cannot get the short cut mute button to work. The up/down volume buttons work, but they don't show the change in volume (green bars on the screen) that they used to show. Mute does not work at all. Can someone please help me? I assume I need to install a driver to get this working again.
    the drivers I have installed are power manager, audio, bios, and hotkey. I thought the hotkey driver would fix it, but I haven't had any luck.
    thanks

    Same problem here after clean install of W7-64 on a T500.   None of the green screen indicators (screen brightness, ThinkLight, volume, and mute) show up.   All functions except mute work, but without indicators.
    Can somebody help? 
    Thanks.

  • How do I get my HTML5 audio tag to work in Firefox 7.0.1, currently it doesn't even display the alternate text when the player cannot play.

    This is my implementation of the audio tag.
    <pre><nowiki><div class="music_player" oncontextmenu="return false;">
    <audio autoplay="autoplay" controls="controls" preload="auto">
    <source src="sample.ogg" />
    <source src="sample.mp3" />
    <span id="audio_error">This website has an audio sample, but cannot play using this browser.
    </span>
    </audio>
    </div></nowiki></pre>

    Make sure that the server sends the ogg file with a supported MIME type.
    * https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements
    * https://developer.mozilla.org/en/Configuring_servers_for_Ogg_media

  • Video/audio Stuttering on Macbook 13

    Hi All
    I have a mid 2007 Macbook 13 running OS X Lion 10.7.4.  all up to date.  Initially I had 4G's of ram ( I know it only reads 3 ) now I have it running on only 2.
    Problem is video/audio stuttering when running movies. mostly netflix and or connected to a flat screen tv. on wireless or wired connection.  but it also happens just running youtube videos or videos that I have on the system mostly in .AVI format.   I could be running movies with VLC or quicktime and same ting.  I've tried turning every running program off.  like firewall, little snitch, sophos AV, etc.  after turning them all off I do a restart.  I have done permssion repair, checked the disk, run the daily scripts,  even downgraded to SL to see if Lion was too much for the system and nothing.  of of the 4G's of ram that I have.  I swapped them to see if maybe one or 2 of them ware bad.  when I install the operating system, I do a clean install.  delete partition, format, the whole thing and bring it up to date.  not all at one time.  disk permissions repaired after each big updated.  almost half the time the videos will run ok and than it starts stuttering.  when is doing it.  not even the mouse responds in those few seconds.  is like something is grabbing all the system memory for a few seconds at a time.  it has gotten to the point that the system completly frezzes and I get that black translusent window that says the system needs to be restarted.
    I have about 40% free HD space.
    Any ideas ?
    Thanks

    Welcome to Apple Support Communities.
    The behavior you mention is typical of MacBooks with the GMA 950 video chipset and 64MB VRAM.
    The best solution I've found is to quickly pause the video and let the video load completely before watching, IF the website allows it and will preload the content. Not all of them do. Some sites automatically buffer before they begin playing.
    Watch in a window rather than full-screen.
    Watch content on your MacBook screen rather than a HDTV.
    The Safari Extension "ClickToFlash" lets you choose whether to load Flash content at all. It also allows 'preferring' H264/HTML5 web video content when available, and seems to be a bit better than simply defaulting to Flash content for every website.
    I have a mid-2007 MacBook 2,1 with 4/3GB RAM. It is the very oldest model capable of supporting Lion. After reading of performance issues with these older systems in these forums, I chose to remain on Snow Leopard rather than upgrading to Lion. Snow Leopard runs most things I do very well in 3GB. Lion really seems to need 4GB and would like 8GB, from what I read here.
    You don't mention how fast your internet connection is. A faster internet connection MIGHT help some. A wired Ethernet connection MIGHT offer a bit more throughput than WiFi. Worth trying out, especially if you have a friend with a faster connection where you can try before you pay to upgrade.
    Ultimately we're talking about 5-year-old computers. That's "ancient" in computer life cycles, and the best solution (not most cost-effective) is a new(er) Mac. It's not a problem unique to Mac. Old Windows XP systems lack the performance of new hardware running 64-bit Windows 7.
    New or recent Refurbs with 4GB or more RAM, faster video chipset, more VRAM, faster clock-speed, Intel "Sandy Bridge" (or "Ivy Bridge" likely coming soon) dual-core or quad-core processor, and, yes, a hefty pricetag to match. Anything else is at best a temporary measure to buy a bit of time (a year, maybe?) until you can purchase a new(er) faster better Mac.
    Message was edited by: kostby

Maybe you are looking for

  • RSEINB00 flat file to idoc uploading in XI

    Hi, I've searched a lot of posts here in SDN on how to use RSEINB00 to upload flat file idocs, and i tend to get lost as there are conflicting answers... can anyone give me a clear/consolidated answer on how to use RSEINB00 in XI? correct me if i'm w

  • DMS Tab it's not visible in Project Management (PPM 5.0)

    Hello Gurus; I have been active the SAP DMS option in: SPRO --> SAP Portfolio and Project Management --> Project Management --> Structure --> Define Project Types And configured the document settings: SPRO --> SAP Portfolio and Project Management -->

  • ODI agent creation issue

    Hi, I am trying to create ODI agent in Windows. I have followed the steps in ODI set up document. It has launched the server. Now I am trying to create that as a windows service. But I am getting following error message. I ran the followiing the comm

  • Udisks2: mount only usb flash

    Hello, Arch users! How can I configure udisks2 to permit mounting only usb flash drives and similiar for users in "storage" group, not internal drives? Here are the contents of my /etc/polkit-1/localauthority/50-local.d/10-storage-group-mount-overrid

  • Change permissions for UME repository

    Dear friends,        Is it possible to change permissions for the ume repository. By default, it has "Allow" permission for List Children and Read properties. I dont see any options to change permissions under Settings -> permissions. Does anyone her