Permalink
Browse files

Fixed whitespace in video_getEmbed that caused problems in IE

  • Loading branch information...
1 parent 9c96004 commit aff095a044724465364d399d03b7b70def22239c @ashrewdmint ashrewdmint committed Mar 19, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 phpviddler.php
View
@@ -434,9 +434,7 @@ function video_getEmbed($videoid=null,$type='player',$width=437,$height=370, $au
if (!$videoid) return false;
- $html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width=
-"'.$width.'" height="'.$height.'" id="viddlerplayer-'.$videoid.'"><param name="m
-ovie" value="http://www.viddler.com/'.$type.'/'.$videoid.'/" />';
+ $html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'.$width.'" height="'.$height.'" id="viddlerplayer-'.$videoid.'"><param name="movie" value="http://www.viddler.com/'.$type.'/'.$videoid.'/" />';
if ($autoplay) {
$options['autoplay'] = 't';
}

0 comments on commit aff095a

Please sign in to comment.