Play audio using HTML under HTML Resources

Hello:
I have created a HTML5 page that loads an audio and autoplays it. The code is shown below:
<audio src="horse.mp3" type="audio/mp3" autoplay preload="auto" /> </audio>
When I test it on Safari or Firefox, it does perform well, but when I compress it on the HTMLResources.zip file as required to be included on DPS, upload it, and then I call the HTML page using a button from the Overlay Creator, it doesn't play on the iPad, nor in the Desktop Viewer
Is something wrong about including these files on the DPS? Is DPS web browsing HTML5 fully-compatible?
Saludos,
Leo

It looks like there is a way for adobe to allow media to play on html articles without requiring human interaction... if they are using a UIWebView (which is likely), there is a setting they can set that allows media to play without requiring user interaction, it would be a great feature to allow this, or at least make it a setting we can set somewhere.
They need to set the mediaPlaybackRequiresUserAction property to NO on the UIWebView (it defaults to YES).
Here's a link to the documentation on this feature: https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebView_Class/Ref erence/Reference.html#//apple_ref/occ/instp/UIWebView/mediaPlaybackRequiresUserAction
Phone Gap and other products that aid the creation of HTML based Apps use this technique... any ideas on the best channel to get Adobe to implement it quickly?

Similar Messages

  • How do I configure Soundtrack Pro2 to play audio using Digidesign 002 Rack?

    How do I configure Soundtrack Pro2 to play audio using Digidesign 002 Rack? I have no problem using Logic 8 with the 002 Rack?
    Can somebody explain the necessary process to make this work. Thanks

    Add is probably not the best choice of terminology.
    Going from memory (since I'm at home), you need to launch digiCoreAudio, then select your output in the System prefs as your digi hardware. After that you would see the digi hardware as an output in STP.

  • Playing audio using a button

    Hi - I want to create a quiz item where people listen to a
    phrase and have to type in the answer. I need them to have a simple
    device which they can click to allow them to listen to the phrase
    several times if necessary. The typed in answer will then be scored
    and added to their overall quiz result. I have searched the forum
    and answers seem sketchy so wondered what the best practice was for
    this? If possible I would like to add this to a question pool
    too.

    Hi ntompkins
    Would a rollover work for you instead of a button? If so, you
    could accomplish it by inserting a Rollover Image or Rollover
    Caption. Then assign the audio clip to the Caption or Image that
    would appear when your user moused over. As long as they held the
    mouse over the rollover area, the audio would play. (well, until it
    completed anyway) But it could be moused over time and again to
    hear the audio.
    The Caption could be configured with no text and transparent.
    The image could be a simple swatch of color that could be rendered
    as transparent. That way the user wouldn't see anything. They would
    only hear the audio.
    These elements are able to be added to a Question slide. As
    such, the question slide could be part of a larger pool.
    Cheers... Rick

  • Certain .AVI files will not play audio using QuickTime 7.5

    I have recently updated my QuickTime to QuickTime Pro 7.5. I attempted to play videos in my library and noticed that certain videos will not play the audio, but video is fine. I did not have problems with playing the videos with audio before the update.
    I tried to do some research and many have suggested to install PERIAN 1.1. I have done this, but still no result. I have deleted a lot of important videos, because I assumed that they are no longer usable. I decided to keep most of them and figure out a solution. No luck so far.
    Please help! Anyone else experiencing this problem?

    I'm not really sure what to look for in QT's Movie Inspector, but here's what it says:
    Format: Apple OpenDML JPEG, 320 x 240, Millions
    FPS: 14.99
    Playing FPS: (Available while playing.)
    Data Size: 11.96 MB
    Data Rate: 2112.38 kbits/s
    Current Time: 0:00:00:13.94
    Duration: 0:00:00:47.50
    Normal Size: 320 x 240 pixels
    Current Size: 320 x 240 pixels (Actual)
    If Pro update were not suited for Intel Mac's, should I uninstall the update? If so, how do I do this? Do you have any other suggestions?
    Thanks again for the reply!

  • Airplay-connected Macbook Pro Will Not Play Audio On Apple TV

    After upgrading to a Retina Macbook Pro running Mavericks (10.9.3), I can no longer play audio using AirPlay through my AppleTV 2. The video connection is flawless, yet when going into Sound > Output through System Preferences, I can not select AppleTV | AirPlay as an output device. Is this a hardware issue? Is there another fix available?

    That actually did the trick. Well played. It would be nice if that were in *any* of the support documentation for AirPlay.
    Many thanks.

  • Playing audio via object tag not working in IE11

    Hi All,
    Observing issue with IE11 when tried to play audio using object tag(due to some compatibility reasons I cant use HTML5 audio tag).
    Below is the code snippet:
    <object type="audio/mpeg"
    data="${mediaPath}">
    <param name="src" value="${mediaPath}" />
    <param name="ShowControls" value="0" />
    <param name="loop" value="${repeat}"/>
    </object>
    The above code works only with 'AUDIO__MP3 Moniker Class' plugin. If the plugin is not available/enabled with IE an error thrown in the logs saying 'undefined' and no audio is played. Even when there are plugins that are
    capable of playing the audio. Ex: Quicktime, windows media player.
    Could you please help me in this?
    Thanks,
    Abhishek

    Please check this article.There are several samples using object tag to play audio in defferent plugin, Ex: Quicktime, windows media player.  http://www.yourwebskills.com/htmlobject.php
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help needed: audio missing - export to html & pdf

    audio missing - export to html & pdf
    both soundtrack and audio on specific pages play fine as slideshow and as export Quicktime.
    exports to html & pdf are missing audio entirely.
    the audio assets are not in the html folder.
    i am not doing anything complicated, one .tiff image per page, approx 12mg apiece.
    one soundtrack and one additional page specific audio track.
    box checked for saving audio files in preferences and while 'saving'.
    tried triggering with 'begin audio' builds.
    tried different approved formats for audio.
    tried different themes. at default settings.
    i am out of ideas. any suggestions?
    much appreciated.

    Sound files are not included in html or pdf exports. There is no way to make it happen. If you need the sound you can export as Quicktime.

  • Error with javascript under HTML body attribute

    Hello,
    I put this onload="$x_HideItemRow('P150_OTHER')" under HTML body attribute, however, i got an error:
    1 error has occurred
    You may not declaratively set cursor focus if you specify an ONLOAD in this attribute. You can programatically set cursor focus by using the following syntax:
    onload="mystuff(); first_field();"
    How to fix this?
    Thanks,
    Jennifer

    Jennifer,
    I'm not sure if I can answer your question directly but, if you simply move the location of your code, it will work. You want this to execute when the page loads, right?
    Just go into the Page properties. IN the section labeled "JavaScript" find the text area labeled "Execute When Page Loads" in there, put:
    $x_HideItemRow('P150_OTHER');That will execute the hide command whenever the page loads.
    -Joe

  • Error Using Send Jython HTML Email

    I have imported the procedure from Oracle Support and tried sending mail using Send Jython HTML Email.
    I receive error as below, pls help.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
      File "<string>", line 9, in <module>
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 245, in __init__
        (code, msg) = self.connect(host, port)
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 311, in connect
        raise socket.error, msg
    socket.error: (62, 'Connection refused')
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
      at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:744)
    Caused by: Traceback (most recent call last):
      File "<string>", line 9, in <module>
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 245, in __init__
        (code, msg) = self.connect(host, port)
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 311, in connect
        raise socket.error, msg
    socket.error: (62, 'Connection refused')

    The underlying error here is -> socket.error: (62, 'Connection refused')
    Please debug in the jython code in your procedure to see if you are passing correct parameters.

  • Flash player controls missing when using embedding in HTML

    Hi
    I have just created a Flash movie with a .flv file in flash cs4 when playing the .swf file we can see the controls of the player, when I use the html code the player controls are missing.
    it is missing when using the HTML that is generated with in flash as well.
    this is the code used for the HTML
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("myFlashContent", "10.0.0");
    </script>
    </head>
    <body>
    <div>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="272" height="400" id="myFlashContent" align="bottom">
    <param name="movie" value="walkon.swf" />
    <param name="play" value="true" />
    <param name="loop" value="false" />
    <param name="quality" value="best" />
    <param name="scale" value="exactfit" />
    <param name="salign" value="b" />
    <param name="wmode" value="transparent" />
    <param name="allowfullscreen" value="false" />
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="walkon.swf" width="272" height="400" align="bottom">
    <param name="play" value="true" />
    <param name="loop" value="false" />
    <param name="quality" value="best" />
    <param name="scale" value="exactfit" />
    <param name="salign" value="b" />
    <param name="wmode" value="transparent" />
    <param name="allowfullscreen" value="false" />
    <!--<![endif]-->
    <a href="http://www.adobe.com/go/getflashplayer">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    </div>
    </body>
    </html>
    I would really like your help on this one
    Thanks
    Rodney

    Hi,
    Please check that your swfobject.js file is located where your .swf file and.html file are published.  Your .swf file, .html file and swfobject.js should be placed on the same folder.
    In my Flash CS4 the code generated in the HTML file is different and is having 318 lines of code. But the code which you pasted below looks different. If you are not able to see the flash content only in HTML file then it might be active content blocking. Please refer the link which provides fix for active content blocking manually.
    http://www.adobe.com/devnet/activecontent/articles/devletter.html
    Thanks

  • Can I use Optical Audio alongside a speakerless monitor to play audio through speakers?

    I have an Apple TV 3 and so far I am relatively pleased. However.. I have no sound, this just about renders my Apple TV useless. Is it possible to use the Optical Audio cable to play sound from films, music etc. while still having the Apple TV connected to the Monitor via HDMI? Do you have any suggestions as to what speakers would be good? (looking at around £50 - £100) I was thinking of getting some of the Bose Companion 2 monitor speakers and then using a DAC to play audio from the Apple TV to the speakers. Would this work? If not, does anybody have any other suggestions?
    P.S. I can't plug speakers into my monitor for some absurd, annoying reason unbeknown to society

    My ATV is connected to the tv with hdmi
    My optical is connected to my stereo
    I mute my tv and only play out of the stereo

  • I have a docking station to charge and play audio from my ipod touch 3rd gen.  Just bought a new ipod touch 5 th gen.  Is there a converter/ adapter available so I can continue to use my dock?

    I have a docking station to charge and play audio from my ipod touch 3rd gen.  Is there an adapter available for the ipod touch 5th gen so that I can keep using the old dock?

    Lightning  Adopters
    One of these adopters/cables should work:
    http://store.apple.com/us/product/MD824ZM/A/lightning-to-30-pin-adapter-02-m?fno de=45
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter?fnode=45

  • Problem with playing audio data using Real Player

    i've seen the intruction for playing video data (.rm) using real player and it works. Then i tried to play audio data (.wav, .dat, .mp3) with real player, but it didn't work.
    These are some codes i've wrote:
    ------------------------------------------- BEGIN PL/SQL CODES---------------------------------------
    CREATE TABLE SONGS
    ( Item_ID number not null PRIMARY KEY,     
    Audio ordsys.ordaudio
    create or replace procedure load_audio(id integer, filename in varchar2) as
    obj ORDSYS.ORDAudio;
    ctx RAW(4000) := NULL;
    begin
    INSERT INTO SONGS VALUES(ID,
         ORDSYS.ORDAudio.init());
    SELECT audio into obj from Songs
    where item_id = id FOR UPDATE;
    obj.setSource('FILE','AUDIODIR', filename);     
    Obj.setDescription('A movie trailer');
    Obj.setMimeType('audio/x-pn-realaudio');
    Obj.setFormat('Real Media File Format');
    obj.import(ctx);
    UPDATE Songs
         SET audio=obj WHERE item_id=id;
    COMMIT;
    END;
    show errors;
    truncate table songs;
    exec load_audio(1,'aud1.wav');
    exec load_audio(2,'aud2.mp3');
    exec load_audio(3,'testaud.dat');
    -- just for comparison, i put a video file (.rm)
    exec load_audio(4,'autorace.rm');
    commit;
    show errors;
    create or replace procedure get_audio(
         audio_id in varchar2,
         mimetype out varchar2,
         data out blob) as
         tempBLOB BLOB;
         s varchar2(200);
    begin
    -- Deliver audio and mimetype
    select t.audio.getcontent(), t.audio.getmimetype()
    into tempBLOB, s
    from songs t where t.item_id = audio_id;
    data := tempBLOB;
    mimetype := s;
    end;
    show errors;
    ---------------------------------------- END of PL/SQL CODES-------------------------------------
    -----------------------------------MOUNTPOINT at FILESYSTEM rmsever.cfg-------------------
    <List Name="pn-oracle-audio">
    <Var Database="oracle"/>
    <Var HeaderCacheSize="2048"/>
    <Var LobFetchSize="32768"/>
    <Var MaxCachedConnections="1"/>
    <Var MountPoint="/dbaudio/"/>
    <Var Password="ZGF2aWQ="/>
    <Var ShortName="pn-oracle"/>
    <Var SQL="get_audio"/>
    <Var Username="skripsi"/>
    </List>
    ----------------------------------------End Of MOUNTPOINT----------------------------------
    then in the real player, i tried some urls :
    http://david:88/ramgen/dbaudio/1 --> it didn't work, it was said invalid path
    http://david:88/ramgen/dbaudio/2 ----> it didn't work, it was said invalid path
    http://david:88/ramgen/dbaudio/3 ----> it didn't work, it was said invalid path
    http://david:88/ramgen/dbaudio/4 ----> it worked
    did i put a wrong url?
    does the http://..../ramgen/... path is just for ram file?
    can anyone show me the way to play audio data using real player?
    Thanx before.

    Yes, realserver expects an exact mimetype.
    to make matters worse, it expects audio/x-pn-realaudio (an audio mimetype) for video!?!?!
    Seems the code inside maps multiple file extensions to some mime type. Only one is allowed.
    I have used the unix strings commands in teh plugins directory to find the exact mime type realserver is expecting. The file format plugins have this information in them.
    Larry

  • Is it possible to play audio from video in the background while using a different app?

    I would like to be ale to play audio from a video file in videos (or av player hd) in the background whie using a diffent app in my iPad 2. (ie watching a video while taking notes on the content or highlighting an e-textbook).
    Is this possible? Either through the original iPad functionality or by downloading a separate app?
    Thanks,
    mji

    Is it important that the music come from a video, or are you just looking to listen to music in the background, while doing something else.  If the later, you can certainly play music from the Music App, Pandora, or iHeart Radio, etc., and with the music playing, tap your home button to go to your home page and open anything else you want and the music will continue.
    I don't have any videos to try out right now, but you try the same thing out and if the music continues, it works.  If it doesn't, it doesn't.

  • Can I turn off CSS in DW CS4 and use good ole HTML tags?

    Can I turn off CSS in DW4 and use good ole HTML tags?
    I can in DW CS3 but can't see how to in CS4.
    Thanks.

    Having just been though a similar issue as described in another thread, I thought you might find this useful:
    http://forums.adobe.com/thread/522805?tstart=0

Maybe you are looking for