can not reduce width of the youtube player

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Jul 12, 2015 8:23 pm
Reply with quote
Report this post
Hi,

http://krosfit.stronazen.pl/index.php/o ... t-crossfit

I trying to align youtube player into the text. I even put in on the table, but no effect. I also try to override css in this code (change 100% to "auto" in width and height) but no effect.

Code: Select all
.fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}


How to make video player more flexible and move it to right align into text?
User avatar
Expert Boarder

GK User
Mon Jul 13, 2015 6:42 am
Reply with quote
Report this post
The player rescales correctly as it should. Could you please be more specific?
User avatar
Moderator

GK User
Tue Jul 14, 2015 8:29 am
Reply with quote
Report this post
No, the player doesn't rescales. I would like to gain effect like this - http://www.reebokcrossfitpoznan.com/o-n ... -crossfit/
with player alignment to right.

But, if i change width in <iframe> tag it doesn't makes effect. Despite of 75%, 50% etc. the player still has 100% wide.
User avatar
Expert Boarder

GK User
Tue Jul 14, 2015 3:20 pm
Reply with quote
Report this post
What browser (version), what OS? It works ok in my browsers.
User avatar
Moderator

GK User
Tue Jul 14, 2015 3:25 pm
Reply with quote
Report this post
Probably you didn't readed carefully:
i would like effect with video with right alignment like here - http://www.reebokcrossfitpoznan.com/o-n ... -crossfit/
But i have problem on my website with player scaling - http://krosfit.stronazen.pl/index.php/o ... t-crossfit

My problem is in both ways:
1) i set the width in <iframe> tag - no effect
2) i override width in css override - i have posted it above

:)
Thank you for help
User avatar
Expert Boarder

GK User
Thu Jul 16, 2015 1:17 pm
Reply with quote
Report this post
On mentioned site video player also resizes (when screen size is smaller).
What you see with bigger screens are css media quries deciding whenever to have 1 or 2 columns.
User avatar
Moderator


cron