centering video

Home Support Themes Forum centering video

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49336
    Gail Crawford
    Participant

    I am using a script to add a video to the website. Where in the script do I put alignment: “center” As I would like the video to be centered not to the right like it currently is.

    I am using script to add a video to website. Where in script do I put alignment: “center” As I would like the video to be centered not to the right like it currently is.

    #49339
    FlyThemes
    Keymaster

    Hi

    Kindly send us the page URL so we can check and help you.

    Thank You

    #49344
    Gail Crawford
    Participant

    not open yet. still unpublished

    #49345
    Gail Crawford
    Participant

    script type=”text/javascript” src=”//player.wowza.com/player/latest/wowzaplayer.min.js”/script

    div id=”playerElement” style=”width:896px; height:504px; padding:0;”/div

    script type=”text/javascript”
    WowzaPlayer.create(“playerElement”,{
    “license”:”PLAY1-eBebJ-RkdZy-N66R4-kKJan-UdUwW”,
    “title”:””,
    “description”:””,
    “sourceURL”:”http%3A%2F%2F5ab29cc78f681.streamlock.net%3A443%2FFlexxfm%2Flivestream%2Fplaylist.m3u8″,
    “autoPlay”:false,
    “volume”:”75″,
    “mute”:false,
    “loop”:false,”audioOnly”:false,”uiShowQuickRewind”:true,”uiQuickRewindSeconds”:”30″});/script

    #49346
    FlyThemes
    Keymaster

    Hi

    Try to add this css to css file.

    #playerElement{margin: o auto; text-align:center;}

    Thank You

    #49347
    Gail Crawford
    Participant

    where would be the best place to add that additional CSS in the original file. because when I add to end or additional it does not center. also should I be removing the #?

    #49355
    FlyThemes
    Keymaster

    Hi

    Do not remove the #.
    But if it still not centering then we need to check the css comes with the video tag.

    Thank You

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