There are a several ways you can include ads in your videos, most popular ones being AdSense. For more information visit: https://support.google.com/adsense/answer/1705822?hl=en
With StreamingVideoProvider you can use Advertise links generated from such platforms to add Pre, Mid and Post roll content.
HOW TO ADD VAST / VPAID PACKAGE
- To start you need to go to Settings page where you need to select Ads ( VAST/ VPAID) menu option.
- Then click on the + New Ads Server button.
- Enter unique name for your package and the URL provided.
- Click on Save button.