Help creating Proxy Plugin for an Ad SWC

I'm trying to create a plugin for an ad component, where ad video playback is all handled in a SWC.
I took the OSMSPlayer example, and modifed the constructor to load my plugin using the players factory object, and once loaded, I continue with the player setup and configuration.  There doesn't seem to be a problem here, everything loads fine.
I then proceeded to create a proxy plugin.
Within ProxyElement, when set proxyElement is called, I create a SerialElement, and add the passed mediaElement as the first child of the SerialElement.
I then add a loadTrait to the proxyElement, and listen for the LoadEvent.LOAD_STATE_CHANGE event.  When this is fired, I insert a MediaElement (preroll), which has a PlayTrait, DisplayTrait, TimeTrait and AudioTrait, as the first child of the proxied serialElement, and call play.  The preroll video plays fine, i hear audio and see the time updates in the player, but the video is not visible.  If I then pause the video, it suddenly appears, and is visible for the remainder of the clip.  Once the preroll is complete, the orginal mediaElement plays fine.
I followed the MASTPlugin example, as I am trying to do something similar, except my video playback is handled via a SWC (added to the DisplayTrait).  If I just insert a plain VideoElement as the preroll and load a flv it plays fine, so its something specific to my MediaElement impl, but I can't figure out why it doesn't display until I hit pause.
Any help would be greatly appreciated, I've already burned hours trying to figure this out.
Also, looking at the use case chart below, I probably actually need to create a reference plugin.  Does anyone have an example of a reference plugin?
http://help.adobe.com/en_US/OSMF/1.0/Dev/WSc6f922f643dd2e6d-12f30d7b1262b59cb0d- 7ffe.html

