Home / Shortcode parameters / audio src,mp3,m4a,ogg,wav,wma parameter

src,mp3,m4a,ogg,wav,wma parameter for the audio shortcode

Syntax

[audio
src,mp3,m4a,ogg,wav,wma="| URL - If omitted uses first attachment"
loop="off| on - Allow looping of media"
autoplay="off| on - Causes media to autoplay"
preload="none| auto| metadata - How the audio should be loaded"]

Published: 30th June 2016 | Last updated: 30th June 2016

Information

Shortcode: audio – Displays uploaded audio file as an audio player
Parameter name: src,mp3,m4a,ogg,wav,wma
Parameter type: text
Default:
Other values: source_url
Notes: If omitted uses first attachment
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Files
  • Hooks
  • Classes
  • Sites
  • Sitemap
  • Blog
WooCommerce a2z WooCommerce a2z
WooCommerce

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins