Play sound using web.show document

Does anyone know if web.show_document can be used to play a .wav without displaying the media player on the screen ?

INteresting thread, one other thing to mention is that while we are opening up Forms to the Java world, we are infact trying to maintain the 4GL pl/SQL interface we know that the Forms developers like.
So for example, while we introduced PJC and Java Beans in earlier releases, in subsequent releases we have added packaged (FBEAN) to protect you from the nuts and bolts of Java.
Sure, if you are writing PJC and Beans then you may already have taken the jump into the Java world but equally it could be one of the "new kids" who have grown up with Java who are writing these and all the experienced "old timers" plug it into Forms ;o) [without having to get too wet in the java pond).
Grant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Working with fcp 6.0.6 I can't see the clip in the viewer until I start or play. Used to show fine.

    Working with fcp 6.0.6 I can't see the clip in the viewer until I start or play. Used to show fine.

    This is the FCPX forum.
    Sounds like the viewer is in wireframe mode or is alpha display mode. If this isn't the case you need to go to the Final Cut Studio forum and give more details.

  • Web show document timeout for large data in file

    Hi,
    I'm using Oracle Application Server 10.1.2.0.2 as a middleware and we launch an excel file using web.show_document. The problem that i'm facing is that if the data in the excel file is too large (I'm unable to quantify large!) the browser is unable to show the document. I have tried to increase the timeout in the Apache settings, but still the problem persists. Has anybody faced such a problem with web.show_document?

    OK, then you should get a thread dump of WLS just after your DBA confirms that all the heavy lifting for a given transaction is done, to see what WLS thinks it needs to be doing. Actually, I would open a support case and get instructions how to turn on JTA logging, so we'll see step-by-step, timestamp-by-timestamp the progress of the transaction.

  • Calling html file within web.show document as a report output

    /* this is blank html file included javascript for disabling mouse right click working fine*/
    WEB.SHOW_DOCUMENT ('http://prod.artisticmilliners.com:8000/files/file.html','_blank');
    /* this is oracle report output within model frame working fine*/
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("'|| URL || '","","location=no,toolbar=no,menubar=no,status=no,"));self.close()','_self');
    I want to add show report output with right mouse click disable. Pleae guide how can i do it?

    Let me start by saying that disabling the right mouse will do nothing but frustrate users. It doesn't protect the page content from anything. There are various other ways to get the content from the page copied locally. And more importantly, this does not_ offer any kind of security.
    Ok, so you have decided to do it anyway ;)
    In order to make this happen, you would need to modify the report. I will assume that when you said "report" you meant Oracle Reports. Open the report file (.rdf) and edit the report's "Before Report Value".
    The default value is:
    <html>
    <head>
    <meta http-equiv="Content-Type"  content="text/html; charset=&Encoding">
    </head>
    <body dir=&Direction bgcolor="#ffffff">Change it to this:
    <html>
    <head>
    <meta http-equiv="Content-Type"  content="text/html; charset=&Encoding">
    </head>
    <script language="javascript">
    document.onmousedown=disableclick;
    status="Right Click Disabled";
    Function disableclick(e)
      if(event.button==2)
         alert(status);
         return false;   
    </script>
    <body oncontextmenu="return false" dir=&Direction bgcolor="#ffffff">Save the changes and retest.

  • Rollover buttons to play sound using "loadSound"

    Hi, there
    I am seeking help with the following AS2 code. The target effect: Rolling over each of the two buttons on the main stage plays different sound. The code below works. However, I need to embed it in another application (Articulate) which doesnot allow the use of "_root" and "attachSound". I was recommended to use "loadSound" instead. However, not a coding person, I am at a loss.
    Can anyone help me to change the script below to remove "_root" and "attachSound" and use "loadSound" instead? Thanks so much!
    var mySound:Sound = new Sound();
    mcButton5.onRollOver = function() {
    _root.mySound.attachSound("sound1");
    _root.mySound.start();
    var mySound:Sound = new Sound();
    mcButton6.onRollOver = function() {
    _root.mySound.attachSound("sound2");
    _root.mySound.start();

    I finally got it work, using load Sound...
    Kglad, thanks for your great help, as always!
    mySound1 = new Sound();
    mySound1.loadSound("Sound1.mp3", false);
    mcButton1.onRollOver = function() {
    mySound1.start();
    mcButton1.onRollOut = function() {
    mySound1.stop();

  • Playing sound using ActionScript 3.0 (newbie)

    I have a Flash animation I've created, and at the last minute we have decided to add one audio track to the background.  The problem is, I have a looping animation in the timeline, so simply inserting the audio into a layer in the timeline will not work (because it will loop as well).
    Can anyone help me with how to insert just one sound file "on top" of all the animations playing using ActionScript 3.0?  I've never worked with the Sound class, and have never put audio into a Flash file besides simply importing it into a frame.
    THANKS!
    Jen

    Worked perfectly.  Thank you thank you!
    Jen

  • Playing sound using quicktime package?

    I'm trying to make a very simple program (actually, part of a much larger program) that can play a sound file. Nothing else needs to happen during that time, and no other sound file will be played at the same time, so hopefully I'll be able to avoid threads, mixers, and all the rest of that stuff.
    After not being able to make head or tails of all the extremely complicated tutorials on Java Sound, I finally found some very short code that allows me to play a .wav file, just like I'd want. My only concern is that it uses the quicktime package, instead of the Sound package that everyone else seems to refer to.
    In particular, it seems to be treating the sound file like a movie. Here's some source code:
    import quicktime.*;
    import quicktime.io.*;
    import quicktime.app.time.*;
    import quicktime.app.view.*;
    import quicktime.std.movies.*;
    import quicktime.std.*;
    // Lots of GUI interface stuff
        public void playFile (String fileName) {
             try {
                String soundLocation = QTFactory.findAbsolutePath(fileName).getPath();
                OpenMovieFile fileIn = OpenMovieFile.asRead (new QTFile(soundLocation));
                movie = Movie.fromFile (fileIn);
                TaskAllMovies.addMovieAndStart();
                movie.setActive(true);
                movie.setRate(1);
               } catch (IOException ioe) {
                    ioe.printStackTrace();
               } catch (QTException qte) {
                    qte.printStackTrace();
        }Does this seem to be all ok? Will the computer the program is running on need QuickTime, or is that completely different? Is this as fast as using Java Sound?
    Sorry for the possibly silly questions. Normally I'd say "I've tested it, it works, so that's all I need", but I got a little bit worried seeing "quicktime" and "movie", and wondered if this is what I really should be using.
    Thanks!

    Also-- something to think about. You may be able to
    avoid threads while the song is playing-- if you
    never want to stop it, pause it, or do *anything
    else* within the same GUI -- assuming you're using a
    GUI.
    Hope something in the above helps.In this program the user doesn't get to control the sound while it is playing. The program is an assesment of language comprehension engine for my lab. The user hits "Go", the sound plays (all 2-3 seconds of it), then the user hits "yes" or "no" depending on the sound.
    I'm only just starting to code this. Do you think it's going to need threading? I can't imagine that it ought to take more than 5-10 lines of code, but those Sound tutorials made it seem like I'd need 100.
    As for playing a "movie", that's why I was worried. Taking a deeper look, it seems like Apple's Developer website is promoting using the QuickTime package, but I haven't yet worked out how compatible it is with other file systems, and whether it's as good.
    Thanks, and any other thoughts are welcome!
    --Sam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Web show document not working..

    Hey guys. I just recently installed the stand alone AS forms and reports server 10.1.2.0.2.. the reporting functionality is not working...
    basically the application uses the reports engine to create a PDF file which is then read by the web.show_document built in. It works on the developer AS, but doesnt work for the forms and reports AS...
    the link I am reading the file from looks like this..
    http://<IP ADDRESS>:7777/forms/reports_output/116_rec_jan.PDF
    where the "IP ADDRESS" is the IP of the sever, and "/reports_output" is a virtual directory. Do I have the wrong port or something? The file "116_rec_jan.PDF" does exist on the server so I can't see the problem...
    Could it be that I dont have adobe reader on my server? Does the AS use the server's adobe reader to read the file or the client side adobe reader? Anyone know whats going on? Thanks for your thoughts.
    Mo

    When I was testing this, I restarted the entire server. The output URL seemed to change so im guessing the OPMN picked up the changes in the forms.conf file. How do you manually restart the OPMN? Here is the line I inserted into the forms.conf file:
    AliasMatch ^/forms/reports_output/ "D:\Reports_Output"
    Below is the coding I used to create the URL for web.show_document.. I bolded what was important... a lot of the coding in here has to do with the Oracle VPD, and loading parameters into the report..
    PROCEDURE RUN_REPORT_FILE IS
    LIST_ID PARAMLIST;
    V_REP_OBJ REPORT_OBJECT;
    V_REP_ID VARCHAR2(100);
    V_FILE_NAME VARCHAR2(200);
    V_REPORT_LOC VARCHAR2(100);
    V_BTD_LOC VARCHAR2(100);
    V_PRN_SEQ NUMBER;
    V_PARAMS NUMBER;
    V_DATE DATE;
    V_NUMBER NUMBER;
    V_CHAR VARCHAR2(4000);
    V_VIRT_PATH VARCHAR2(100);
    V_SERVER VARCHAR2(100);
    V_SERVER_PORT VARCHAR2(50);
    V_RPT_TAG VARCHAR2(300);
    BEGIN
    IF :CONTROL.FILE_NAME IS NULL THEN
    IF SHOW_ALERT('MISS_FILE') = ALERT_BUTTON1 THEN
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    END IF;
    SET_VPD_CONTEXT.RECORD_PERMISSION_SET(
    :GLOBAL.P_CY,
    :GLOBAL.P_VW,
    :GLOBAL.P_ROL,
    :GLOBAL.P_PRT,
    :GLOBAL.P_STR,
    :GLOBAL.P_AR,
    :GLOBAL.P_DS,
    :GLOBAL.P_DV,
    :GLOBAL.P_RG,
    :GLOBAL.P_AD,
    :GLOBAL.P_BY,
    :GLOBAL.P_LOG);
    SELECT VALUE
         INTO V_VIRT_PATH
         FROM SYSTEM_DEFAULTS
         WHERE ATTRIBUTE = 'VIRTUAL REPORTS PATH';
    SELECT VALUE
         INTO V_SERVER
         FROM SYSTEM_DEFAULTS
         WHERE ATTRIBUTE = 'SERVER LOCATION';     
    SELECT VALUE
         INTO V_SERVER_PORT
         FROM SYSTEM_DEFAULTS
         WHERE ATTRIBUTE = 'SERVER PORT';     
    SELECT VALUE
         INTO V_BTD_LOC
         FROM SYSTEM_DEFAULTS
         WHERE ATTRIBUTE = 'REPORT OUTPUT LOCATION';               
    IF :GLOBAL.DESTROY_REPORT_LIST = 'Y' THEN
    DESTROY_PARAMETER_LIST ('REPORT_PARAMS');
    END IF;
    SELECT VALUE
    INTO V_REPORT_LOC
    FROM SYSTEM_DEFAULTS
    WHERE ATTRIBUTE = 'REPORT HOME';
    IF :CONTROL.SAVE_FLAG = 'Y' THEN
    SELECT SAVED_REPORT_SEQ.NEXTVAL
    INTO V_RPT_TAG
    FROM DUAL;
    V_FILE_NAME := V_BTD_LOC||V_RPT_TAG||'_'||:CONTROL.FILE_NAME||'.PDF';
    INSERT INTO COMPANY_SAVED_REPORTS(
    SELECT V_RPT_TAG,
    NODE_KEY,
    FILE_NAME,
    :CONTROL.FILE_NAME,
    :GLOBAL.CY_COMPANY_KEY,
    :GLOBAL.STR_STORE_KEY,
    SYSDATE,
    TO_CHAR(SYSDATE, 'HH24:MM:SS'),
    :GLOBAL.ACCESS_USER,
    :GLOBAL.ACCESS_USER,
    SYSDATE,
    :GLOBAL.ACCESS_USER,
    SYSDATE
    FROM SYSTEM_MENUS
    WHERE NODE_KEY = :PARAMETER.SM_NODE_KEY);
    ELSE
    V_FILE_NAME := V_BTD_LOC||:CONTROL.FILE_NAME||'.PDF';
    END IF;
    LIST_ID := CREATE_PARAMETER_LIST ('REPORT_PARAMS');
    V_REPORT_LOC := V_REPORT_LOC||:PARAMETER.REPORT_FILE||'.RDF';
    IF :GLOBAL.BUILD_PARAMETER = 'Y' THEN
    GO_BLOCK('REPORT_PARAMS');
    FIRST_RECORD;
    SELECT COUNT(*)
    INTO V_PARAMS
    FROM REPORT_PARAMS
    WHERE FILE_NAME = :PARAMETER.REPORT_FILE;
    IF V_PARAMS > 0 THEN
    LOOP
    IF :REPORT_PARAMS.PARAM_TYPE = 'KEY' THEN
    :REPORT_PARAMS.PARAM_VALUE := :REPORT_PARAMS.PARAM_VALUE_DISPLAY;
    END IF;
         ADD_PARAMETER(LIST_ID, :REPORT_PARAMS.PARAM_NAME, TEXT_PARAMETER, :REPORT_PARAMS.PARAM_VALUE);
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE';
    NEXT_RECORD;
    END LOOP;
    END IF;
    END IF;
    ADD_PARAMETER(LIST_ID, 'VPD_P_CY', TEXT_PARAMETER, :GLOBAL.P_CY);
    ADD_PARAMETER(LIST_ID, 'VPD_P_VW', TEXT_PARAMETER, :GLOBAL.P_VW);
    ADD_PARAMETER(LIST_ID, 'VPD_P_ROL', TEXT_PARAMETER, :GLOBAL.P_ROL);
    ADD_PARAMETER(LIST_ID, 'VPD_P_PRT', TEXT_PARAMETER, :GLOBAL.P_PRT);
    ADD_PARAMETER(LIST_ID, 'VPD_P_STR', TEXT_PARAMETER, :GLOBAL.P_STR);
    ADD_PARAMETER(LIST_ID, 'VPD_P_DS', TEXT_PARAMETER, :GLOBAL.P_DS);
    ADD_PARAMETER(LIST_ID, 'VPD_P_DV', TEXT_PARAMETER, :GLOBAL.P_DV);
    ADD_PARAMETER(LIST_ID, 'VPD_P_RG', TEXT_PARAMETER, :GLOBAL.P_RG);
    ADD_PARAMETER(LIST_ID, 'VPD_P_AD', TEXT_PARAMETER, :GLOBAL.P_AD);
    ADD_PARAMETER(LIST_ID, 'VPD_P_BY', TEXT_PARAMETER, :GLOBAL.P_BY);
    ADD_PARAMETER(LIST_ID, 'VPD_P_LOG', TEXT_PARAMETER, :GLOBAL.P_LOG);
    V_REP_OBJ := FIND_REPORT_OBJECT('GENERIC');
    SET_REPORT_OBJECT_PROPERTY(V_REP_OBJ, REPORT_FILENAME, V_REPORT_LOC);
    SET_REPORT_OBJECT_PROPERTY(V_REP_OBJ, REPORT_DESNAME, V_FILE_NAME);
    :GLOBAL.DESTROY_REPORT_LIST := 'Y';
    V_REP_ID := RUN_REPORT_OBJECT(V_REP_OBJ, LIST_ID);
    DESTROY_PARAMETER_LIST (LIST_ID);
    IF :CONTROL.SAVE_FLAG = 'N' THEN
    WEB.SHOW_DOCUMENT('http://'||V_SERVER||':'||V_SERVER_PORT||'/forms'||V_VIRT_PATH||'/'||:CONTROL.FILE_NAME||'.PDF', '_blank');
    ELSE
    WEB.SHOW_DOCUMENT('http://'||V_SERVER||':'||V_SERVER_PORT||'/forms'||V_VIRT_PATH||'/'||V_RPT_TAG||'_'||:CONTROL.FILE_NAME||'.PDF', '_blank');
    END IF;
    :GLOBAL.P_CY := NULL;
    :GLOBAL.P_VW := NULL;
    :GLOBAL.P_ROL := NULL;
    :GLOBAL.P_PRT := NULL;
    :GLOBAL.P_STR := NULL;
    :GLOBAL.P_AR := NULL;
    :GLOBAL.P_DS := NULL;
    :GLOBAL.P_DV := NULL;
    :GLOBAL.P_RG := NULL;
    :GLOBAL.P_AD := NULL;
    :GLOBAL.P_BY := NULL;
    :GLOBAL.P_LOG := NULL;
    COMMIT;
    END;

  • OSX or Logitech driver incompatibility with sounds from web

    If sound comes from certain websites,
    OSX (or Logitech driver) have a problem outputting it to the proper port.
    I sent feedback to Apple,
    but I wonder if anyone else has experienced this or have any comments?
    Giovanni
    ====== DETAILS========
    For sounds from certain websites,
    If headset is connected to USB port,
    SystemPreferences>Sound>Output
    does not honor "Line Out" user's selection.
    Problem steps:
    1) Connect:
    Speakers ("Line out") to Built in audio port
    Logitech USB Headset to USB port
    2) Verify
    AppleMenu>SystemPreferences>Sound>Output is set to "Line Out"
    3) Play sound using some applications and websites
    (for example iTunes, Skipe, http://www.apple.com, etc)
    Verify sound comes out of speakers as expected
    and SystemPreferences>Sound>Output's
    Mute or Output Volume settings respond as expected.
    So all hardware works.
    4) Play sound from other websites
    (for example http://antoniocarlosjobim.brazilmaxmusic.com)
    Verify sound mistakenly comes out of Headset.
    (and SystemPreferences>Sound>Output
    does not respond to Mute or Output Volume changes).
    5) Issue is the same for many browsers (Safari, FIre Fox, IE).
    Thus, it is not a browser issue.
    It happens for sounds from movie or music files.
    Thus, it is no a specific file format issue.
    It seems likely a Logitech driver/OSX issue
    (or we can always blame the websites)
    System: iMac 20" 1.8 GHz G5
    Mac OS X 10.4.6
    Software Update: Your Software is up to date.
    iMac G5   Mac OS X (10.4.6)   Logitech USB Headset Version: 10.13

    Yes, ideally all websites would follow W3C standards.
    But many don't.
    Until then, as you suggest, we should:
    1) send a note to the site informing that they should test on both Platforms and
    not following standards hurts them before a growing base of users.
    As Mac's market share increases (as it is positioned to do),
    web masters will get better at testing their sites on both Platforms, and
    glitches like this are less and less likely to occur.
    But it is not enough to blame the website and
    expect the consumer to pick a fight with all non-compliant web masters
    (I can't imagine my dad, or the majority or non-technical people, doing this).
    That would let the consumer have bad user experience that wastes everyone's time.
    This is not "it just works", and ultimately hurts Apple's reputation for most consumers.
    In cases like this, I believe it is also important to:
    2) send a note to Apple so they are aware of the glitch and can write more robust driver
    to handle non-compliant sites gracefully like Logitech did.
    This will give "it just works" user experience.
    Mac is vastly superior to Windows in nearly every respect and already handles most non-compliant situations great.
    This is a really a minor issue (but real, so ball is also on Apple's court to look at).
    3) acknowledge the glitch, so we all aware of the facts.
    That way Apple will look at fixing it and
    consumers will have a workaround (use the headset)
    and know it is a known issue they don't need to waste time and aggravation investigating.
    In summary, until apple fixes the driver, send note to website and use headset.

  • Pages document opened as a PDF on the web shows old name; why?

    I created a pages document with a file name "Seifert Waldren" last year. Then this year I used that same document, either as a duplicate or version and saved it with a new name Seifert Thum. Then I've put this in my web page and when I use Firefox to open the document the new tab show Seifert Waldren; but in Safari it shows Seifert Thum! I just went back to see info of the PDF and see the original title says Seifert Waldren copy. Is there a way I can discover this befor adding it to my web page? Or is this a trial and error situation?

    When you use whatever you use to upload your files to your websites, check that both files don't exist in the site's directory.
    Get Info shouldn't be necessary to check a file name in your directory, unless in this case there is a contradiction between what it show in Finder and any internal naming, which I have never heard of before.
    Use Disk Utility to Verify/Repair your Mac hard drive, in case there is some directory damage, then reupload the file to your site.
    Peter

  • Uploaded my pictures from my iPhone to my MacBook- Some of the videos I made show that they imported and play sound, but no picture- are they gone?

    I Uploaded my pictures from my iPhone to my MacBook… Some of the videos I made show that they imported and play sound, but no picture… are they gone?Becuase they offer to delete what was imported, so to save space i did... Is there anything I can do to restore the picture?

    Do your videos play in QuickTime Playerwhen you reveal one of them in the Finder with "File > Reveal > Original"? Try to open the revealed movie in QuickTime and see if it plays.
    Check the format of the movie. You can see it in the Inspector in QuickTime Player from the "WIndow" menu: Window > Show Inspector.
    iPhoto does not support all movie formats and codecs that QuickTime player can play, and not all frame rates.
    See: Using AVCHD video with iPhoto '11
    If the movie does not play in QuickTime Player either, install QuickTime 7 for more codecs.

  • How to play sound file in Forms 9i  using  PJC.

    Hi ,
    I want to play a sound file in Forms 9i over the web using "Pluggable Java Component". Any pointers / help in this regard will be highly appreciated.
    Thanks in Advance,
    Vinod.

    Vinod,
    just do a search on the Internet for a Java Bean and add this to Forms. However, if you don't necessarily require the sound to be played from within Forms, you could use web.show_document() to call it in a URL displayed in a hidden frame on the Forms HTML page. This way it would be the browser playing the sound (assuming a proper Plugin)
    web.show_document('http://server:port/myDir/mysound.wav','myHidden_frame')
    Frank

  • I have downloaded Fiefox 7 for my laptop running Windows 7. Now i cannot get any sound from web content. ( I can still get sound using Google Chrome !!) Any ideas ?

    I downloaded Firefox 7 and now cannot get any sound when playing web content. I have reinstalled but still no joy. When I use Google Chrome for the same useage, it plays sound fine.
    Any ideas ??

    1. System Preferences > Other/ Flash Player > Advanced >  Delete  All
         Press the "Delete All" button
      2. Install Adobe Flash Player.
        http://get.adobe.com/flashplayer/
       Download it first.
       The next step is important.
       Click Safari in the menubar and select “Quit Safari”.
        Follow the prompts and install it.
        Restart computer. Relaunch Safari.
    2.  Allow  Plug-ins  
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.

  • Showing tiff files using web.show_document

    Hello,
    I want to show tiff files using web.show_document. Tiff files cannot be displayed in a browser, however therr are several plug-ins available to show them.
    Can anyone recommend a plugin to display tiff files in a browser?
    Kind Regards Erik

    We had tried a different approach. We store all type of documents in the database using webutil.
    And we dont directly open any document and we download the document to the local host and then open it using webutil client host ('local folder\file name')
    This way word,excel, pdf etc will be automatically opened with its relevant appln and if there is relevant appln is not found it will prompt the windows standard Open with dialog box.
    Rajesh ALex

  • Change the Formula in Web Intelligence Document using BO SDK XI

    Dear All,
                 I am using Business Object Enterprise XI SDK. I have written vb.net SDK program to show the selected web intelligence document.  I have used the formula field in the web Intel. document. I want to change formula of the web intel. document in the  vb.net code by using Infostore object. Is it possible ?
    Regards,
    Mani

    I do not think if you will be able to achieve it through the infostore and the RENET (ReportEngines .NET).
    But with the Java ReportEngines, this is possible by creating a ReportExpression via the ReportDictionary's method createFormula.
    Here is a snippet code:
    private ReportExpression processReportExpression(ReportDictionary reportDictionary, ReportExpression expr, String definition)
            newExpr = reportDictionary.createFormula(definition);
        return newExpr;
    Cheers

Maybe you are looking for