Jump to content

Component: Audio ( Indicator): Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
Line 29: Line 29:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AttachToDevice'''
| width="90%" class="mtx-class-macrohead" | '''AttachToDevice'''
|-
|-
| colspan="2" | Requests permission to use a microphone feed. 
| colspan="2" | Requests permission to use a microphone feed. 
Line 43: Line 43:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetRecording'''
| width="90%" class="mtx-class-macrohead" | '''GetRecording'''
|-
|-
| colspan="2" | Returns the recorded data 
| colspan="2" | Returns the recorded data 
Line 57: Line 57:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''HasMedia'''
| width="90%" class="mtx-class-macrohead" | '''HasMedia'''
|-
|-
| colspan="2" | The media is currently available 
| colspan="2" | The media is currently available 
Line 71: Line 71:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''IsPlaying'''
| width="90%" class="mtx-class-macrohead" | '''IsPlaying'''
|-
|-
| colspan="2" | The media is currently playing 
| colspan="2" | The media is currently playing 
Line 85: Line 85:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''JumpBy'''
| width="90%" class="mtx-class-macrohead" | '''JumpBy'''
|-
|-
| colspan="2" | Seeks the media to a new position relative to the current position 
| colspan="2" | Seeks the media to a new position relative to the current position 
Line 104: Line 104:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''JumpTo'''
| width="90%" class="mtx-class-macrohead" | '''JumpTo'''
|-
|-
| colspan="2" | Sseeks the media to the new time 
| colspan="2" | Sseeks the media to the new time 
Line 123: Line 123:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Load'''
| width="90%" class="mtx-class-macrohead" | '''Load'''
|-
|-
| colspan="2" | Loads new media (or resets the current media if the parameter is blank) 
| colspan="2" | Loads new media (or resets the current media if the parameter is blank) 
Line 142: Line 142:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Pause'''
| width="90%" class="mtx-class-macrohead" | '''Pause'''
|-
|-
| colspan="2" | Pauses the media 
| colspan="2" | Pauses the media 
Line 156: Line 156:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Play'''
| width="90%" class="mtx-class-macrohead" | '''Play'''
|-
|-
| colspan="2" | Starts or resumes playing the media 
| colspan="2" | Starts or resumes playing the media 
Line 170: Line 170:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''StartRecording'''
| width="90%" class="mtx-class-macrohead" | '''StartRecording'''
|-
|-
| colspan="2" | Starts recording the media 
| colspan="2" | Starts recording the media 
Line 184: Line 184:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''StopRecording'''
| width="90%" class="mtx-class-macrohead" | '''StopRecording'''
|-
|-
| colspan="2" | Stops recording the media 
| colspan="2" | Stops recording the media 
Line 199: Line 199:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Revision as of 14:23, 13 July 2026

Author MatrixTSL
Version 1.0
Category Indicator


Audio component

Web-based audio component

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

AttachToDevice

AttachToDevice
Requests permission to use a microphone feed. 
- VOID Return


GetRecording

GetRecording
Returns the recorded data 
- STRING Return


HasMedia

HasMedia
The media is currently available 
- BOOL Return


IsPlaying

IsPlaying
The media is currently playing 
- BOOL Return


JumpBy

JumpBy
Seeks the media to a new position relative to the current position 
- FLOAT Offset
The position offset of the media (in seconds) 
- VOID Return


JumpTo

JumpTo
Sseeks the media to the new time 
- FLOAT Position
The position in the media (in seconds) 
- VOID Return


Load

Load
Loads new media (or resets the current media if the parameter is blank) 
- STRING Source
The source URL for the media (use empty string to keep use current media) 
- VOID Return


Pause

Pause
Pauses the media 
- VOID Return


Play

Play
Starts or resumes playing the media 
- VOID Return


StartRecording

StartRecording
Starts recording the media 
- VOID Return


StopRecording

StopRecording
Stops recording the media 
- VOID Return


Property reference

Properties
Audio
Source
The URL of the source media 
Type
The MIME type of the media (leave blank for auto) 
Options
Muted
Set true to mute the audio from the resource 
Loop
Set true to automatically seek to the start of the media once it has reached the end 
Show Controls
Shows or hides the default set of controls (e.g. pause/resume, volume, seeking) 
Autoplay
Automatically begin to play the media as soon as it is available 
Callbacks
OnAttached
Send when a microphone feed is attached to this component 
Advanced
Custom Attributes
 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WEBEXP_Audio.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Audio.fcsx