mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
embed.js additional_info more short
Co-authored-by: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com>
This commit is contained in:
parent
2ae3b3e2e4
commit
bfba48af81
@ -78,8 +78,7 @@ function return_message(message,target_window){
|
||||
additional_info['value'] = add_value;
|
||||
}
|
||||
if(message.eventname==='error'){
|
||||
let add_value = {geterrorcode:player.error().code};
|
||||
additional_info['value'] = add_value;
|
||||
additional_info['value'] = {geterrorcode:player.error().code};
|
||||
}
|
||||
message = Object.assign(additional_info,message);
|
||||
let target_origin = url_params.get('origin');
|
||||
|
Loading…
Reference in New Issue
Block a user