
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