diff --git a/includes/EmbedVideo.php b/includes/EmbedVideo.php index 34217a8..d546f5e 100644 --- a/includes/EmbedVideo.php +++ b/includes/EmbedVideo.php @@ -144,6 +144,7 @@ public static function parseEVL( Parser $parser, PPFrame $frame, array $args ): 'text' => null, 'player' => null, 'service' => null, + 'urlArgs' => null, ]; $keys = array_keys( $expandedArgs ); @@ -152,7 +153,7 @@ public static function parseEVL( Parser $parser, PPFrame $frame, array $args ): $value = trim( $frame->expand( $arg ) ); if ( str_contains( $value, '=' ) ) { - $parts = array_map( 'trim', explode( '=', $value ) ); + $parts = array_map( 'trim', explode( '=', $value, 2 ) ); $expandedArgs[$parts[0]] = $parts[1] ?? null; } else {