BBjAppletProxy::playAudio
Description
In BBj 2.02 and higher, this method displays a specified URL in a separate browser frame.
Syntax
Return Value |
Method |
---|---|
void |
playAudio(string URLName) |
void |
playAudio(string URLName, string relativeName) |
Parameters
Variable |
Description |
---|---|
URLName |
Specifies an absolute URL giving the base location of the audio clip. |
relativeName |
Specifies the location of the audio clip, relative to the URL argument. |
Return Value
None.
Remarks
In order to display a given URL, the Applet must have security permissions to connect to the host that is providing that URL. The default SecurityPolicy in effect in a browser will only allow an Applet to connect to the host from which the Applet was downloaded. In order to be able to display arbitrary URLs using addFrame(), the SecurityPolicy must be edited to add the permission:
java.net.SocketPermission "*", "resolve"
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.