From 3e1a4e443907c006f801537e59b531566be0d96d Mon Sep 17 00:00:00 2001 From: Jacob Su Date: Wed, 24 Jul 2024 11:20:56 +0800 Subject: [PATCH] Player: Fix empty img tag occupy 20px size in safari. v6.0.142 (#4029) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the html img tag occupy 20px size in safari. https://github.com/ossrs/srs/blob/427104f1dab86f5afc7d7b49b02ed27d03ef9346/trunk/research/players/rtc_player.html#L19 > Screenshot 2024-04-17 at 9 17 07 AM (ignore the img css warning: `auto\9;` it's another problem, I will file another PR.) but, the empty img tag just occupy 1px size in chrome. So I guess it's a html compatible problem. > Screenshot 2024-04-17 at 9 46 33 AM --------- `TRANS_BY_GPT4` --------- Co-authored-by: winlin --- trunk/doc/CHANGELOG.md | 1 + trunk/research/console/en_index.html | 2 +- trunk/research/console/ng_index.html | 2 +- trunk/research/players/rtc_player.html | 2 +- trunk/research/players/rtc_publisher.html | 2 +- trunk/research/players/srs_bwt.html | 2 +- trunk/research/players/srs_chat.html | 2 +- trunk/research/players/srs_gb28181.html | 2 +- trunk/research/players/srs_player.html | 2 +- trunk/research/players/srs_player_deprecated.html | 2 +- trunk/research/players/srs_publisher.html | 2 +- trunk/research/players/srs_publisher_flash.html | 2 +- trunk/research/players/vlc.html | 2 +- trunk/research/players/whep.html | 2 +- trunk/research/players/whip.html | 2 +- trunk/src/core/srs_core_version6.hpp | 2 +- 16 files changed, 16 insertions(+), 15 deletions(-) diff --git a/trunk/doc/CHANGELOG.md b/trunk/doc/CHANGELOG.md index 653c053a3..98747acfb 100644 --- a/trunk/doc/CHANGELOG.md +++ b/trunk/doc/CHANGELOG.md @@ -7,6 +7,7 @@ The changelog for SRS. ## SRS 6.0 Changelog +* v6.0, 2024-07-24, Merge [#4029](https://github.com/ossrs/srs/pull/4029): Player: Fix empty img tag occupy 20px size in safari. v6.0.142 (#4029) * v6.0, 2024-07-24, Merge [#4063](https://github.com/ossrs/srs/pull/4063): let http-remux ts stream support guess_has_av feature;. v6.0.141 (#4063) * v6.0, 2024-07-24, Merge [#4116](https://github.com/ossrs/srs/pull/4116): Dockerfile: Consistently use proper ENV syntax using "=". v6.0.140 (#4116) * v6.0, 2024-07-24, Merge [#4126](https://github.com/ossrs/srs/pull/4126): Edge: Improve stability for state and fd closing. v6.0.139 (#4126) diff --git a/trunk/research/console/en_index.html b/trunk/research/console/en_index.html index 45c6a43b4..fd45b31d3 100644 --- a/trunk/research/console/en_index.html +++ b/trunk/research/console/en_index.html @@ -20,7 +20,7 @@ - +