'How to Initialize third-party js in VAST / VPAID when it trigger events(midPoint, complete, etc.)

Does anyone have an xml VAST/VPAID example that calls a third-party JS file when quartile events are triggered? Or tell me how it can be implemented. I searched the whole internet and found no solution to this problem.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source