mirror of https://github.com/ossrs/srs.git
Player: Fix empty img tag occupy 20px size in safari. v6.0.142 (#4029)
the html img tag occupy 20px size in safari.
427104f1da/trunk/research/players/rtc_player.html (L19)
> <img width="1011" alt="Screenshot 2024-04-17 at 9 17 07 AM"
src="https://github.com/ossrs/srs/assets/2757043/79a4edf8-5bbf-4300-8817-039088f13283">
(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.
> <img width="608" alt="Screenshot 2024-04-17 at 9 46 33 AM"
src="https://github.com/ossrs/srs/assets/2757043/40cb2eb6-3a6d-4bb7-9b17-51c5fd6d2272">
---------
`TRANS_BY_GPT4`
---------
Co-authored-by: winlin <winlinvip@gmail.com>
pull/4115/head
parent
eb788a62ad
commit
3e1a4e4439
Loading…
Reference in New Issue