• Welcome to PHPVIBE Forums. Please log in.
avatar_Marius P.

Use a VAST file to deliver in-player ads

Started by Marius P.,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Marius P.Topic starter

Delivering a custom video ad to PHPVibe is simple.
You can simply build your VAST file and save it somewhere, then link to it in Settings-> Players



All the rest are set in the video file:
Impression – Where the player should send the impressions (custom tracking link?)
kipoffset="00:00:05″ – The skip value for the ad. If the ad is longer than this time the "Skip Ad" button will show up.
ClickThrough is the url you send the user once he clicks on the ads.
Video files for ads are set in the "MediaFile" tag of the vast xml.

Here is a full sample https://pastebin.com/Meh67CXr

<VAST version="2.0">
  <Ad id="static">
    <InLine>
      <AdSystem>Vibe</AdSystem>
      <AdTitle>Vibe</AdTitle>
      <Impression>https://www.domain.com/</Impression>
      <Creatives>
        <Creative>
        <Linear skipoffset="00:00:05">
            <Duration>00:00:38</Duration>
         <CustomTracking>
       <TrackingEvents>
<Tracking event="skip">
https://domain.com/pixel.png
</Tracking>
             </TrackingEvents>
             </CustomTracking>
            <VideoClicks>
              <ClickThrough>https://www.domain.com/</ClickThrough>             
            </VideoClicks>
            <MediaFiles>
              <MediaFile id="someid" delivery="progressive" width="1280" height="720" bitrate="2081" scalable="true" maintainAspectRatio="true">
               https://www.domain.com/preroll.webm
              </MediaFile>
  <MediaFile id="someotherid" delivery="progressive" width="1920" height="1080" type="video/mp4" bitrate="4211" scalable="true" maintainAspectRatio="true">
               https://www.domain.com/vast.mp4
              </MediaFile>
            </MediaFiles>
           </Linear>
        </Creative>
      </Creatives>
    </InLine>
  </Ad>
</VAST>

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

 

Similar topics (7)

[ Video Sharing CMS v4 ] Xclub choose username not working

Started by childproof


Replies: 1
Views: 944

[ Video Sharing CMS v4 ] Lib/comments.php line 30 User avatar problem

Started by mihai


Replies: 4
Views: 1075

[ Video Sharing CMS v4 ] Daily upload limit per user /How to limit daily uploads in PHPVibe

Started by ASDF


Replies: 54
Views: 5277

[ Video Sharing CMS v4 ] Views-Bug + Edit User > Group Bug

Started by ollipaust


Replies: 5
Views: 1555

[ Video Sharing CMS v4 ] Issue with Uploading Video Files (MP4 Files) to server over estimated 650Mb

Started by PHPClient


Replies: 10
Views: 1587

[ Video Sharing CMS v4 ] Force caching for logged users

Started by TigerClaw


Replies: 5
Views: 1320

Arabic url and user name to profile issue

Started by yafe3


Replies: 10
Views: 4021