Using MAST/VAST with position conditional triggers

Hi folks! I'm trying to use a MAST file that loads in VAST files to do preroll, midroll, and postroll all from the same XML. Each of these is triggered by a timecode using a property condition looking at position. Essentially, when the currentTime is greater than or equal to a time code, it triggers the ads. Currently the events are firing at the right time, and the VAST files are being loaded and translated correctly, but all three videos are playing after the main content finishes. Can anyone tell me how to remedy this?
Here are some more clues. The conditions for triggering look something like this:
<startConditions>
                                        <condition value="20" type="property" operator="GEQ" name="position" />
</startConditions>
<endConditions>
                                        <condition type="event" name="OnItemEnd" />
</endConditions>
Another clue is that I delved into the MASTPlugin and found in the getInsertionIndex method of MASTProxyElement a comment:
"if our current child is in the midst of playback, we don't want to interrupt it, so we insert immediately after the current child."
The playing status is determined by the presence of a time trait with a currentTime or by the presence of a play trait with a play state of PLAYING. Since the position property will only be triggered after the main content is playing, it would seem that content added with a position trigger would always be added to the end of the main content. Is there some easy way to do this using position triggers or something that might be wrong with the XML?
I am aware of Advertising Plugin which does a great job of this very task, but unfortunately the client wants to use MAST/VAST and uses tracking implemented in the VAST data. Anybody have a solution, or should I start sweet talking the client?

Wow, I missed this question a long time ago.
The basics of what I did were to remove any use of SerialElements or ParallelElements from the MASTProxyElement class. I passed in references to the main MediaContainer and MediaPlayer through metadata on the plugin resource and passed those to the MASTProxyElement from the MASTPluginInfo class. Then I gutted the onDocumentProcessed method of MASTProxyElement. That is what executes when it detects an ad needs to play. There I made the most changes making it just create standard media elements rather than messing with Parallel and Serials. I then created a separate MediaContainer and Player solely for the ads. Using a stage reference off of the main MediaContainer, I add my container to the stage, pause and hide the main player, and then listen for the completion of the ad from my separate player. When that is complete, I clean up my ad and tell the main player to show and resume.
This was a major reworking of the plugin and required a lot of deep diving into the OSMF plugin, along with a few monkey patches to OSMF. The original plugin's support for different versions of VAST and VPAID are incomplete and I had to fix a lot to get a lot of the expanded functionality to work. The plugin codebase is proprietary now, so I cannot share it with the community. However, I am happy to share the general approach I took and to provide a warning about the complexity of the task to anyone attempting to do the same.

