Closed (fixed)
Project:
Video Filter
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2008 at 03:08 UTC
Updated:
27 Mar 2008 at 17:14 UTC
When I updated the my Video Filter copy to 6.x-2, all my embeded videos resized much smaller than I liked, so:
Edit the following lines in your video_filter.module to resize the base values:
function video_filter_process($text, $format = -1) {
if (preg_match_all('/\[video(\:(.+))?( .+)?\]/isU', $text, $matches_code)) {
foreach ($matches_code[0] as $ci => $code) {
$video = array(
'source' => $matches_code[2][$ci],
'width' => variable_get('video_filter_width_'.$format, 200),
'height' => variable_get('video_filter_height_'.$format, 200),
'autoplay' => variable_get('video_filter_autoplay_'.$format, 0),
);to:
'width' => variable_get('video_filter_width_'.$format, 480),
'height' => variable_get('video_filter_height_'.$format, 480),
Comments
Comment #1
fokkezb commentedSet to 400x400 in last versions.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.