video bbcode not adaptive

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cobra SA
    Senior Member
    • May 2007
    • 203

    video bbcode not adaptive

    hi,

    how can I make the video bbcode adaptive? like image bbcode?

    thanks
  • Paul M
    Former Lead Developer
    vB.Com & vB.Org
    • Sep 2004
    • 9886

    #2
    What do you mean by 'adaptive' ?
    Baby, I was born this way

    Comment

    • Cobra SA
      Senior Member
      • May 2007
      • 203

      #3
      Originally posted by Paul M
      What do you mean by 'adaptive' ?
      adaptive means the size of the image or video is dynamically adapted to the size of the browser window

      Comment

      • Cobra SA
        Senior Member
        • May 2007
        • 203

        #4
        after searching for a while I found a video wrapper code to add to additional.css, but that did not affect the video bbcode

        that works however if I use html video embedding code on a post, but I obviously can't allow any user to use html on posts, not to mention most users wouldn't know how to use it

        Comment

        • Cobra SA
          Senior Member
          • May 2007
          • 203

          #5
          bump

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74167

            #6
            There is no way to do this in the default system. You would have to update the video codes manually after putting the system in debug mode. You would have to go to each video service and see if they provide "responsive" alternatives.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • Replicant
              Senior Member
              • Sep 2014
              • 527

              #7
              I found this code for making the bbcode embedded videos work responsively. At least with youtube videos, that's all I have on my site to test with.
              Add to css_additional.css
              Code:
               .videocontainer {
                            position:relative;
                            padding-bottom:56.25%;
                            padding-top:30px;
                            height:0;
                            overflow:hidden; }
               .videocontainer iframe, .videocontainer object, .videocontainer embed {
                            position:absolute;
                            top:0;
                            left:0;
                            width:100%;
                            height:100%; }


              Comment

              • djbaxter
                Senior Member
                • Aug 2006
                • 1418
                • 4.2.5

                #8
                You could also enable Tapatalk. They do it automatically.
                Psychlinks Web Services Affordable Web Design & Site Management
                Specializing in Small Businesses and vBulletin/Xenforo Forums

                Comment

                Related Topics

                Collapse

                Working...