efsyn.gr: cropped video embeds

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2894
Joined: 2012-08-19, 20:32

efsyn.gr: cropped video embeds

Unread post by back2themoon » 2025-05-16, 19:18

https://www.efsyn.gr/periballon/472639_ ... ys-polites

Scroll a bit down, you should see two video embeds. They are cropped and cannot really be handled/played properly:
crop1.png
crop2.png
crop3.png
Perhaps this is aspect-ratio again...?
You do not have the required permissions to view the files attached to this post.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2406
Joined: 2018-05-05, 13:29

Re: efsyn.gr: cropped video embeds

Unread post by vannilla » 2025-05-16, 19:29

Yes, it's a CSS aspect-ratio issue. The videos are iframes inside a div element with that style rule.

Goodydino
Keeps coming back
Keeps coming back
Posts: 902
Joined: 2017-10-10, 21:20

Re: efsyn.gr: cropped video embeds

Unread post by Goodydino » 2025-05-16, 19:36

Controlled by Cloudflare. Will not even open.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2894
Joined: 2012-08-19, 20:32

Re: efsyn.gr: cropped video embeds

Unread post by back2themoon » 2025-05-16, 19:39

Strange. Never seen a single trace of Cloudflare on this website. Like, ever. And I do visit it often.

User avatar
Gemmaugr
Fanatic
Fanatic
Posts: 137
Joined: 2025-02-03, 07:55

Re: efsyn.gr: cropped video embeds

Unread post by Gemmaugr » 2025-05-16, 20:25

Can confirm both cloudflare gated and seeing two cropped boxes after allowing glomplayer.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37668
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: efsyn.gr: cropped video embeds

Unread post by Moonchild » 2025-05-16, 20:26

back2themoon wrote:
2025-05-16, 19:39
Strange. Never seen a single trace of Cloudflare on this website. Like, ever. And I do visit it often.
I was also presented with a turnstile page (it did pass for me, though). Definitely behind CF in "I'm under attack" mode
You do not have the required permissions to view the files attached to this post.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2894
Joined: 2012-08-19, 20:32

Re: efsyn.gr: cropped video embeds

Unread post by back2themoon » 2025-05-16, 20:37

Perhaps geolocation is a major factor with the CF checks you are getting? I assume same-country visitors are treated more... lightly. Makes some sense, I guess.

Anyway.

User avatar
adoxa
Lunatic
Lunatic
Posts: 426
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: efsyn.gr: cropped video embeds

Unread post by adoxa » 2025-05-17, 00:55

This userstyle fixes the height, but they didn't play for me, although it's entirely possible that's just me.

Code: Select all

@-moz-document domain("www.efsyn.gr") {
  .embedcode > div {
    height: calc(45vw * 9 / 16)
  }
}

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2894
Joined: 2012-08-19, 20:32

Re: efsyn.gr: cropped video embeds

Unread post by back2themoon » 2025-05-17, 08:37

Thank you as always, adoxa. Your fix works and videos play fine (player.glomex.com must be allowed).

Problems arise if you pause the video (by clicking inside the image or via seek bar button), and then try to resume playing. Audio resumes, but video is gone (blank image) and seek bar misbehaves. You have to refresh the page to get it back:
efsyn video.png
Using the seek bar to jump video positions (without pausing it) seems to work better. In any case, your fix is more than good enough.
You do not have the required permissions to view the files attached to this post.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2894
Joined: 2012-08-19, 20:32

Re: efsyn.gr: cropped video embeds

Unread post by back2themoon » 2025-05-25, 19:05

Hi there, adoxa. The above style creates a text overlap here:

https://www.efsyn.gr/kosmos/eyropi/4736 ... -oykranias
overlap.png
Any chance for a quick fix or is it getting too complicated to accommodate both issues? Never mind if it is - thanks.
You do not have the required permissions to view the files attached to this post.

User avatar
adoxa
Lunatic
Lunatic
Posts: 426
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: efsyn.gr: cropped video embeds

Unread post by adoxa » 2025-05-26, 00:41

Change it from div to div[style*=aspect-ratio].

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2894
Joined: 2012-08-19, 20:32

Re: efsyn.gr: cropped video embeds

Unread post by back2themoon » 2025-05-26, 13:29

Perfect, thank you. :thumbup: