display problem with ie8, 7, 6

4 views
Skip to first unread message

Hariorama

unread,
Oct 26, 2009, 7:53:47 AM10/26/09
to px junkie
my site is not showing up properly with ie8, 7, 6 with jwplayer
activated.

has anyone a solution?

http://tierschutznews.ch

wrerm

unread,
Oct 31, 2009, 1:54:07 AM10/31/09
to px junkie

Hariorama

unread,
Oct 31, 2009, 2:56:35 AM10/31/09
to px junkie
problem solved. the player must load at the end of the site buildup.
now it works also with IE on my site. thanks for the input.

On Oct 31, 6:54 am, wrerm <gabrecame...@gmail.com> wrote:
> the player shows fine in IE6 & IE7. Unfortunately, I cannot get and
> IE8 screenhsot
>
> * screenshots *
> ie6 -http://picasaweb.google.com/lh/photo/WT-vIp7Yhi2_9XyB4aql1g?authkey=G...
> ie7 -http://picasaweb.google.com/lh/photo/ZaZbIyDzk7SPG9tCPPfagQ?authkey=G...

Jim Blair

unread,
Nov 4, 2009, 9:35:55 AM11/4/09
to px junkie
Hi, how did you get the player to load at the end?
> > ie7 -http://picasaweb.google.com/lh/photo/ZaZbIyDzk7SPG9tCPPfagQ?authkey=G...- Hide quoted text -
>
> - Show quoted text -

Hariorama

unread,
Nov 4, 2009, 10:04:18 AM11/4/09
to px junkie
file mod_jwmedia.php :



<?php


// no direct access
defined('_JEXEC') or die('Restricted access');


// include the helper file
require_once(dirname(__FILE__).DS.'helper.php');


// variables
$autostart = $params->get("autostart");
$baseurl = JURI::base();
$bgcolour = $params->get("bgcolour");
$buffer = $params->get("buffer");
$control = $params->get("control");
$displayclick = "";
$errormsg = "You must have <a href='http://www.macromedia.com/go/
getflashplayer'>Flash Player</a> installed in order to see this
player.";
$filename = $params->get("filename");
$filetype = $params->get("filetype");
$fntcolour = $params->get("fntcolour");
$fullscreen = $params->get("fullscreen");
$height = $params->get("height");
$hovercolour = $params->get("hovercolour");
$icons = $params->get("icons");
$image = $params->get("image");
$linktarget = "";
$logo = $params->get("logo");
$modurl = $baseurl .'modules/mod_jwmedia/';
$playlist = $params->get("playlist");
$playlistsize = $params->get("playlistsize");
$repeat = $params->get("repeat");
$shuffle = $params->get("shuffle");
$skin = $params->get("skin");
$smoothing = $params->get("smoothing");
$streamurl = $params->get("streamurl");
$stretching = $params->get("stretch");
$suffix = $params->get("moduleclass_sfx");
$transparency = $params->get("wmode");
$volume = $params->get("volume");
$width = $params->get("width");


// new player object
$player = new jwplayer();
$player->filepath = $modurl;
$player->kindOfFile = $filetype;
$player->rootfolder = $baseurl;
$player->suffix = $suffix;
$player->stream = $streamurl;

echo "<div id='jwplayer$suffix'>$errormsg</div>";
echo "<script type='text/javascript' src='" . $modurl .
"swfobject.js'></script>";
echo "<script type='text/javascript'>";

// amoTools start of hack: Adding Event for building Playerobject
(for IE compatibility)
echo "window.addEvent('domready', function amoInit(){";
//amoTools end of hack

echo "var so$suffix = new SWFObject('" . $modurl ."player.swf',
'ply','" . $player->width($width) . "','" . $player->height($height) .
"','9');";
echo "so$suffix.addParam('allownetworking','all');";
echo "so$suffix.addParam('allowscriptaccess','always');";
echo $player->wmode($transparency);
echo $player->fullscreen($fullscreen);
echo $player->autostart($autostart);
echo $player->bufferlength($buffer);
echo $player->controlbar($control);
echo $player->displayclick($displayclick);
echo "so$suffix.addVariable('frontcolor','" . $player->setfontcolour
($fntcolour) . "');";
echo $player->icons($icons);
echo $player->image($image);
echo "so$suffix.addVariable('lightcolor','" . $player->sethovercolour
($hovercolour) . "');";
echo $player->linktarget("");
echo $player->logo($baseurl,$logo);
echo $player->playfile($filename);
echo $player->playlist($playlist);
echo $player->playlistsize($playlistsize);
echo $player->repeat($repeat);
echo "so$suffix.addVariable('screencolor','" . $player->setbgcolour
($bgcolour) . "');";
echo "so$suffix.addVariable('backcolor','" . $player->setbgcolour
($bgcolour) . "');";
echo $player->shufflefile($shuffle);
echo $player->skin($skin);
echo $player->smoothing($smoothing);
echo $player->stretching($stretching);
echo $player->volume($volume);
echo "so$suffix.write('jwplayer$suffix');";

// amoTools start of hack: Adding Event for building Playerobject
(for IE compatibility)
echo "});";
//amoTools end of hack

echo "</script>";


?>
> > > ie7 -http://picasaweb.google.com/lh/photo/ZaZbIyDzk7SPG9tCPPfagQ?authkey=G...Hide quoted text -

pakfish

unread,
Nov 5, 2009, 7:38:45 PM11/5/09
to px junkie
Well that brought the white page of site death in Firefox. Thanx
anyway. Any other ideas anyone?

On Nov 4, 7:04 am, Hariorama <sonnt...@gmail.com> wrote:
> file mod_jwmedia.php :
>

pakfish

unread,
Nov 21, 2009, 4:52:39 PM11/21/09
to px junkie
Well I someone help get this is egg of my face

THANK YOU
Hariorama I can't believe I missed some thing so simple as the damn
comments on one line, and I know better ARRGHHHHHH!!!!! Anyway all is
well, thanks again

Kido

unread,
Nov 28, 2009, 12:51:24 PM11/28/09
to px junkie
This definitely worked. Also in some cases, the error can be due to
conflicts with other modules, components or plugins on the page. For
me, the problem was ultimately solved when I fixed a slideshow
component on the page. The rest of the site was working alright in IE.
Reply all
Reply to author
Forward
0 new messages