NonLinear ads pause the player.

Apr 16, 2013 at 9:38 AM
Edited Apr 16, 2013 at 9:39 AM

I might have found a bug, but I'm not sure. Probably I'm doing something wrong. The situation is very simple; I have a non-linear ad (overlay image) which when shown pauses the player.

<?xml version="1.0" encoding="utf-8" ?>
<MAST xsi:schemaLocation="" xmlns="" xmlns:xsi="">
    <trigger id="overlay" description="overlay ad">
        <condition type="property" name="Position" value="00:00:10.0" operator="GEQ" />
        <condition type="event" name="OnItemEnd"/>
        <source uri="vast_overlay.xml" format="vast">
          <sources />
            <target type="overlay" region="UpperVideoArea" />
<?xml version="1.0" encoding="utf-8"?>
<VAST version="2.0" xmlns:xsi="" xsi:noNamespaceSchemaLocation="oxml.xsd">
  <Ad id="ZAPADS">
      <AdSystem version="2.0 alpha">ZAPADS</AdSystem>
      <Impression id="Atlas"><![CDATA[some link here]]></Impression>


        <!-- Non linear add that plays with the main video or other ads. -->
        <Creative sequence="0" id="overlay" AdID="">
            <NonLinear id="overlay" width="468" height="60">

              <!-- Image to show. .png and .jpeg/.jpg are allowed -->
              <StaticResource creativeType="image/jpg"><![CDATA[some url to an image]]></StaticResource>

              <!-- New browser window will be opened when user clicks on the ad -->
              <NonLinearClickThrough><![CDATA[some url to an image]]></NonLinearClickThrough>

              <!-- Events to track. In this case URL will be called on video start -->
                <Tracking event="start"><![CDATA[some url to an image]]></Tracking>
        <Extension />
The image shows ok on the 10th second but player gets paused. I have made a quick fix by removing
from "ExecutePayload" methond in "AdHandler.cs".

And to stop flickering I have also removed
Player.ActiveMediaPlugin.VisualElement.IfNotNull(v => v.Visibility = System.Windows.Visibility.Collapsed);
from the same method in the same class.

Version of the player - 2.7 (Silverlight).