Created
September 27, 2016 20:41
-
-
Save mkokes/d3cc01ae7dbd56e70ba26acd7bfe0595 to your computer and use it in GitHub Desktop.
Set a vimeo video to continually loop in a soliloquy slider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Loop Vimeo Videos in Soliloquy | |
| add_filter( 'soliloquy_vimeo_args', 'mdk_vimeo_sol_settings', 10, 3 ); | |
| function mdk_vimeo_sol_settings( $args ) { | |
| $loop = array( 'loop' => 1 ); | |
| $args = array_merge( $args, $loop ); | |
| return $args; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment