1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Videos in Signature

Discussion in 'Styling and Customization Questions' started by presidentYT, Feb 27, 2013.

  1. presidentYT

    presidentYT Member

    Ok I've used the search function and have looked all over the site.. but I haven't found an answer yet..

    I'm curious if it's possible to have a video in the sig, like a youtube video but have it be a different size from the default settings..

    Like if you post a video in the post.. it may be set to be 500x250

    But I would want the sig to be 200x150...
    Is this possible..
     
  2. 0xym0r0n

    0xym0r0n Well-Known Member

    It's possible but I wouldn't suggest it. I think it could cause a lot of lag... Why not grab a thumbnail of the image and when click it will go to the video?
     
  3. presidentYT

    presidentYT Member

    I'm not really worried about the lag.. just curious how to set this up.. I tried setting restrictions for the sig to limit media size.. the only problem was that the video would stay normal size in the restriction.. so it would be 500xwhatever in a 140x250 box, making the video not playable
     
  4. 0xym0r0n

    0xym0r0n Well-Known Member

    You should probably paste the code you used so we can investigate :)
     
  5. presidentYT

    presidentYT Member

    I've tried a few variations of this.. I even tried to add . .bbCodeMedia ... not working so far
    Code:
    .message .signature {
    max-height: 150px;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    }
     
  6. 0xym0r0n

    0xym0r0n Well-Known Member

    Well this specifically controls the signature area itself, not the content within. You'll have to write an extra few elements to control images and embedded content.

    This may not be correct but to control the embedded objects (embed, iframe, object, media, etc)
    .message .signature .embed {
    width: 300px !important;
    height: 150px !important; }

    and for images
    .message .signature .img {
    max-width: 500px;
    max-height: 150px;
    }
     
  7. presidentYT

    presidentYT Member

    ok thanks.. ill tray that out and see how it works..
     
  8. presidentYT

    presidentYT Member

    Yeah that didn't affect the media at all.. .embed had zero impact
     
  9. EQnoble

    EQnoble Well-Known Member

    In EXTRA.css

    Code:
    .signature iframe {
        height: 150px !important;
        width: 267px !important;
    }
    users can then align the video with bbcode controls in the editor
     
    Dennis B, DRE and 0xym0r0n like this.
  10. 0xym0r0n

    0xym0r0n Well-Known Member

    Well embed may not be the correct element/id/class whatever for the youtube video. You can use firebug to figure that out.

    Maybe it's .iframe isntead of .embed

    -edit -
    Someone beat me to it.
     
    EQnoble likes this.
  11. presidentYT

    presidentYT Member

    Awesome..that did the trick..
    I appreciate all the help you have give.. thanks bro
     
    0xym0r0n and EQnoble like this.
  12. EQnoble

    EQnoble Well-Known Member

    welcome to the spot
     
    8thos likes this.
  13. DRE

    DRE Well-Known Member

    EQnoble you are the bomb man
     
  14. DRE

    DRE Well-Known Member

    lmao this don't work. it won't play the video if its too small.
     
  15. EQnoble

    EQnoble Well-Known Member

    Hmmm...it plays for me....
    Untitled.png
     
  16. presidentYT

    presidentYT Member

    Yeah it works fine for me as well
     
  17. presidentYT

    presidentYT Member

    Just one more question.. is it possible to have restrictions for media in the side bar as well?
     
  18. presidentYT

    presidentYT Member

    Ha i figured it out.. not to hard..
    Code:
    .signature iframe {
        height: 150px !important;
        width: 267px !important;
    }
     

Share This Page