srs icon indicating copy to clipboard operation
srs copied to clipboard

fix empty img tag occupy 20px size in safari.

Open suzp1984 opened this issue 1 year ago • 1 comments

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

suzp1984 avatar Apr 17 '24 01:04 suzp1984

I guess the //ossrs.net/gif/v1/sls.gif?site=ossrs.net&path=/console/enindex is used for statistics & analysis purpose. but pls pay attention to the path, for some one may not so match with its real path.

e.g. https://github.com/ossrs/srs/blob/427104f1dab86f5afc7d7b49b02ed27d03ef9346/trunk/research/console/ng_index.html#L23 https://github.com/ossrs/srs/blob/427104f1dab86f5afc7d7b49b02ed27d03ef9346/trunk/research/players/srs_gb28181.html#L31 https://github.com/ossrs/srs/blob/427104f1dab86f5afc7d7b49b02ed27d03ef9346/trunk/research/players/whep.html#L19 https://github.com/ossrs/srs/blob/427104f1dab86f5afc7d7b49b02ed27d03ef9346/trunk/research/players/whip.html#L19

suzp1984 avatar Apr 17 '24 01:04 suzp1984