Play Sound Effect

Navigation:  Knowledge Base > Page Editor > Actions > Media Control >

Play Sound Effect

Previous pageReturn to chapter overviewNext page

Play Sound Effect action will allow the user to play the sound effect, for example when the user taps a button then a sound file plays. The duration of the sound file is 5 seconds maximum. This action can not be controlled. The user can not pause or stop the sound file once played. To know more about it, please follow the steps given below:

 

Step 1: Open a Free Layout Page.

a.Drag a SoundBox UI Part and RoundButton UI Part and drop it on the Page as shown in the image below.  

b.Browse to the "Functions" section on "Properties Palette window" of RoundButton for applying actions.

c.Click on the corresponding Edit(0) button of the Function on which user wants to apply the Action. To know more about the Functions click here.

 

mobilous_appexe_npe_myproject_Actions_mediacontrol_playsoundeffect_pageeditor mobilous_appexe_npe_myproject_Actions_roundbutton_edit

 

Step 2: Click on "Add" button on the Actions window to add an action.To know more about actions click here.

 

mobilous_appexe_npe_myproject_Actions

 

Step 3: Select the Actions category as “Media Control”.

 

mobilous_appexe_npe_myproject_Actions_category1

 

Step 4: Click on the "Media Control" and then click on “Play Sound Effect” action.

 

mobilous_appexe_npe_myproject_Actions_mediacontrol_playsoundeffect_step1

Click here to know about "Doc" Button.

 

 

Step 5: Enter Action Parameters:-

 

Parameter

Description

Source

User can select any one of the following source of the sound file i.e

1) Bundle- The sound file is uploaded in the resource manager.

Sound Effect File option appears.

2) URL- User can provide the URL of the sound file.

File URL option appears.

Sound Effect File

User can select the sound file uploaded in the resource manager.

File URL

User need to put the URL of the sound.

 

 

mobilous_appexe_npe_myproject_Actions_mediacontrol_playsoundeffect_step2         mobilous_appexe_npe_myproject_Actions_mediacontrol_playsoundeffect_step21

 

Step 6: Click on "OK" button if the user doesn't want to add more actions.

 

mobilous_appexe_npe_myproject_Actions_mediacontrol_playsoundeffect_step3

 

Note: Define condition if required, by clicking on "+" Condition Button on the left. Click here to know more.