Similar Messages

  • How to use Mulitple DAQs with a single triggered event on only one of the DAQs

    I have three PXI6115 and would like to tie all these to a single triggered event on one of the DAQs. I've scaned the examples and any assistance would be greatly appreciated....

    TCjr,
    Please refer to your other post:
    How to use Multiple DAQs with a single triggered event on only one of the DAQs

  • Can AME used in combination with position heirarchy for purchase requisitions ?

    Hello,
    We are using position heirarchy for purchase requisitions.
    Can we use Approval Management engine in combination with the existing position heirarchy for purchase requisitions for more flexible workflow routing ?
    regards,
    Natalia

    Hi Natalia,
    Have your inquiry been addressed? Please let me know if you need any further assistance in this, otherwise, Please mark the answer as Correct/Helpful in order to leverage the discussion and facilitate correct answer to other members who may confront the same concern of yours.
    Note: Liking the answer will not mark it as Correct/Helpful, you have to open the discussion first to be able to mark it (This is not possible by opening the discussion from your inbox)
    Thanks,

  • Getting metadata for RFCs using RFC SDK (with position of parameters)

    Hi!
    I'm currently using the RFC SDK Function "RfcGetFunctionInfoAsTable" to retrieve metadata for RFCs from SAP. What i see is that the "Position" field in the RFC_FIELDS_U structure contains arbitrary values, and so I am not able to determine what is the actual ordering of the parameters.
    What can I do to determine the exact ordering of the parameters of an RFC? (ordering as in - I want to obtain the parameters in the same order as they appear in SAP GUI).
    Thanks,
    Mustansir

    Hi,
    I think you can use the code similar to the one below...
    some of the things not covered in this are
    1. all types for which   CALL FUNCTION 'RFC_GET_NAMETAB' is not returning result, you can call CALL FUNCTION 'RFC_GET_STRUCTURE_DEFINITION' directly. I have not covered that in this code. Hope this is helps in resolving your issue.
    Also, the code is not optimized. So there is some scope for optimization of this code.
    REPORT  ZTEST_GET_SREUCTURE.
    DATA : PARAMS     type table of     RFC_FUNINT,
          ls_params like line of params.
    data: NAMETAB     type table of     X031L,
          ls_NAMETAB like line of NAMETAB.
    data: FIELDS  type table of RFC_FIELDS,
          ls_fields like line of fields.
    CALL FUNCTION 'RFC_GET_FUNCTION_INTERFACE'
      EXPORTING
        FUNCNAME                      = 'fm_test_fm'
      TABLES
        PARAMS                        = PARAMS
    IF SY-SUBRC <> 0.
    ENDIF.
    loop at params into ls_params.
      CALL FUNCTION 'RFC_GET_NAMETAB'
        EXPORTING
          TABNAME                     = LS_PARAMS-TABNAME
        TABLES
          NAMETAB                     = NAMETAB
      IF SY-SUBRC <> 0.
      ENDIF.
      loop at NAMETAB into ls_NAMETAB.
        CALL FUNCTION 'RFC_GET_STRUCTURE_DEFINITION'
      EXPORTING
        TABNAME                     = LS_NAMETAB-ROLLNAME
      TABLES
        FIELDS                      = FIELDS
        loop at fields into ls_fields.
          write: ls_fields-FIELDNAME.
        endloop.
      endloop.
      endloop.

  • Using AND combined with OR conditions on filterclause

    We are writing a PRC portlet to return all documents based on a properties search.We have two properties (names are arbitrary) lets call them prop1 and prop2.I need to construct the following query
    Need all cards where ( (prop1=1 or prop1=2 or prop1=3 or prop1=4) AND (prop2="A" or prop2="B") )Can not use (prop1<5)
    I believe that a more precise question is How can I construct a query that is and-ded and or-ded.
    the interface IPlumtree.Remote.PRC.Search.ISearchFactory allows two methods to be called 1) CreateOrFilterClause2) CreateAndFilterClause How do I return a search that is ORand AND - Is this even doable? I need sample code for the Document Search described above.. Phil Orion | [email protected] | www.orionsmith.com

    You can add a clause as a subclause of another clause. So the steps to build this would be:
    1. build an OR clause, add the four prop1 conditions to it
    2. build another OR clause, add the two prop2 conditions to it
    3. build an AND clause, add the two previous clauses to it by calling addClause()
    Craig

  • Using Master pages with image placeholders

    I've created a masterpage that contains image placeholder and header, and body copy text fields...but I can't seem to figure out how to use them once I'm inside of a page. In InDesign you can override a master object, but I can't seem to figure it out. Is this even possible??
    Let me know and thanks!

    The content placed in a Master page can only be selected/edited in the Master page and not in the associated content pages. A Master Page in Muse allows you to apply common elements like headers, footers, logos, and navigation to multiple pages in your site. A way around this would be create an overlapping object in the content page so as to hide the Master object placing it behind the overlapping object using Layers feature.
    Hope this helps, let me know if that is not exactly what you were looking for.
    Thanks,
    Vinayak

  • BI Web services - Prompts with 'OR' condition are not working

    Hi Gurus
    I am using BIWS to build my Xcelsius dashboards . When i building a webservice from webi report having two data providers named fact & dim and i merging two data providers and the result i am using in a report.
    The Fact data providers contains a query filters with 'OR' conditions applied in it.
    when i test this webservice with the values it always displaying the last refreshed instance of report even i purge the data before building web service.
    Could you please let me know is any one faced this issue. I am using Webi rich client 12.3.1 version
    Note *: The web service works fine if i am using query filters with  'AND'  condition.
    Kindly check this do the needful
    Cheers
    Karun

    Hai
    Check this
    Re: Web Intelligence BI Web Services and Xcelsius
    http://everythingxcelsius.com/xcelsius-training/xcelsius-and-business-intelligence-web-services-biws/3642
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00536d65-f9cf-2e10-0eaa-f3346306dc1a
    http://www.asug.com/CalendarEventDetails/tabid/150/eventid/2509/Default.aspx
    http://www.forumtopics.com/busobj/viewtopic.php?p=819152

  • SD tarification in reference with LE conditions

    Problem :we are using SD pricing with SD conditions in LE conditions refence. We want to use bulkiness factor and/or as weight rules in our sell orders pricing.
    The pricing is well done but the basis quantity of scale recorded in the sell order (KONV.KAWRT) does not correspond to the quantity used in application of bulkiness factor and/or as weight rules.
    Problem : we want to find this real quantity priced (basis of the
    princing) to print it in our invoice in the aim to give to our customer all the informations to control the invoice (nowadays our customer refuse to pay our invoice). We can not reach this quantity in SD.
    Exemple :
    For an order with 5 M3 and a weight of 350 kg
    Bulkiness factor application of 140 kg/M3 => we should price 700 kg
    As weight rules application => we are pricing on 850 kg in reality (taxed quantity)
    Finally, the order with a 350 kg weight is priced on a theoric weight of 850 kg. We would like to reach this quantity to print it on our invoice.
    In SD how can we get the real priced quantity used in the princing as it is possible in Logistic Execution.

    run MM02 and set Alternative units of measure
    run VK11 and create the price for your material using suitable UoM

  • Use of "with master data & with out master data" at DTP update level

    Hello experts,
    In DTP, I check "with out master data". When I try to send corresponding transactional data, It is showing SID related error. Can anybody suggest what is the use of "with master data & with out master data" at DTP level.
    Thanks in advance,
    Zakir.

    HI
    HI in DTP level If you set this indicator, the system terminates the update of the request if no values are available for a data record.
    Load the relevant master data before you load the transaction data.
    If you set this indicator, the system terminates activation if master data is missing and produces an error message.
    If you do not set this indicator, the system generates any missing SID values during activation.
    In DataStore maintenance, if you do not set the SIDs Generation upon Activation indicator, the No Update without Master Data indicator in the DTP has no effect.
    thx
    vijju

  • Hello guys..does anybody know how to install and use adobe master collection with the new lion?   I need to use Flash and illustratore, but apparently those programmes are incompatible with the new operative sistem...   I am a new mac users and I'd like t

    Hello guys..does anybody know how to install and use adobe master collection with the new lion?
    I need to use Flash and illustratore, but apparently those programmes are incompatible with the new operative sistem...
    I am a new mac users and I'd like to know if there are other similar programmes I can use with lion!

    Lab79 wrote:
    Are you on Apple's payroll?
    well dude I can only let you know that as I work with those programme I don't have to pay for it is my company that pays the programme I whant to use( that's why I was asking if there where other programmes ..that I could use with lion insted that Illustrator and Flash!)..I know Adobe since 2005 and I can say that Adobs products are very good...I think that if it's an Adobe probleme or fault ..they will solve it very soon...but unfortunally I have the impression that after Jobs passed away Appel decided to change politics..and everything started to go very bad! (see FCP X)..
    good luck with apple dude..
    Where is the Apple problem? I have CS4 and CS5 running perfectly fine on my Macbook Pro. Installed 5 after Lion upgrade. Worth every cent. Adobe did have some catching up to do with Lion but with the CS5.5 update all runs fine. But not yours. So it is a problem with the Lion OS? You say you have been with Adobe since 2005. So you would be aware of all the other issues that Adobe had catching up with past Oss in Mac and Windows then. They get it right, but it is up to them. It is not up to Apple, nor Microsoft for that matter, to run around and check that every software developer in the world is running their business properly.
    And what has politics got to do with anything. Some people just have to blame Software for their poor Hardware maintainence of failure of the same.
    <The only think I can really do is to go back on my old windows...give back this orrible lap top and ask for my money back!>
    Great suggestion. You should go with that one, but good luck getting a refund.
    Bye

  • Spliting files based on condition using multi mapping with BPM

    Hi All,
    Can any one please let me know How to <b>Splite the outbound records based on condition using multi mapping with Integration Process in BPM</b>?
    Thanks
    Govindu.

    Hi All,
    Sorry for mistake this question for Exchange infrastructure guys.
    Thanks,
    Govindu

  • Converting Textfile with position delimited in SAP XI using ContentConvers?

    Hi ,
      My problem is i need to conver FlatFile with position delemeted  using Content Conversion with File Adaptor.There is no Fieldseperator, are there any options to convert this  type of file.please post if any suggestion are there...
    Thanks & Regards
    Sreeramulu Konjeti

    Hi,
    This may Help you on how to deal with Fixed Lenghts in FCC
    Content Conversion ( The Key Field Problem )
    The specified item was not found.
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Regards
    Sehsagiri

  • Use different master spreads with autoflow

    Hello,
    I have an XML document which I import into InDesign and apply some paragraph styles via XSL and the aid:pstyle attribute. This works fine and I can apply master spreads to pages with special paragraph styles by scripting.
    The problem is, that I use the autoflow function of InDesign CS5 and this creates pages which all base on the same master spread. If I reapply another master spread to a page manually the master (text frame) objects lie in the background; the already flowed text stays in text frames on top of the master text frames and doesn't flow through the new master text frames. I even don't know how to reflow this manually - not to mention how to do it by script.
    Has someone any idea how to achieve this reflow or how to use multiple master spreads with the autoflow function (maybe there is a configuration possibility to automatically select the master spread according to a paragraph style)?

    Nope. (well, of course it's always good to set it up before you start...)
    New master threads can be created after flowing the text too.
    If someone really messes up the setup, AF Pro even has a "Rebuild Current Story" option which will pick up everything about the master text frames even after the text in flowed into the document.
    I'm really proud of how it works!
    Harbs

  • Help! I deleted my System preferences by mistake! I'm absolutely positive they are gone. Unfortunately so are the disks that came with it. I'm using an Imac with os 10.4.11. Any help would be greatly appreciated!

    Help! I deleted my System preferences by mistake! I'm absolutely positive they are gone. I checked spotlight, blue apple and the hard drive, applications. Gone. Unfortunately so are the disks that came with it. I'm using an Imac with os 10.4.11. Any help would be greatly appreciated!

    Try cleaning the disc, and be sure you have the right one.
    If that doesn't help, it sounds like it's time for a trip to the Apple Store. 
    Make an appointment here:  http://www.apple.com/retail/geniusbar/

  • Why can't I reset the master password with the option of removing all username:passwords by unchecking "Use Master Password"?

    Why can't I reset the master password with the option of removing all username:passwords by unchecking "Use Master Password"? Currently, there seems to only be the option to issue a "chrome:" command in URL which DOES reset the master password. However, it was something that I had to google. The intuitive option would be to uncheck the "Use Master Password" checkbox, receive a verification dialogue, and blammo, password reset. Please make this a feature, thank you.

    ''cor-el [[#answer-702776|said]]''
    <blockquote>
    You can remove all password in the Show Passwords dialog.
    That is where you manage the passwords.
    The master password is only for protecting the passwords with an extra level of encryption and has nothing to do with erasing passwords apart from resetting the MP in case you have forgotten the MP and can't open "Show passwords".
    </blockquote>
    Sorry, for being unclear. Essentially this is a feature request for an option under Firefox options (why not?) to reset my Master Password not knowing the Master Password. For Security reasons I understand why all the saved passwords have to be wiped, but wiping the Master Password (having forgotten it) should be an option without having to issue an arcane command that one has to google to figure out.

Maybe you are looking for

  • Doc or docx file stop upload at 100% but never complete

    My PC is Windows XP using Firefox2.0.0.7 today I start to try adobe share I try to upload a png file is ok then i try to upload a docx file..... the file upload normally at start... however, when it reach 100% the upload will not complete even i wait

  • Problem opening pdf documents with reader

    We have an hp computer running on windows 8.  It came with adobe reader installed which worked fine until about a month ago.  Since then when you try to open a pdf document on an online page, a message comes up "There is a problem with Adobe Acrobat/

  • E7-00 with "Anna": Widgets continue to crash frequ...

    Hi there, Since months I am fighting with a Widget problem. Just of a sudden, the phone freezes, displays the message "internal error, widgets will shut down", all widgets are gone and the factory setup returns to the screen. After that it takes me 1

  • Authentication error after upgrade to APEX 4.2

    Hi, After the upgrade to Apex 4.2, I started to receive an error when trying to run the application. ERROR: "There is no authentication configured for this application. ORA-01403: no data found". I checked and double checked the authentication option

  • Cess and Edu cess values are not coming/credited in accounting doc created

    Hi All, We have done rejection of materials ( 122 mvt type) from UD , the materials are exciseable and for that we are creating rejection invoice in J1IS  transaction ,  the document is getting posted but when we check the accounting entries we could