Home Forums Weaver Xtreme Theme Youtube player

Viewing 16 posts - 1 through 16 (of 19 total)
  • Author
    Posts
  • #17841
    Alexander
    Participant

    Hello,

    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 

    #22401
    scrambler
    Moderator

    Please provide a link to your site so we can test on the actual page setup !

    #22402
    Alexander
    Participant

    http://be.consultant.co.ua/

    First of all I need rounded corners of the video player.
    Secondly I want video player float left and text wrap on the right.

    Thanks 

    #22403
    scrambler
    Moderator

    Add the rule below in Main options > Fonts & Custom > Custom CSS Rule box

    .wvrx-youtube iframe {border-radius:10px;}

    #22404
    Alexander
    Participant

    Thank 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.

    #22405
    scrambler
    Moderator

    This is not where the float would go.

    What is your exact shortcode right now?

    #22406
    Alexander
    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.

    #22407
    scrambler
    Moderator

    No 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

    #22408
    Alexander
    Participant

    [youtube id=eOl6zxvPVQs sd=0 percent=50 rel=1 https=0 privacy=0 'autohide' = '1']

    #22409
    scrambler
    Moderator

    You need to use the rule below

    .wvrx-youtube {width:100%;float:left;margin-right:10px;}

    #22410
    Alexander
    Participant

    I tried but margin-right does not work.

    #22411
    scrambler
    Moderator

    You 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;}

    #22412
    Alexander
    Participant

    Thank you.

    In mozila firefox everything works fine.
    I am trying to solve the problem with safary and chrome.

    #22413
    scrambler
    Moderator

    What problem are you taking about?

    #22414
    Alexander
    Participant

    Chrome:

    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.

    #22415
    Gillian
    Moderator

    I 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.

Viewing 16 posts - 1 through 16 (of 19 total)
  • You must be logged in to reply to this topic.