
HTML5 VPAID and AdClickThru event
Hello,
While testing the development of an HTML5 VPAID format, i've noticed that the implementation of the AdClickThru event by JWPlayer 7 doesn't work correctly.
When a clickthrough occurs on the VPAID format, a AdClickThru event is dispatched, with 3 parameters: the URL string to redirect to, an ID for tracking purpose, and a boolean called "playerHandles" that tells to the player if it's in charge or not for open the URL. If the URL parameter is omitted, the correct behavior for the player is to open the Clickthrough URL that was in the VAST object of the ad.
Unfortunately, it seems that when the playerHandles parameter is set to true, and the URL is set to a custom URL, JWPlayer opens both this custom URL, and the Clickthrough URL from the VAST object, resulting in two browser windows being opened. In Chrome, it works correctly (my guess is that Chrome blocks simultaneous window.open calls), but on Firefox and Safari, there are indeed two browser windows opened.
You can test on JWPlayer Ad Tester (http://demo.jwplayer.com/ad-tester/) with the following VAST tag : http://padmasters.contenttoemotion.com/test/vast.php. When clicking anywhere on the video, you should be redirected to centerparcs.fr (the URL specified in the AdClickThru event), but on Firefox and Safari, it also opens a window with kiabi.fr, which is the Clickthrough URL in the VAST object.
It's worth note the this bug is quite similar with a bug i notified on JWPlayer 6 flash version : https://support.jwplayer.com/customer/portal/questions/9927916-vpaid-adclickthru-event
By the way, this bug on the lash VPAID is still not corrected in JWPlayer 7.
Could you please check this problem?
Thanks,
Ben