Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Adnan
28 points
Beginner
@Carol, if you don’t want to change the core files, insert the following code to your child theme functions.php
add_filter( 'shortcode_atts_video', 'overwrite_video_atts', 10,3 );
function overwrite_video_atts( $out, $pairs, $atts )
{
// force the autoplay video shortcode attribute to OFF:
$out['autoplay'] = '0';
@Carol, if you don’t want to change the core files, insert the following code to your child theme functions.php
add_filter( 'shortcode_atts_video', 'overwrite_video_atts', 10,3 );
function overwrite_video_atts( $out, $pairs, $atts )
{
// force the autoplay video shortcode attribute to OFF:
$out['autoplay'] = '0';
return $out;
}