mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
update the srs player, set the DAR.
This commit is contained in:
parent
11cd5c640f
commit
190540683a
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
}
|
||||
srs_player.on_player_metadata = function(metadata) {
|
||||
$("#btn_dar_original").text("视频原始比例" + "(" + metadata.width + ":" + metadata.height + ")");
|
||||
srs_player.dar(0, 0);
|
||||
return 0;
|
||||
}
|
||||
srs_player.start();
|
||||
|
|
Loading…
Reference in a new issue