TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 269
  • Total: 269

error on explorer

Started by KırkAyak, May 07, 2008, 11:07:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

KırkAyak

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

Zetan

Please seek help at SMF for the mod you are using.

Thanks.

This website is proudly hosted on Crocweb Cloud Website Hosting.