@@ 170-172 (lines=3) @@ | ||
167 | */ |
|
168 | $player_params = array(); |
|
169 | ||
170 | if ( isset( $atts['autoplay'] ) && '1' === $atts['autoplay'] ) { |
|
171 | $player_params['autoplay'] = '1'; |
|
172 | } |
|
173 | if ( isset( $atts['endscreen-enable'] ) && '0' === $atts['endscreen-enable'] ) { |
|
174 | $player_params['endscreen-enable'] = '0'; |
|
175 | } |
|
@@ 176-178 (lines=3) @@ | ||
173 | if ( isset( $atts['endscreen-enable'] ) && '0' === $atts['endscreen-enable'] ) { |
|
174 | $player_params['endscreen-enable'] = '0'; |
|
175 | } |
|
176 | if ( isset( $atts['mute'] ) && '1' === $atts['mute'] ) { |
|
177 | $player_params['mute'] = '1'; |
|
178 | } |
|
179 | if ( isset( $atts['sharing-enable'] ) && '0' === $atts['sharing-enable'] ) { |
|
180 | $player_params['sharing-enable'] = '0'; |
|
181 | } |