Home › Forums › Weaver Xtreme Theme › Youtube player
- This topic has 18 replies, 4 voices, and was last updated 8 years, 4 months ago by
Alexander.
-
AuthorPosts
-
June 3, 2015 at 21:29 UTC #17841
Alexander
ParticipantHello,
Sorry for offtopic but I need your help. I embeded youtube video with shortcode.
And I want to make rounded corners of player. The way I used before did not work now.Thanks
June 3, 2015 at 22:09 UTC #22401scrambler
ModeratorPlease provide a link to your site so we can test on the actual page setup !
June 3, 2015 at 22:20 UTC #22402Alexander
ParticipantFirst of all I need rounded corners of the video player.
Secondly I want video player float left and text wrap on the right.Thanks
June 3, 2015 at 23:34 UTC #22403scrambler
ModeratorAdd the rule below in Main options > Fonts & Custom > Custom CSS Rule box
.wvrx-youtube iframe {border-radius:10px;}
June 3, 2015 at 23:49 UTC #22404Alexander
ParticipantThank you.
It works for rounded corners.I added
.wvrx-youtube iframe {border-radius:15px; float:left;}
but player did not float left and text did not wrap.
June 4, 2015 at 00:09 UTC #22405scrambler
ModeratorThis is not where the float would go.
What is your exact shortcode right now?
June 4, 2015 at 00:18 UTC #22406Alexander
Participant.wvrx-youtube iframe {border-radius:15px; float:left;}
Then I use mozila firefox I have rounded corners but with chrome and safary then I press “play” corners became square.
June 4, 2015 at 00:23 UTC #22407scrambler
ModeratorNo not the rule, the rule should only be
.wvrx-youtube iframe {border-radius:15px;}
But the weaver youtube shortcode you use to display the video [youtube id=xxxx] I need to see all the options you have in there
June 4, 2015 at 00:39 UTC #22408Alexander
Participant[youtube id=eOl6zxvPVQs sd=0 percent=50 rel=1 https=0 privacy=0 'autohide' = '1']
June 4, 2015 at 00:43 UTC #22409scrambler
ModeratorYou need to use the rule below
.wvrx-youtube {width:100%;float:left;margin-right:10px;}
June 4, 2015 at 01:02 UTC #22410Alexander
ParticipantI tried but margin-right does not work.
June 4, 2015 at 01:09 UTC #22411scrambler
ModeratorYou need to add center=0 to prevent the centering rule, and you may want o add important
[youtube id=eOl6zxvPVQs sd=0 percent=50 rel=1 https=0 privacy=0 'autohide' = '1' center=0]
and you forgot the width:100% which is essential or else the video does not show (at least on IE)
.wvrx-youtube {width:100%;float:left;margin-right:10px !important;}
June 4, 2015 at 01:32 UTC #22412Alexander
ParticipantThank you.
In mozila firefox everything works fine.
I am trying to solve the problem with safary and chrome.June 4, 2015 at 04:22 UTC #22413scrambler
ModeratorWhat problem are you taking about?
June 4, 2015 at 04:56 UTC - Views: 3 #22414Alexander
ParticipantChrome:
When press “play” corners became square.
Safari 5.1.7 (Win):
When browser start rendering at first appears black rectangle with rounded corners
then appears thumbnails of the video with square corners.June 4, 2015 at 05:28 UTC - Views: 2 #22415Gillian
ModeratorI tested the rounded corners CSS on a video on one of my sites and I experience the same issue as @Alexander when using Chrome. Pity, because I like the rounded look as well.
-
AuthorPosts
- You must be logged in to reply to this topic.