The behavior you're describing sounds like a bug -- if you can post a small, self-contained example that reproduces the problem, that would be
very helpful.
You might also want to look at DurationElement and SWFElement.  When you wrap the latter in the former, you can display a SWF but augment it with the ability to play, pause, have a duration, and seek.  The ExamplePlayer sample app has at least one example showing how to use this (I think it's called "Timed Image" and uses ImageElement rather than SWFElement, but the approach is the same).
As for reference plugins, the ControlBarPluginSample (+ ControlBarPlugin) is a good example of a reference plugin.  This sample shows how you can load and display the player chrome dynamically from a plugin.

Similar Messages

  • How can i create a plugin for adobe in design CS3

    i'm trying to make a plugin to use it in adobe Indesign CS3 program but i can't
    i'm using Windows 7
    i had tryed to make a plugin using Eclips with indesign plugin editor and Visual studio C++ but i can't as i can;t find where can i write my code and there is also an error while debuging is that :
    <error PRJ0019: A tool returned an error code from "Performing Custom Build Step">
    after working out  this error "by adding the directory of Odfrc.exe in tools->VC++ Directories->executable file" another error raise to me :
    <Unknown compiler version - please run the configure tests and report the results> and the visual studio raise message box to me to specify the name of the executable file to be used for the debug session
    i don;t know wat can i do know all i need to create a plugin for indesign program so could any one help me ??

    Each version of the SDK has very specific demands for the compiler setup, and this in turn relies heavily on the operating system. The CS3 SDK probably was based on a much older version of Visual Studio.
    Compare your toolchain against the requirements that should be stated somewhere in the CS3 documentation. It's a solid bet you are years ahead -- there simply is no reason for Adobe to keep on supporting all OSes and compilers that continue to appear, for a version of InDesign that's by now 2.5 versions old.

  • I would like to create a plugin for adobe acrobat pro 9.0...

    I would like to create a plugin for adobe acrobat pro 9.0 in order to compare pages, delete the same pages and mark pages from first compared document with new and mark pages from second compared document with original. I downloaded the SDK for adobe 9.0 but now I am not sure how to continue? Do I need Visual Studio or can I use another program that is a freeware? What other program do you recommend?  How can I open an .api file in order to see the code? Do I need to place the SDK files in a specific place?

    1. You will need Visual Studio. Getting your first plug-in to compile can be an ordeal, be sure to use a sample project and work with it exactly.
    2. API files are the work of other programmers. You cannot look inside, and to try to do so is a breach of most software licenses.
    3. API files are installed to the Acrobat plug-ins folder.
    4. You will not find samples or code to copy/paste. You should be an experienced C/C++ programmer, you should be familiar with the basics of the PDF file format ISO 32000-1, and you should be prepared to read thousands of pages of documentation.

  • I am created a plugin for VCO. but, i do not see in inventory. where i need to be look into?

    i am created a plugin for VCO. but, i do not see in inventory. where i need to be look into?

    How did you install your plugin?

  • Creating Eclipse Plugin for BerkleyDB

    Hi
    I am trying to create a plugin for the BerkelyDB XML for the Eclipse RCP framework (www.eclipse.org). I've installed the window installer version for BerkleyDB XML.
    I was wondering what .dll files are required for the jar files or if anyone have done something similar before.

    Hi,
    You'll need all of the .dll files that are included with the Windows installer, probably including the msv* (C, C++ runtime) libraries.
    You shouldn't need anything but the dlls and the jar files.
    Regards,
    George

  • Problem in creating proxy code for webservices in Myeclipse

    Hi
    I am using MyEclipse 9.1 to create client proxy for Account WSDL v1. I following following steps:
    1. Created a web service project
    2. Copied the WSDL file to WebRoot folder within the MyEclispe
    3. With Right click on the WSDL file, I selected option 'New Web Service Client'
    4. With some options selected, the application started creating proxy client.
    5. During the process, it flashed a message in tool tip format. It is as following
    "WS-I: A problem occured while running the WS-I WSDL conformance check:
    org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException: The WS-I
    Test Assertion Document (TAD)document was either not found or could not be
    processed.The WSDLAnalyzer was unable to validate the given WSDL File"
    6. When I proceeded with it, it created all the necessary classes but the proxy class was not created. Hence I could not begin writting my code in it.
    Can someone help me know what went wrong in the entire process?
    Thanks and regards,

    Hi,
       I could not respond to your answer, as I was away from work. I did the same thing as proposed by you.
    I have created the tax code V5 in FTXP. I did not enter any value in any of the rows, as we are using TAXINN.
    then in FV11, I selected gave condition JSRT.
    In column 7th, I entered tax code V5, then gave the value of 12.5% in column 3rd, then I gave in 1st column
    when i press enter or try to save system is giving error message
    The condition record entered already exists
    Now what I did in 1st column I gave from my own just like P1, it is giving message
    Tax ID V5 cannot be checked (there are several/no tax records).
    if i enter, the message disappears and i can save.
    Is it correct?
    say I have different values for the condition JSRT(Service Tax), say 12.5% and 10 %
    How to proceed in this case?
    do I have to make 2 codes say P1 and P2 against V5.
    REGARDS

  • Adobe creates Lightroom Plugin for Aperture

    Glad to see Adobe has created a plugin to ease transition.  Guides have been helpful, but aren't as a complete solution as this may offer.  Unfortunately, it seems most users can't find a way to install it.
    https://creative.adobe.com/addons/products/3213#.VDgVnynCMox
    Although if you have hundreds of thousands of images, this may not be up to the task.  Lets hope.

    There are a lot of complexities, to be sure.  I just ran a test conversion on the entire library.
    First thoughts?  We've been blessed with Aperture these many years.  Lightroom certainly has some capabilities when it comes to photo editing, but I can see why so many professionals have held out so long with Aperture.  There just isn't a better personal-level DAM.  I've been reading a book on Lightroom, and there are several limitations as far as manipulating and cataloging.  Definitely some neat features as well, but for the most part, not as versatile as Aperture.  I'm going to miss that.
    I don't like the folder/collections paradigm.  Feel like I'm in a straight jacket.  But at least it gives me some versatility.  Based on testing, I figure I'll reference my masters as year/project, to provide some organization.   More than that, it gets difficult to move around within the browser pane.
    The plugin has it's problems, but it did perform better than expectations.  Out of 40,000 photos, it managed to import all but 200 or so.  Oddly, many groupings the same Aperture project.  It did a good job of stacking images, but you don't see stacks in collections!  It also did find and migrate a bunch of duplicate JPEG "masters" that were presumably created as I've exported to Facebook and other projects.
    One gotcha, you should create full-sized previews if you want those migrated, too.
    The faces tagging doesn't work yet.  And much of my keywords were scrambled.  Certainly can pick up the pieces, but that endeavor will take several hours as well.  Lightroom won't make this very easy.  It seems a bit more cumbersome to navigate, filter, and sort, but perhaps that's just due to my lack of experience.
    I only have 1400 stacks, so I figure I'll create a metadata reference for the "pick", flag them in Lightroom, then go through stacks one by one and restack them.  Shouldn't take more than a half a day.
    Adobe support and forums just aren't very good.  Few people participate, even though there is a larger Lightroom community??

  • How to create proxy class for a Siebel WS which has many Workflows in it?

    Hi,
    I am facing a strange problem. I have a Web Service for which there are many workflows associated with this. When I generate WSDL for this Web Service and later on generate proxy class in .NET, it creates mutilple classes for each workflow. From UI, I can invoke a perticular method for the class for which I am interested in. But when I am building the same in JDeveloper, using Web Service proxy, I get only one class and I am not interested in invoking method in this class but interested in some other class for which the proxy was not generated. Is there some way to generate multiple classes in JDeveloper proxy?
    Thanks,
    Sudha.

    I have figured this out. Actually Generate proxy creates package and it includes all the class in it. Now i am able to invoke web service method call.

  • How to create a plugin for Flex Builder

    Does anyone know where the documentation is located for developing plug-ins for Flex Builder?  I know you can create plugins for Eclipse, but I haven't seen how you can import them into Flex builder without having it in the Eclilpse Marketplace.

    Hi,
    There are some plugin examples in osmf source code on sourceforge. You can start from an existing plugin to learn the basics - it will be a little easier than starting from scratch.
    What should your plugin do?

  • Trying to create a plugin for apex 4.0

    Hi,
    I wanted to try and create an RSS reader as a plugin for apex 4.0 on tryapexnow.com
    But I have run into the following problem:
    Request_Failed: ORA-24247: network access denied by access control list (ACL) ORA-29280: invalid directory path ORA-29280: invalid directory path ORA-29280: invalid directory path
    Is it possible to edit ACL list for a user on tryapexnow.com? Also, I wanted to make the plugin so that it can read any feed.. (url as attribute), but then I will have to add all sites I want to read to the ACL list?

    I ran the following on tryapexnow.com. Let me know if this doesn't work for you.
    Joel
    begin
    dbms_network_acl_admin.create_acl( acl => 'newz_dk.xml',
    description => 'news_dk.xml rule',
    principal => 'BJARKEKR',
    is_grant => true,
    privilege => 'connect' );
    dbms_network_acl_admin.assign_acl( acl => 'newz_dk.xml',
    host => 'newz.dk',
    lower_port => 80,
    upper_port => 80 );
    commit;
    end;
    /

  • Help: Creating logical directory for BFILE data type.

    I am trying to use BFILE datatype. For that I tried to create
    directory using the command [ create directory 'test_dir' for
    'physiacl_path' ] . It gives error ORA-22929, which says
    'Invalid or missing directory name'.
    I tried this on UNIX (Oracle 8) and NT (Oracle 8I) and same
    problem comes.
    Please send us any nearest solution to this problem.
    Thanks
    Pawan
    null

    Pawan Kumar (guest) wrote:
    : I am trying to use BFILE datatype. For that I tried to create
    : directory using the command [ create directory 'test_dir' for
    : 'physiacl_path' ] . It gives error ORA-22929, which says
    : 'Invalid or missing directory name'.
    : I tried this on UNIX (Oracle 8) and NT (Oracle 8I) and same
    : problem comes.
    : Please send us any nearest solution to this problem.
    : Thanks
    : Pawan
    When I use this command [create directory 'test_dir' for
    : 'physiacl_path'] I get an error ORA-00905.
    Instead of 'for' use 'as' and this will work.
    That is, use the command:
    [ create directory 'test_dir' AS
    : 'physiacl_path' ]
    null

  • Need Help creating Icon overlays for my SVN Client

    Hi I am currently writing an cross platform SVN client. I have icon overlay working in windows and linux. This is a small image that sits on top of the normal icon in finder and represents the current state of the file, e.i out of sync, up to date, un-versioned. But am really struggling trying to get it to work in OSX. At this point I only want it to work in snow leopard. This is where I have got to so far.
    I managed to create a QL plugin that worked. The only issue with QL plugins is that you have to specify what file types your plugin works for, (my sample worked for gifs). Unfortunately I don't know that as it needs to work for every file and folder on the system that contains a subfolder called .svn. So with a week of reading I have come to the decision that the only real way around this is to override the QLThumbnailImageCreate function that finder calls and replace it with my own if I find a .svn or call the original if not. However if this is the only route I have not been able to get any code to work that will replace the function with my own.
    If any one can show me an example of switching that function, or has an alternative solution. Or knows the LSItemContentTypes type that means my plugin will fire for every single file, then I would be very happy. I've spent no more than 2 days getting this to work on windows and linux, but I've spent soooo many hours on OSX. Any help would be great.

    DanUK wrote:
    Thanks for your reply etresoft. I know it definitely is possible because the application dropbox does it.
    I'm not so sure. People working on the SC Plugin SVN program have been trying to do that for years. I don't know if they have ever gotten it to work.
    But unfortunately its not open source so I can find out how they did it. The only other way I can do it is to monitor file system changes and then set a custom icon. But this has many draw backs. such as custom icons are persistant and will remain even when my software has been uninstalled.
    I think you should really look into using labels. An SVN/CVS user probably isn't going to be using icon view anyway. Labels will be far more useful in real life. Custom icons are just a gimmick.
    I using QT Creator to write the software so if you fancy a go I can share the project with you.
    Perhaps we should stick to our respective SCM programs. I'm not a fan of QT either

  • Help with updating plugin for raws on a mac please

    Hi,
    I've got a mac on os 10.4.11 with 2 GB of memory.
    I had Elements 4.0 on it, but had to upgrade to the current release to get compatibility with my new camera and it's raw format.
    I installed Elements 8.0, and it worked fine but needed a plugin upgrade to see my new cameras raws.
    I then followed the installation instructions (except the part about the Camera Raw.8bi file which doesn't seem to exist on my system...??)
    to go to the plugin v 6.1 (also tried v6.2) and when I do, and I relaunch Elements, it doesn't recognize the file, and if I click Photoshop Elements > About Plugin > Camera Raw ... I get the error "Could not complete the Camera Raw command because there is not enough memory (RAM)" -- this makes no sense to me given that I have 2 GB on the machine, and am not running any other software. Here are the steps I took to do the update of the plugin:
    Download it
    Stop elements
    drill the folder where the orig plugin is (in the plugins\file formats directory)
    Replace the original plugin with the new one
    Start Elements
    run the cameraprofiles.mpkg file
    Stop Elements
    Start Elements
    click Photoshop Elements > About Plugin > Camera Raw ...
    <Error as stated above>
    so, what the heck am I missing?
    Thanks
    Dave

    Okay, something is wrong with your procedure.
    You need to go here:
    http://www.adobe.com/support/downloads/product.jsp?product=40&platform=Macintosh
    and download the plug-in. (I'd stick to 6.1 for right now, since several people are reporting problems wit 6.2, if your camera works with 6.1).
    Put the .plugin file in the specified location (per the readme file), but you must remove any older versions first, no matter what the instructions may say.
    To update bridge, go to Help>Updates in bridge, but you can't update bridge past ACR 5.7.

  • Help creating a script for backup

    Hi everybody,
    I would like to make some backups using rman and recovery flash area on oracle10g on my Debian.
    I would like to make a full backup level 0 on Sunday and make incremental backups from Monday to saturday.The best would be to have one for hot backup and one for cold backups.
    But I am wondering how to schedule a task using rman. For example is it possible to write a script that would make the backups at a desired time executed by oracle?
    Or do I have to create a script on unix that should be executed by cron?
    You know I am really bad at scripting, but it would really help me if you could help me creating a script that would make the backup automatically on sunday at midnight and incremental eveydays until sunday.Here is the information I need to put in a script:
    #flash recovery area creation under sqlplus
    SQL> ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE = 10g SCOPE=BOTH SID='*';
    SQL> ALTER SYSTEM SET DB_RECOVERY_FILE_DEST = '/home/oracle/flash_recovery_area' SCOPE=BOTH SID='*';
    #setting the default variable
    ORACLE_SID=iscream;
    #connect to target database:
    rman TARGET SYS/oracle@iscream NOCATALOG
    #set the defaults values for rman
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE BACKUP OPTIMIZATION ON;
    Any help will be appreciated
    synthese
    hot backup
    using rman
    using flash_recovery_area
    full backup set compressed on sunday
    incremental backup set compressed from mondy to saturday
    using disk
    policy retenttion 7 days
    redondance 2

    You can backup using some unix shell scripts.
    rman is not really good one.

  • Help creating a Wait for event step

    Friends,
    I'm working in the following way:
    1-My workflow to create a vendor is triggered.
    2-Fork with 2 flows (1 to terminate):
    2.1- if user executed XK01 by wi and created the vendor;
    OR
    2.2- if the user executed xk01 directly and created the vendor, by exit, I call an event... that is in a Wait for step task. But it is not working. in swel it is givin me the message: 'Linkage deactivated'.
    please help me!

    Steady on there Amandeep...
    1. Don't change the error feedback settings on the event linkage directly.  Leave it on "system setting".
    2. Go to transaction SWEQADM and select the "Basic Data" tab.
    3. On the basic data tab set the "behaviour on error feedback" to:
    a) "Mark linkage as having errors" - if this is a QAS or PROD system - that will let you redeliver the event from SWEQADM once you have fixed the problem.
    b) ""Do not change linkage" - BUT ONLY!!!!!!!!! if this is a development system where no-one cares where dead workflow instances go.  And usually I would recommend making the development system "Mark linkage as having errors" too - gets you used to the event problem diagnosis/redelivery process for when you get to QAS/PRD.
    The most common problems I see for deactivated event linkages is workflow definition not activated, or mandatory import container elements not provided in the workflow/event binding.
    Regards,
    Jocelyn

Maybe you are looking for

  • Ipod touch cannot determine my location.

    Hi all [I know this have been asked before and I was going to join that discussion but it was so long ago the threads been archived] I won an ipod touch 8G about a week ago, found it so amazing I went and brought the 32G version as my wife wanted the

  • I'am using nokia c6-01 with belle refresh

    please help to extend my unlimited music download.. There is no slip of paper box ...

  • Poor performance with aperture 3.1.1 on macbookpro

    Installed aperture 3.1.1 and imported my old iphoto library with approximately 12k images. I have already disabled faces but still have serious performance issues with: a) opening aperture, b) browsing the library, c) clicking an image in the library

  • IMac says This Software Cannot Be Installed On This Computer

    My iMac has just had a new HDD fitted and im trying to re install 10.4 on it and it comes up with "ALERT - This Software Cannot Be Installed On This Computer" what can i do?

  • Limit directory access in GWEB server

    Hello all, we are Using the gweb server to run our analysis web site, and found a security concern.  Our web system needs access to the cgi-bin directory and all its sub directories (20+) in order for the system to operate properly, but we have found