mediawiki-extensions-EmbedVideo icon indicating copy to clipboard operation
mediawiki-extensions-EmbedVideo copied to clipboard

If the width is narrow, the problem is that the video comes up on the table or template

Open gaon12 opened this issue 2 years ago • 10 comments

Describe the bug If the image is on the left, if the table or template is on the right, the browser is smaller in size or the width is short due to resolution, it will invade the area.

Screenshots image

Technical information:

  • OS: [e.g. iOS] Windows 11 Pro
  • Browser [e.g. chrome, safari] Chrome
  • Extension Version [e.g. 22] v3.1.0
  • MediaWiki Version [e.g. 1.35.0] 1.39.1
  • Host type [e.g. shared hosting] VPS(Ubuntu Server 20.04 LTS), Apache2, PHP7.4

Additional context Please let me know if you need any additional information.

gaon12 avatar Dec 24 '22 03:12 gaon12

would be great if the default was some sort of max width respecting the size of the parent element

rebastion avatar Jan 19 '23 06:01 rebastion

When I set the default width value, if the setting exceeds enough to invade other elements, I wish extension could automatically resize it to the extent that it does not invade other elements.

gaon12 avatar Jan 19 '23 07:01 gaon12

image

There's another problem. Press the play button to overlap the element on the right and overlap the element below.

gaon12 avatar Jan 19 '23 07:01 gaon12

Thanks for the report! Do you have a shareable live setup where we can see this error?

octfx avatar Jan 19 '23 07:01 octfx

@octfx Sure! Here is a link : https://www.gaonwiki.com/w/Tokyo_Winter_Session (Korean)

gaon12 avatar Jan 19 '23 09:01 gaon12

@gaon12 this should be fixed in the upcoming release :)

octfx avatar Jan 27 '23 16:01 octfx

It should be fixed in 3.2.0.

alistair3149 avatar Jan 27 '23 18:01 alistair3149

@alistair3149 I apply latest commit(f805da3a8f4eb28dc6b8545ca6daad8801d31231), and remove page cache, but it doesn't work.

gaon12 avatar Feb 04 '23 14:02 gaon12

Could you try adding |autosize?

octfx avatar Feb 04 '23 14:02 octfx

@octfx I try add |autosize but it doesn't work.

1.<youtube>IR99DA8KEGU</youtube> image

  1. {{#ev:youtube|IR99DA8KEGU|autosize}} image

  2. {{#ev:youtube|IR99DA8KEGU|autoresize=true}} image

gaon12 avatar Feb 05 '23 01:02 gaon12