Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

using ASP.NET ajax makes video ads not load


The video ads are not showing when asp.net ajax is implemented on the site.

The VAST response loads (at least I can see it being downloaded), but is not shown. This happens as soon as a scriptmanager object is placed on the page.

You can witness it here: http://www.rtvoost.nl/nieuws/default.aspx?nid=230222&cat=1

Apparently the video's are counted by DFP (our video-ad server), because after 2 video's it returns an empty response. We set the amount of video ads at two per half hour.

Can this please be fixed?

I probably have to revert to JW player 6, so I don't know how long the above link will show this behaviour.

regards,
Willem

10 Community Answers

automatisering

User  
0 rated :

I put the player in an iframe. The link provided in the question above therefor works properly now.

I would still like to see this issue solved though.

Willem

automatisering

User  
0 rated :

on http://www.rtvoost.nl/nieuws/video.aspx you can still see the problem. I can't use iframes on that page, cause ajax is used to load other video's in the same player.

Alex

JW Player Support Agent  
0 rated :

Hi, Willem.

Unfortunately, we cannot provide support for embedding our player using AJAX. We can only provide support when the player is embedded and setup via JavaScript.

Please let me know if you need any more help or have any other questions.

Thank you!

automatisering Wildenborg

User  
0 rated :

The AJAX embedding is not the problem. This page has the same issue:
http://test.rtvoost.nl/jwplayer.aspx

No AJAX at all. But I did add the ASP.NET AJAX scriptmanager to the page.

Alex

JW Player Support Agent  
0 rated :

Hi, Willem.

I didn’t say the AJAX embedding was the problem. I just meant that it makes me unable to troubleshoot. ;) Thank you for creating a test page.

It looks like your ad tag is returning an MP4, but setting it’s MIME type as video/x-mp4, which makes our player think that it can’t handle it. It also doesn’t only happen with our player, but with Google’s Ad Tester as well. I changed video/x-mp4 to video/mp4 and it ended up working in Google’s Ad Tester. I later made a test page with your ad tag, but with the MIME type changed, and it works.

I would suggest contacting your ad network to have them change how the media file is specified in your ad tag.

Please let me know if you need any more help or have any other questions.

Thank you!

automatisering

User  
0 rated :

Hi Alex,

Thanks for the response. I will contact our ad network. But I don't understand how it works fine without the scriptmanager and fails when the scriptmanager is on the page. Shouldn't the mime-type be the same regardless?

Alex

JW Player Support Agent  
0 rated :

Hi, William.

I agree that the fact it works without scriptmanager for you is a little weird, but for me, it wasn’t working without scriptmanager until I changed the MIME-type in the ad tag.

automatisering

User  
0 rated :

another test page:
shows ad: http://test.rtvoost.nl/jwplayer_NoASP.NETajax.aspx
does not show ad: http://test.rtvoost.nl/jwplayer.aspx

note: there are only 2 ads every half hour.

On another note. Just dragging that scriptmanager on the page sure adds a lot of extra code.

Alex

JW Player Support Agent  
0 rated :

Hi, William.

Is there any way you can increase the amount of ad impressions I’m allowed to see. Being limited to 2 per half hour is making it almost impossible to troubleshoot your issue.

automatisering

User  
0 rated :

Hi Alex,
Sorry for the late reply. I set up the above pages in a way that they should always show a pre-roll.

This question has received the maximum number of answers.