TinyPortal
Development => Feedback => Topic started by: KırkAyak on May 07, 2008, 11:07:05 PM
site: thenoob.info
there is an error that i take only on internet explorer(ff and opera work fine)
i think it is about "Auto Embed Video Clips" becouse videos that linked from youtube etc works fine in firefox and opera but cant see video screen in internet explorer.
http://img509.imageshack.us/img509/7982/hataoc2.jpg
i checkt admin panel for error code and found the line that gives the error ın subs.php
Quote
8: Undefined index: height
Source: /var/www/vhosts/thenoob.info/httpdocs/Sources/Subs.php
line: 2709
Quote
// NOW DO THE MAGIC, CONVERT THOSE LINKS IN MESSAGES TO AUTOMATICALLY EMBED THE VIDEOS
foreach($embed as $id => $arr) {
if($arr['enabled']) {
// BUILD THE <OBJECT> FOR EACH VIDEO SITE
$object = '<object' .
' codebase="'.(empty($arr['codebase']) ? 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' : $arr['codebase'] ) .'" '.
( empty($arr['classid']) ? '' : 'classid="'.$arr['classid'].'"' ) .
' type="'. (empty($arr['type']) ? 'application/x-shockwave-flash' : $arr['type'] ) .'" '.
( empty($arr['embedlink']) ? '' : 'data="'.$arr['embedlink'].'"' ) .
' width="'.$arr['width'].'px" height="'.$arr['height'].'px"'.
'<param name="movie" value="'.$arr['embedlink'].'" />'.
'<param name="wmode" value="transparent" />'.
'<param name="allowScriptAccess" value="never" />'.
( empty($arr['extraparams']) ? '' : $arr['extraparams'] ) .
'<param name="pluginspage" value="'.( empty($arr['pluginspage']) ? 'http://www.macromedia.com/go/getflashplayer' : $arr['pluginspage'] ) .'">'.
'</object>';
thanks for your helps
Please seek help at SMF for the mod you are using.
Thanks.