Announcement

Collapse
No announcement yet.

Video issues, black bars and too small

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Video issues, black bars and too small

    Hi,

    On vBulletin 5.5.0 by using the BBcode by default, videos are inserted with two black bars, videoz are too small by default.

    How to remove the black bars and how to increase the size?
    Attached Files
    Last edited by lange; Thu 7th Feb '19, 7:17pm.

  • #2
    The black bars appear when you're using a different aspect ratio from 16:9 such as 4:3

    There are no black bars on your linked video when I view it which means it's most likely your TV resolution that is causing the issue.

    Comment


    • #3
      I know that.

      The original videos on Vimeo & Youtube are already in 16: 9. They should be in 16:9 by default on vBulletin 5.5.0 too.

      How to fix that?

      How to increase the size to 800 x 450 px in 16: 9?

      An alternative?
      Last edited by lange; Thu 7th Feb '19, 7:18pm.

      Comment


      • #4
        Originally posted by lange View Post
        I know that.

        The original videos on Vimeo & Youtube are already in 16: 9. They should be in 16:9 by default on vBulletin 5.0.5 too.

        How to fix that?

        How to increase the size to 800 x 450 px in 16: 9?

        An alternative?
        On most videos if you right-click on the video and copy the embed code you can edit the dimensions manually. This is the YouTube embed code from your video.

        The problem is you need to maintain the aspect ratio to avoid distortion and that 1903 / 797 is not a normal aspect ratio. It would scale down to 800 X 335.

        <iframe width="1903" height="797" src="https://www.youtube.com/embed/YVzGL3c5SoA" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

        Comment


        • #5
          I know that too.

          The question is how do these two things (black bars and size) with settings inside vB 5.5.0?

          If I understand you, there is no setting and we must encode the videos ourselves in vB 5.5.0. Is that right?
          Last edited by lange; Thu 7th Feb '19, 7:18pm.

          Comment


          • #6
            The quickest solution is to get rid of the black background color and border.
            Code:
            .linkcontainer .videocontainer .videothumbnail,
            .post-content .videocontainer .videothumbnail,
            .OLD__post-content .videocontainer .videothumbnail {
                border: 0;
                background: none;
            }
            The size is still the same but it's not noticeable. See screenshot below:


            GIPHY for vB5 AutoLinker Social Icons in Postbit Audio Player Clear Cache Cron DragDrop Upload Topic AutoUpdate Force Read Stop Links in Posts ...and more!

            Comment


            • In Omnibus
              In Omnibus commented
              Editing a comment
              Thanks, Glenn. I guess I only half understood the question. So, I only half answered it.

          • #7
            @ Glenn, thank you very much, I saw your code somewhere yesterday. Also, I have to say you are a talented developer, your forum proves it !


            Anyway, my anger, my frustration has fallen now.

            Im just starting with 5.5.0, I'm familiar with 3.8.11 only. I have just made my first video test one hour ago and ...I saw this little image, it's a very unpleasant surprise !!

            I guess it's thought like that for the responsive aspect of 5.5.0

            In Omnibus, thank you very much for your hint!!

            Best Regards
            @ +++
            Last edited by lange; Thu 7th Feb '19, 7:19pm.

            Comment

            Related Topics

            Collapse

            Working...
            X