radiantmediaplayer / rmp-vast

A client-side JavaScript solution to load, parse and display VAST 2, 3 & 4 resources with HTML5 video
https://www.radiantmediaplayer.com/rmp-vast/app/
Other
95 stars 37 forks source link

Can't able to load VAST XML #31

Closed pratik24mac closed 1 year ago

pratik24mac commented 3 years ago

How I can use inline wrapper or directly I can pass XML string as a vast

How i can use VAST XML ?

radiantmediaplayer commented 3 years ago

Hi, the parsing of XML happens at _onXmlAvailable but this is an internal method and the player follows the pattern of having to fetch a VAST tag from a URI before starting the XML parsing. I am going to mark this as feature request, we may implement this at a later point in time if time allows, otherwise a PR is welcome.

radiantmediaplayer commented 1 year ago

Featured in https://github.com/radiantmediaplayer/rmp-vast/releases/tag/v11.0.0 Use vastXmlInput parameter.