Skip navigation
Currently Being Moderated

MAST/VAST Question

Nov 9, 2010 12:35 PM

Hi All,

I've found myself in a bit of a situation and I'm going to need some of your help to get out of it.  I'm using MAST to play my VAST ads.  Initially, when I set this up just using the MAST plugin. I got my VAST ad and my main video part of the same serial element causing the ad and the video to be part of the same timeline.  I then used an example from to change the structure so that it works like the example Compostion > Video with Timed Ad Insertion which makes my ad and video seperate but now the ad and video are being pulled from inside my StrobeMediaPlayback class and not my configuration.xml file.  I'd like to pull the ad from the VAST and the video from the configuration.xml file like it was initially. Please tell me i'm not the only one who has run into this situation.  Anyone?

  • Currently Being Moderated
    Nov 9, 2010 1:31 PM   in reply to KindOfBlue

    Hi KindOfBlue,


    I would try to branch the MASTPlugin and implement the behavior that you describe directly in the plugin. (i'd probably contribute the code back afterwards, since I'd expect the behavior that you describe to be provided out of the box).


    Is there anything that can be done at the OSMF or StrobeMediaPlayback level that would make the implementation of this behavior in a plugin easier?


    Thank You,


    Mark as:
  • Currently Being Moderated
    Jan 11, 2012 10:06 AM   in reply to KindOfBlue

    Hi KindOfBlue,


    Did you eventually come up with a solution to this? I'm also using the MAST plugin and want to be able to detect when a linear ad (pre/post/mid roll) is playing versus content so that I can change the control bar state (disable/enable controls).


    It's not obvious how to do this without de-constructing the MASTProxyElement returned by the factory back into component MediaElements but even then it's not clear how to work out which are the ads.


    Cheers in advance.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points