VanLong Stream

Best Streaming Tools For Movie and Video Websites – DEMO:

Published on

How to add VAST into player of tool p2p hls plus

Preparation: Link of VAST file or VAST file

If you don't have the link of the VAST file, and only has VAST file, please upload the VAST file to directory /root/loadbalancer/vanlongstream/ of server setup loadbalancer code, then the link of the VAST file will be https://domain-loadbalancer-of-p2phlsplus/vanlongstream/vast.xml

Now edit the file /root/loadbalancer/public/dist/index.html and find to the jwplayer setup, then add this code to the jwplayer setup section.

advertising: {
            client: "vast",
            schedule: {
                "myAds": {
                    "offset": "pre",
                    "tag": "link-of-vast-file"

Example as shown below enter image description here Save it and that’s done!