Soliloquy change Wistia Video Arguments
<?php
/**
* Plugin Name: Soliloquy - Change Wistia Video Arguments
* Plugin URI: http://soliloquywp.com
* Version: 1.0
* Author: Erica Franz
* Author URI: https://fatpony.me
* Description: Add, edit or remove arguments for the Wistia Video Slides
*/
/**
* Change the default Wistia Video Arguments
*
* @param array $args Default Arguments
* @return array New Arguments
*/
function soliloquy_change_wistia_args( $args ) {
/**
* Defaults:
* 'version' => 'v1',
* 'wmode' => 'opaque',
* 'volumeControl' => 1,
* 'controlsVisibleOnLoad' => 1,
* 'videoFoam' => 1
*/
$args['controlsVisibleOnLoad'] = 0;
return $args;
}
add_filter( 'soliloquy_wistia_args', 'soliloquy_change_wistia_args' );