Support for Envato Buyers Forums OldCar Video height on blog page

Viewing 26 reply threads
  • Author
    Posts
    • #10445
      DavidCollier
      Member

      I’m using the fluid grid setting on the blog/home page. I’ve put up several videos with the different width settings on the backend but all the videos end up the same height. The video width is fine but I’m ending up with small videos which have lots of black space above and below the video and large videos that only show part of the video.

      Stuff like this http://yourejustzealous.com/wp-content/uploads/2016/07/Screen-Shot-2016-08-01-at-00.38.37.png

    • #10448

      Hi

      Could I check your website that will make me clear? I need to check the layout by Chrome developer tool and see what’s wrong with it.

      Thanks

    • #10449
      DavidCollier
      Member
      This reply has been marked as private.
    • #10455

      Hi

      I improved oldcar.setup.js file, so you can download this changed file via https://www.dropbox.com/s/0e9t44qy3dwsip2/oldcar.setup.js.zip?dl=0 unzip it, and upload the js file to oldcar/js folder via FTP client, overwrite the old version.

      Thanks

    • #10458
      DavidCollier
      Member

      Thanks that work great. I’ve another question about the blocks as well. If you check out the site again there’s a block less than half way down called ‘Smacht Trailers’ which is being covered by another block.

    • #10459
      DavidCollier
      Member

      Actually there are several of these problems with the blocks overlapping each other on the blog page.

      Another question about the sing post pages. If I upload a video to the site with a dimension of greater than the width of the page it spills out over the size of the page. Is there a way to constrain the videos to the width of the page? I’m worried that less code familiar employees will use add posts with videos to the site which will only be partially viewable due to the width of the video. Here’s an example: http://yourejustzealous.com/st-patricks-amsterdam/

    • #10463

      Hi

      Could you post a screenshot to show the overlap issue? Because I checked it on Mac+Chrome/Firefox, it’s display as normal. Also, what’s browser you used? Or any steps I missed to reproduce the issue?

      For the video size issue, please try to add the following custom CSS into OldCar options > Custom Code > Custom CSS

      .blog-article-content iframe{
         max-width:100%;
         min-height:500px;
         height:auto;
      }

      Thanks

    • #10466
      DavidCollier
      Member

      That code worked great thanks.

      The overlap I’m referring to is this: http://yourejustzealous.com/wp-content/uploads/2016/08/Screen-Shot-2016-08-03-at-17.27.23.png
      In this screenshot the text underneath two of the videos is being hidden by the video below it.

      I’m also experiencing some large empty spaces between the blocks: http://yourejustzealous.com/wp-content/uploads/2016/08/Screen-Shot-2016-08-03-at-17.30.01.png

      I’m using Chrome ver. 51.0.2704.103

    • #10467

      Well, I see. It seems when the page or images was loaded slowly, the issue was produced. Now, I’m rewriting the masonry layout and I will let you know the solution later.

      Thanks

    • #10468

      Hi

      Please download this changed files, upload those files to your theme folder, overwrite the old files.

      https://www.dropbox.com/s/b39sp51lxh2tc8g/update20160804.zip?dl=0

      Thanks

      • #10469
        DavidCollier
        Member

        Hi John,

        I’m not sure if it’s worked as it doesn’t include all the posts that were on the homepage. The ones which are there are not overlapping but several of the ones which were there are now missing…

    • #10470

      Hi

      I want to check your settings in WP admin, but the account which you created for me is not admin role, it’s only a subscriber, so I can’t see those options in WP admin, could you change my account as administrator?

      Thanks

    • #10471
      DavidCollier
      Member

      I’ve updated it now.

    • #10472
      DavidCollier
      Member

      I’ve just changed the number of blog posts to show at any one time to 20 and all the posts are being displayed on the homepage again. Is it possible to make the posts displayed unlimited? Or some kind of page option so you can access older posts?

    • #10475

      Hi

      I found the reason. Because you have set the height of youtube iframe to ‘auto’, so when the new post loaded, the page can’t get the initial height of iframe, so please set the height of those iframe to 320 for wide box or 150 for narrow box in the future as below

      <iframe width="100%" height="320"...></iframe>

      I’ve already changed the height value of iframe for those published post and changed the number of posts to 9, now it seems working fine.

      Also, please upload this changed file to js folder once more, because I’ve improved the page loading speed. https://www.dropbox.com/s/0e9t44qy3dwsip2/oldcar.setup.js.zip?dl=0

      Thanks

    • #10492
      DavidCollier
      Member

      Hi, that seems to have solved the problem of the video on the homepage, but it’s causing the night of the videos to be extremely long on the individual posts, see: http://yourejustzealous.com/smacht-trailers/

      It’s not happening on all the posts but on the other posts the height of the clips is not in the correct ratio to the width of the video.

    • #10497

      Hi

      You can try to control the video width and height via your embed code

      <iframe height="400" width="720" src="https://www.youtube.com/embed/videoseries?list=PLwBzik7-yITbH5_dba2I1YhThErpAXSAQ&showinfo=0" frameborder="0" allowfullscreen></iframe>

      If you don’t want to the video width looks so long, you can just change width=”100%” to 720 or any other value you want.

      Check this again. http://yourejustzealous.com/smacht-trailers/

      Thanks

    • #10498
      DavidCollier
      Member

      Yes that’s true, but now the video thumbnail on the homepage is the wrong size. Is there anyway that both videos can be the right size in their respective containers?

    • #10499

      Strange, I checked the source code through chrome developer tool, I found your theme is different from the latest version of OldCar, the video wasn’t resized by javascript.

      Could I reinstall the theme after you backup the old theme?

    • #10506
      DavidCollier
      Member

      Sure!

      I’ve made a few changes to the code so maybe that’s causing it…

    • #10507
      DavidCollier
      Member

      The difference between the latest theme and the theme I have I mean. I was trying to solve the video height problem in the code

    • #10508

      Oh, if I reinstall the theme, all your changes will lost. So, could I continue to do that?

    • #10509
      DavidCollier
      Member

      Yes that’s ok.

    • #10512

      Hi

      I reinstalled my modified version of this theme, please check again.

      Thanks

    • #10514
      DavidCollier
      Member

      None of the videos are the right size now… Or is there something I’m missing?

    • #10519
    • #10521
      DavidCollier
      Member
    • #10522

      Different videos has different height, so in this theme, I only forced the width of video but the height is not fixed, you can define the height of video through change height=”…” param in iframe tag for each video just as my previous reply. Do I make sense?

      This is your embed code

      <iframe src="https://player.vimeo.com/video/178080870?title=0&byline=0&portrait=0" width="720" height="402" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

      You can control the video height through changing height value. I changed 402 to 300, please check, you will see the result after I redefine the height.

      Thanks

Viewing 26 reply threads
  • You must be logged in to reply to this topic.