• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Shortcode parameters / video autoplay parameter

autoplay parameter for the video shortcode

Syntax

[video
src,mp4,m4v,webm,ogv,wmv,flv="| URL - If omitted uses first attachment"
poster="| URL - Placeholder image"
loop="off| on - Allow looping of media"
autoplay="off| on - Causes media to autoplay"
preload="none| auto| metadata - How the audio should be loaded"
height="| numeric - Required height"
width="| numeric - Required width"]

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

Information

Shortcode: video – Embed video files
Parameter name: autoplay
Parameter type: text
Default: off
Other values: on
Notes: Causes media to autoplay

Footer

WordPress a2z
WordPress a2z
WordPress Dynamic API Reference
WordPress 6.0.1. PHP: 8.0.22
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wp-a2z.org
© Copyright WordPress a2z 2014-2022. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites