Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

LTAS and IE

17 replies [Last post]

Hi Longtail-Team,

I've set up a licensed Longtail video player 4.6 and the ltas plugin. In Firefox everything works fine and the Lontail PreRollAd is shown before the video actually starts.

Unfortunately I do not see the PreRoll Ad in Microsoft Internet Explorer (tested in IE7 and IE8). After the player has loaded, the video starts immediately without displaying any Ad before.

You can find the actual code on the following site: http://www.dresden-fernsehen.de/swf/flvplayer-4.6/dfvideo.htm

Has anyone a clue for me what the reason could be?
I do get an error in Firefox

Error: player.GetParentID is not a function
Source: http://www.ltassrv.com/Adsrv/js/LTASABD.js

but I do not know what the reason could be or how I could handle it.

Thanks in advance!

André

In your Dashboard account, turn off the automatic bug detector. Does that help?

Hi Ethan,

thanks a lot for your immediate reply. Unfortunately, it doesn't seem to help to turn off the ABD.

I still get a JS error in IE7/IE8 that states

Object doesn't support this property or method

or

'id' is null or a non-object

Testbed: http://www.dresden-fernsehen.de/swf/flvplayer-4.6/dfvideo.htm

Do you have any other idea what the reason could be?

Thanks a lot!

André

Thanks, we will investigate this issue.

Hi Ethan,

Today I found at least a possible reason for the problem in Internet Explorer.... maybe it will help you to identify the original problem.

I created the embed code using the EmbedCodeWizard of the AdSolution at http://dashboard.longtailvideo.com/AdSetupWizard/EmbedCodeWizard.ashx

The code I get there is

<div id="jwplayer1"></div>
<script type="text/javascript">
var so = new SWFObject('player.swf', 'jwplayer1', '400', '320', '8');
so.addParam('allowscriptaccess', 'always');
so.addParam('allowfullscreen', 'true');
so.addParam('wmode','transparent');
so.addVariable('plugins', 'ltas');
so.addVariable('ltas.cc', '...');
so.addVariable('width', '400');
so.addVariable('height', '320');
so.addVariable('file', 'video.flv');
so.write('jwplayer1');
</script>

By using Google to have a look on how other webmasters embed the JW Player on their website, I find another strange line of code that is not generated by the AdWizard:

<script language="JavaScript" src="http://www.ltassrv.com/serve/api5.4.asp?d=xxxxx&s=xxxxx&c=xxxxx&v=1"></script>

When I add this line to my testbed at http://www.dresden-fernsehen.de/swf/flvplayer-4.6/dfvideo.htm, the PreRoll Ads are also shown in Microsoft Internet Explorer 7 and 8.
So guess the player has a problem to download the script code itself, which works in Firefox but not in Internet Explorer actually.

Another question. Other publisher websites use plugings=ltas&channel=xxxxx to integrate the AdSolution. However, I got a parameter ltas.cc from the AdWizard and do not see any parameter called "channel" or "channelid". So I also do not know the id of the parameter that I have to pass to the LTAS Server API script when I embed it on my own.

I assume, Longtail changed the API behavior or API version some time ago. Can you help me out?

Hi Andre,

I replied to you via email about this, just making sure that you got it?

-Ethan

Hi Ethan,

yes I got your email, thanks a lot. I posted the issue also in the forum in case other users also have a similar problem.

André

Np

Hi Ethan,

I am also having the same issue.Even i added that last line also it is giving error.

Object does not support this property or method.

Please help on this ASAP.

Thanks,
Srividya

i am haveing the same issue ,please help me ,thank you
test url:http://www.wohoops.com/ad.html

Message: 'id' is null or a non-object行: 1
字符: 5612
代码: 0
URI: http://www.ltassrv.com/Adsrv/js/LTASLib.js

This works fine for me in IE, have you fixed the issue?

I'm Also facing the same issue on IE 8, Kindly help me out.

@Muhammad Tanzeem - Please provide a link.

Hi, I too am having an issue with IE at www.the-crunch.com

No ads being shown and getting following error:

Message: 'id' is null or not an object
Line: 1
Char: 5612
Code: 0
URI: http://www.ltassrv.com/Adsrv/js/LTASLib.js

Everything works perfectly with firefox.

Can you help?

Here is a link to an actual video where issue can be observed:

http://www.the-crunch.com/view/3963/zumba-fitness-w-elena-hip-hop/

Thanks.

Change this code:

<p id="vshare_player">
    <a href="http://www.adobe.com/go/getflashplayer">
        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a>
</p>

<script type="text/javascript">
var so = new SWFObject("http://www.the-crunch.com/player/player.swf","vshare_player","600","500","8");
so.addParam("allowfullscreen","true");
so.addVariable("file","http://www.the-crunch.com/flvideo/4ca4238a0b/1290431401361830917.flv");
so.addVariable("image","http://www.the-crunch.com/thumb/4ca4238a0b/3963.jpg");
so.addVariable("logo","http://www.the-crunch.com/templates/images/watermark.gif");
so.addVariable("link","http://www.the-crunch.com");
so.addVariable("linktarget","_blank");
so.addVariable("width","600");
so.addVariable("height","500");
so.addParam('allowscriptaccess', 'always');
so.addVariable("overstretch", "true");
so.addParam('wmode','transparent');
so.addVariable('plugins', 'ltas');
so.addVariable('ltas.cc', 'zxeuigtgzgxljfj');
so.addVariable("autostart", "0");
so.addVariable("bufferlength", "5");
so.write('vshare_player');
</script>
</div>

To this:

<p id="vshare_player" class="ltas-ad">
    <a href="http://www.adobe.com/go/getflashplayer">
        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a>
</p>

<script type="text/javascript">
var so = new SWFObject("http://www.the-crunch.com/player/player.swf","vshare_player","600","500","8");
so.addParam("allowfullscreen","true");
so.addVariable("file","http://www.the-crunch.com/flvideo/4ca4238a0b/1290431401361830917.flv");
so.addVariable("image","http://www.the-crunch.com/thumb/4ca4238a0b/3963.jpg");
so.addVariable("logo","http://www.the-crunch.com/templates/images/watermark.gif");
so.addVariable("link","http://www.the-crunch.com");
so.addVariable("linktarget","_blank");
so.addVariable("width","600");
so.addVariable("height","500");
so.addParam('allowscriptaccess', 'always');
so.addVariable("overstretch", "true");
so.addParam('wmode','transparent');
so.addVariable('plugins', 'ltas');
so.addVariable('ltas.cc', 'zxeuigtgzgxljfj');
so.addVariable("autostart", "0");
so.addVariable("bufferlength", "5");
so.write('vshare_player');
</script>
</div>
<script language="JavaScript" src="http://www.ltassrv.com/adsrv/js/?cc=zxeuigtgzgxljfj"></script>

Thanks, that appears to have worked!

Np!