Audio Section
Simple Audio Player
A section component to render audio controls for a seamless playback experience. It supports audio formats in both mp3
and ogg
, ensuring compatibility with a wide range of audio sources and browsers.
With this component, you have the power to:
Play and Control Audio: The primary function of this component is to provide intuitive audio controls. Visitors to your website can easily play, pause and adjust the volume, creating an engaging and interactive audio experience.
Multiple Audio Formats: This component ensures broad compatibility by supporting two popular audio formats: mp3 and ogg. This versatility allows you to include audio content that caters to different user preferences and browser capabilities.
Sound Effect by Kammerin Hunt from Pixabay
Usage
- container: "section"
name: "audio"
containerFields:
isDisabled: false
isAnimated: false
containerId: ""
containerClass: ""
inContainer: true
isNarrow: false
background:
color: ""
image: ""
isDark: false
audio:
ogg: ""
mpeg: "/assets/acoustic-guitar-loop-f-91bpm-132687.mp3"
hasImage: false
image:
src: ""
alt: ""
caption: ""