Title: video issues
Last modified: August 19, 2016

---

# video issues

 *  [magnusnordstrand](https://wordpress.org/support/users/magnusnordstrand/)
 * (@magnusnordstrand)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/video-issues/)
 * When I ad a video it doesn´t stay within the box but the preview image runs out
   over the boarder on the right hand side… It is like the grid belives the video
   fits in the smallest box and does not resize.
    Anyone who can help me with this?
 * Another problem is that when you click on the post (not the heading) the video
   starts playing, and the post remains unopened… is there anyway to stop this from
   happening?
    so the post wil open normally and then you can press play…
 * In advance – Thanks a lot!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/video-issues/#post-1368032)
 * A link to your site might help…
 *  Thread Starter [magnusnordstrand](https://wordpress.org/support/users/magnusnordstrand/)
 * (@magnusnordstrand)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/video-issues/#post-1368041)
 * Good point =)
 * [http://welovelight.com/](http://welovelight.com/)
 * Thanks for having look!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/video-issues/#post-1368049)
 * You’re currently trying to display a 400px wide video in a box that’s only 290
   px wide on your front/home page. In order to display these videos on your Home
   page, you’d need to extensively edit the relevant template in your theme (index.
   php?) and remove all of the absolute positioning so that the posts are no longer
   displayed side-by-side. You’d also need to edit your stylesheet and amend the
   width to 400px in:
 *     ```
       div.x1 {
       width:400px;
       }
       ```
   
 * If you don’t want videos to be display.played on the home page, you could edit
   the template and change `<?php the_content();?>` to `<?php the_excerpt();?>`.
 *  Thread Starter [magnusnordstrand](https://wordpress.org/support/users/magnusnordstrand/)
 * (@magnusnordstrand)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/video-issues/#post-1368078)
 * Thanks!
 * If i change <?php the_content();?> to <?php the_excerpt();?> will it display 
   images as normal, or will it alter that too?
 * I´m just wondering about the absolute positioning mentioned, does this apply 
   when the site is base on the Tanzaku theme: [http://wordpress.org/extend/themes/tanzaku](http://wordpress.org/extend/themes/tanzaku)
   
   where the layout is liquid and random. It also automatically scales the boxes
   into different sizes depending on the size of the content. With images it´s no
   problem, so why does it treat video differently?
 * the different box sizes and code are :
 * /* ———- Grid Items, Single Item and Comments ———- */
 * /* value = (width * n) + (15+15+5) * (n-1).
    * ex. * width=200 : 200, 425, 650,
   875 * width=250 : 250, 525, 800, 1075 * width=290 : 290, 615, 940, 1265 */ div.
   x1 { width: 290px; } div.x2 { width: 615px; } div.x3 { width: 940px; } div.x4{
   width: 1265px; }
 * div.grid-item,
    div.single-item { overflow: hidden; margin: 0 5px 5px 0; padding:
   15px 15px 30px 15px; border: 0; background-color: #ffffff;
 * Sorry if I am asking obvious and silly questions! My understanding of code is
   not to good…
 * Thanks again!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/video-issues/#post-1368132)
 * > If i change <?php the_content();?> to <?php the_excerpt();?> will it display
   > images as normal, or will it alter that too?
 * It won’t display images at all.
 * As for your Tanzaku theme question, I don’t know that theme, so all I can suggest
   is that you try it and see if it provides you with a more flexible display. The
   theme you are using at the moment is relatively inflexible if you have larger
   images or other media in the upper part of the posts.
 *  [Chris Billett](https://wordpress.org/support/users/chris-billett-2/)
 * (@chris-billett-2)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/video-issues/#post-1368337)
 * You’ll see why it doesn’t do video if you look in functions.php – there is a 
   lot of relatively complex code to grab the image and manipulate it. I would image
   that video embedding (and methods of doing so) are too varied for the various
   matches to extract, manipulate and rewrite embedded videos consistently.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘video issues’ is closed to new replies.

 * 6 replies
 * 3 participants
 * Last reply from: [Chris Billett](https://wordpress.org/support/users/chris-billett-2/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/video-issues/#post-1368337)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
