diff --git a/src/SignatureDecoder.php b/src/SignatureDecoder.php index 1450b1a..7e3b570 100644 --- a/src/SignatureDecoder.php +++ b/src/SignatureDecoder.php @@ -67,7 +67,8 @@ public function parseFunctionCode($func_name, $player_html) // extract all relevant statements within that block // wm.vY(a,1); - if (preg_match_all('/([a-z0-9$]{2})\.([a-z0-9]{2})\([^,]+,(\d+)\)/i', $js_code, $matches) != false) { + // Mx["do"](a,12) + if (preg_match_all('/([a-z0-9$]{2})[.\[]([a-z0-9"]+)]?\([^,]+,(\d+)\)/i', $js_code, $matches) != false) { // wm $obj_list = $matches[1];