@@ 157-159 (lines=3) @@ | ||
154 | */ |
|
155 | $player_params = array(); |
|
156 | ||
157 | if ( isset( $atts['autoplay'] ) && '1' === $atts['autoplay'] ) { |
|
158 | $player_params['autoplay'] = '1'; |
|
159 | } |
|
160 | if ( isset( $atts['endscreen-enable'] ) && '0' === $atts['endscreen-enable'] ) { |
|
161 | $player_params['endscreen-enable'] = '0'; |
|
162 | } |
|
@@ 163-165 (lines=3) @@ | ||
160 | if ( isset( $atts['endscreen-enable'] ) && '0' === $atts['endscreen-enable'] ) { |
|
161 | $player_params['endscreen-enable'] = '0'; |
|
162 | } |
|
163 | if ( isset( $atts['mute'] ) && '1' === $atts['mute'] ) { |
|
164 | $player_params['mute'] = '1'; |
|
165 | } |
|
166 | if ( isset( $atts['sharing-enable'] ) && '0' === $atts['sharing-enable'] ) { |
|
167 | $player_params['sharing-enable'] = '0'; |
|
168 | } |