Home » Developer & Programmer » Forms » Oracle Forms 12c - New feature (Audio) (Forms 12.2.1.0.0; DB:12.1.0.2.0; O/S: Windows 10 pro )
Oracle Forms 12c - New feature (Audio) [message #682758] Mon, 16 November 2020 15:39 Go to next message
buggleboy007
Messages: 282
Registered: November 2010
Location: Canada
Senior Member
I am trying to play an audio file (as part of the new Oracle 12c forms feature using PLAY_AUDIO built in) for a specific form that is launched. This is for Proof of Concept.

This is what we have done:

a) recorded a file and named it as po.mp3
b) gave the file to middleware who then signed it into a jar file (as mentioned in the new features document). These were his words "The file is accessible from /apps/retail/base/12c/icons on the server, or http://srv-fm1:7777/forms/icons/audio.jar"
c) based on the above, I called the file in WHEN-NEW-FORM-INSTANCE as :

 PLAY_AUDIO('po.mp3'); 
This resulted in no luck.

so tried:
PLAY_AUDIO('http://srv-fm1:7777/forms/icons/audio.jar/po.mp3'); 
Even this resulted in no luck.
Is there anything else that needs to be done that is missing? Please advice.

Thanks in advance!

Re: Oracle Forms 12c - New feature (Audio) [message #682776 is a reply to message #682758] Wed, 18 November 2020 05:53 Go to previous messageGo to next message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:
Is there anything else that needs to be done that is missing?

Did you turn the speakers ON?



Just kidding.

Oracle says that "this feature is not fully supported when using early versions of Java 7 on the client tier. Therefore, using Java 8 is recommended.". So - do you have Java 8?
Re: Oracle Forms 12c - New feature (Audio) [message #682780 is a reply to message #682776] Wed, 18 November 2020 11:49 Go to previous messageGo to next message
buggleboy007
Messages: 282
Registered: November 2010
Location: Canada
Senior Member
There is Java 8 at work and also at home.

One good news is that I tried all the steps mentioned by Oracle (on my home computer this morning) and I was able to play back the audio file. Unfortunately this is not the case at work. Not sure why?
Anyway I have mentioned all the steps taken at the following URL:

https://community.oracle.com/tech/developers/discussion/comment/16775621#Comment_16775621

Thanks a lot Littlefoot!

[Updated on: Wed, 18 November 2020 11:50]

Report message to a moderator

Re: Oracle Forms 12c - New feature (Audio) [message #682787 is a reply to message #682780] Thu, 19 November 2020 07:51 Go to previous message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'm glad you made it work; though, it would be better if you succeeded it at work as well. I hope you will!
Previous Topic: Unable to display push buttons properly on the form
Next Topic: HOW TO IMPORT TXT to ORACLE FORMS | DATABASE WITH FORMS 11G
Goto Forum:
  


Current Time: Thu Mar 28 16:58:20 CDT 2024