![](https://secure.gravatar.com/avatar/385d50a7c9312328f8653958c7b729c4?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Issue with loading spotxchange tag from JW player
I have spotxchange tag which i am trying to load into the JW player.
Following is standard spotxchange tag structure:
http://search.spotxchange.com/vast/2.00/79391?VPAID=1&content_page_url=__page-url__&cb=__random-number__&player_width=__player-width__&player_height=__player-height__
I am putting all the value correctly, making VPAID=0 and it's loading the video Adv for me but spotxchange guys telling me to encode the URL(using encodeURIComponent() function) and make VPAID = 1. Here my problem comes, when i do changes as per spotxchange instructions, my video Adv stop loading into the player.
Is there any specific encoding type which i should use to encode URL?
Is VPAID value making issue here?
Please help me to solve this.
A quick help would really appreciated.
Thanks.
-Sam