![](https://secure.gravatar.com/avatar/ca278a6808f781457269823a2cbfe37a?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Custom Macros?
How can I append the value returned by jwplayer().getViewable() to an ad tag?
How can I append the value returned by jwplayer().getViewable() to an ad tag?
You can use Javascript to append the getViewable() response directly to your ad tag:
advertising: {
client: 'vast',
tag: 'https://playertest.longtailvideo.com/vast-30s-ad.xml?viewable='+jwplayer().getViewable();
}