Widget:Audio
Template:Widget This widget allows you to add HTML5 Audio Media to your wiki page. For video files see the Video page.
To insert this widget, use the following code:
{{#widget:Audio |url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3 }}
Parameters
- url - URL of the audio file
Sample result
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Deprecated: Smarty_Internal_TemplateCompilerBase::compileTemplate(): Implicitly marking parameter $parent_compiler as nullable is deprecated, the explicit nullable type must be used instead in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 393
Deprecated: Smarty_Internal_TemplateCompilerBase::compileTemplateSource(): Implicitly marking parameter $parent_compiler as nullable is deprecated, the explicit nullable type must be used instead in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 424
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiler is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Deprecated: Smarty_Internal_Runtime_CodeFrame::create(): Implicitly marking parameter $compiler as nullable is deprecated, the explicit nullable type must be used instead in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 28
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_codeFrame is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Use of MediaWiki\Content\ContentHandler::getContentText was deprecated in MediaWiki 1.37. [Called from WidgetRenderer::wiki_get_template in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/WidgetRenderer.php at line 158] in /home/zzegtzyr/the.satanic.wiki/includes/debug/MWDebug.php on line 385
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$getLiterals is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$addLiterals is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$setLiterals is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
Deprecated: Smarty_Internal_Method_GetTemplateVars::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php on line 34
Deprecated: Smarty_Internal_Method_GetTemplateVars::_getVariable(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php on line 87
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$getTemplateVars is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$loadPlugin is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 48
Deprecated: Constant E_STRICT is deprecated in /home/zzegtzyr/the.satanic.wiki/includes/exception/MWExceptionHandler.php on line 298
Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_writeFile is deprecated in /home/zzegtzyr/the.satanic.wiki/extensions/Widgets/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
Related tip
The Audio template used together with the Html5mediaAudio widget helps to avoid adding the full URL of a locally uploaded file to the widget's "url" parameter by rather just specifying the name of the uploaded file. → See the Audio template for further information.
Note
If you are using this widget you cannot use the TimedMediaHandler extension at the same time.