Title: [Plugin: wordTube] Default width
Last modified: August 19, 2016

---

# [Plugin: wordTube] Default width

 *  [vatrik](https://wordpress.org/support/users/vatrik/)
 * (@vatrik)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordtube-default-width/)
 * Hi!
 * Is it possible to make change somewhere in the code so that default size is my
   own – not 320 x 240. So I don`t have to change size on each video I have already
   posted. Because when I change default size in wordTube options it will apply 
   only to videos I post in future, not on videos I have already posted.
 * Thanks in advance

Viewing 1 replies (of 1 total)

 *  [furehead](https://wordpress.org/support/users/furehead/)
 * (@furehead)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordtube-default-width/#post-1025875)
 * in Version 2.2.2 the problem still exists, because the height/width is written
   into the database on every upload through add media=>wordtube.
 * Fixed it for me by changing the following code in file
    **wordtube/admin/functions.
   php**
 * **line 83-84:**
 *     ```
       $act_width = 0; // change from 320 to 0
       $act_height = 0; // change from 240 to 0
       ```
   
 * **line 93-94: (add doubleslashes to those lines or delete them)**
 *     ```
       //	if ($act_height < 20 ) $act_height = 20 ;
       //	if ($act_width == 0 ) $act_width = 320 ;
       ```
   
 * Then the default values set in the options menu will be taken.
 * Strange why this problem is still in the code.
 * Be aware that I did not test properly therefore I am sure there will be side-
   effects with other filetypes or whatever. But for .flv movies this works in the
   normal player.
 * For existing videos you have to edit the database entries for every video and
   change width/height to 0. then the default settings will be used instead of the
   database entries.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: wordTube] Default width’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [furehead](https://wordpress.org/support/users/furehead/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordtube-default-width/#post-1025875)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
