You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  Saturday, 14 January 2023
  11 Replies
  250 Visits
Hello Ryan
I want to insert a square (YouTube) video in my article. In backend I set 700x700 px dimensions and it looks ok (see the attachment).
In frontend, since the responsive widget is active, it appears instead as a classic horizontal YouTube video: https://www.awand.org/cos-e-awand
What settings should I use to see it square also in frontend?
Thanks.
2 weeks ago
·
#112804
Accepted Answer
What settings should I use to see it square also in frontend?


In the Responsive Widget plugin parameters (System -> Manage -> Plugins), you can set the display to be Full Width (as it is on your site now), or when this option is disabled, the actual size of the video will be used, but will still be responsive.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

2 weeks ago
·
#112804
Accepted Answer
What settings should I use to see it square also in frontend?


In the Responsive Widget plugin parameters (System -> Manage -> Plugins), you can set the display to be Full Width (as it is on your site now), or when this option is disabled, the actual size of the video will be used, but will still be responsive.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

ant selected the reply #112804 as the answer for this post — 2 weeks ago
2 weeks ago
·
#112807
Thanks.
2 weeks ago
·
#112821
Hi Ryan, sorry to reopen this question but after I disabled the Full Width in Responsive Widget the iFrame I inserted in another page became a narrow strip, I can't set a height either in percentage or using "auto" or in pixels.
Schermata 2023-01-18 alle 09.31.02.png
2 weeks ago
·
#112822
Do you have Responsive Widgets 1.0.27 installed? - https://github.com/widgetfactory/wf_responsive_widgets/releases

Just because you're not paranoid doesn't mean everybody isn't out to get you.

2 weeks ago
·
#112823
Yes, 1.0.27
2 weeks ago
·
#112826
Please post a link to the page you are seeing the issue on.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

2 weeks ago
·
#112828
https://www.awand.org/test-iframe

for testing, I have inserted 3 iframe:

width="100%" height="auto"

width="900" height="100%"

width="100%" height="100%"
2 weeks ago
·
#112829
There is no such thing as 100% height on an iframe, unless the container the iframe is in has a set height.

For these iframes, you must set a height value, as they are not media sources (eg: Youtube), where the height can be calculated based on a standard ratio.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

2 weeks ago
·
#112831
Sorry,

now they are

height="700"
height="700px"
height="900px"

but they are a narrow strip still.
2 weeks ago
·
#112850

Just because you're not paranoid doesn't mean everybody isn't out to get you.

2 weeks ago
·
#112852
It's ok, thanks.
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!