![](https://secure.gravatar.com/avatar/727b0f24916b74e6cfbd409f79455391?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Player re-compiling
Dear Sirs!
We are paying for adv version. Is it possible to get a variable from XML VAST file to the JS?
If it is not possible may we ask you to re-complile player with the string something like that (must be additionally validated):
var yaID:String = String(_vpaidXML.Extensions.Extension(@type == 'yaID'));
if(yaID)
{
flash.external.ExternalInterface.call('function d(){if(typeof Ya != "undefined" && typeof Ya.Metrika != "undefined"){new Ya.Metrika({"id":'+yaID+', "clickmap":true, "trackLinks":true, "accurateTrackBounce":true, "trackHash":true});}}');
}
Thanks in advance!
Sincerely,
Andrew Gora.
P.S. Something wrong with the http://www.jwplayer.com/.