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

JWPlayer 6.6 Ad Edition, no ad countdown


Hi,

The ad countdown message no longer seems to display in 6.6. The following code in player construction works as expected in 6.5, but not in 6.6 (we use playAd(tag) hence no tag attribute at this point). Is this a bug or has something changed that I've not spotted?

advertising: {
client: 'vast',
admessage: 'Feature starts in xx seconds'
}

Thanks,
John

15 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

Yes, it's here http://www.uat.vualto.com/rk/test.html. If I replace the player with 6.5 the countdown will re-appear at the top left. The other problem we seem to have is that once the ad is clicked you can't get the player to continue from where it was clicked.

Thanks,
John

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm, I get a weird error on this page. Can you put up a demo with 6.5 to compare?

JW Player

User  
0 rated :

6.5 version is here http://www.uat.vualto.com/rk/test_65.html

Thanks,
John

Ethan Feldman

JW Player Support Agent  
0 rated :

I do see the countdown here. I think there is something weird with the tag here, I get this Flash debug error on both pages:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at com.longtailvideo.jwplayer.ads.vast::OVAWrapper/activeStreamIsLinearAd()
	at com.longtailvideo.jwplayer.ads.vast::OVAWrapper/activeStreamIsShowStream()
	at com.longtailvideo.jwplayer.ads.vast::OVAWrapper/resizeWithControls()
	at com.longtailvideo.jwplayer.ads.vast::AdsController/resize()
	at com.longtailvideo.jwplayer.ads.vast::AdsController/onMediaComplete()
	at com.longtailvideo.jwplayer.ads.vast::AdsController/onNewPlaylistItem()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.longtailvideo.jwplayer.player::Player/dispatchEvent()
	at com.longtailvideo.jwplayer.player::Player/forward()
	at com.longtailvideo.jwplayer.events::GlobalEventDispatcher/dispatchEvent()
	at com.longtailvideo.jwplayer.model::Model/forwardEvents()
	at com.longtailvideo.jwplayer.events::GlobalEventDispatcher/dispatchEvent()
	at com.longtailvideo.jwplayer.model::Playlist/set currentIndex()
	at com.longtailvideo.jwplayer.controller::Controller/playlistLoadHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.longtailvideo.jwplayer.events::GlobalEventDispatcher/dispatchEvent()
	at com.longtailvideo.jwplayer.model::Model/forwardEvents()
	at com.longtailvideo.jwplayer.events::GlobalEventDispatcher/dispatchEvent()
	at com.longtailvideo.jwplayer.model::Playlist/load()
	at com.longtailvideo.jwplayer.controller::Controller/loadArray()
	at com.longtailvideo.jwplayer.controller::Controller/load()
	at com.longtailvideo.jwplayer.player::Player/load()
	at com.longtailvideo.jwplayer.player::JavascriptAPI/js_load()
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at flash.external::ExternalInterface$/_callIn()
	at Function/<anonymous>()
	at flash.external::ExternalInterface$/_evalJS()
	at flash.external::ExternalInterface$/call()
	at com.longtailvideo.jwplayer.player::JavascriptAPI/callJS()
	at MethodInfo-323()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at flash.utils::Timer/tick()

JW Player

User  
0 rated :

OK, but as far as I can see the tag is correct as are the event hooks? If you look at the CreatePlayer method in the source you'll see that we don't set the tag when the player is constructed, could that be the problem?

Thanks,
John

Ethan Feldman

JW Player Support Agent  
0 rated :

It might be. Can you try to set it when the player is loaded?

JW Player

User  
0 rated :

OK, so I've added a blank tag to the player construction in both 6.5 and 6.6 pages. However, I'm concerned we're not looking at what the 'real' problem is here - in the 6.5 version we can resume the ad after a click and the countdown works and in 6.6 these features don't appear to work.

Thanks,
John

Ethan Feldman

JW Player Support Agent  
0 rated :

I mean can you set the real tag when the player is loaded?

JW Player

User  
0 rated :

OK, so I've done that and the behaviour remains the same.

Thanks,
John

Ethan Feldman

JW Player Support Agent  
0 rated :

I get a Flash debug error here still. Can you put up just a standard embed?

JW Player

User  
0 rated :

I'm not sure that providing a standard embed really helps. The code that we're using to embed the player in the test page is effectively 'standard', and the issue is that there is a demonstrable change in behaviour between 6.5 and 6.6. If there's a Flash debug error it doesn't affect the end behaviour of the player as far as we can see.

Thanks,
John

Ethan Feldman

JW Player Support Agent  
0 rated :

I just really want a page with just an embed like this – http://www.longtailvideo.com/support/jw-player/28862/configuring-video-ads, no other JS at all, can you put one up?

JW Player

User  
0 rated :

OK, so that's done.

Thanks,
John

Ethan Feldman

JW Player Support Agent  
0 rated :

Where is this test page? The links above still have external JS.

This question has received the maximum number of answers.