How to create several youtubeclips in different videocontainers

Hi guys,.

I'm new on board and in this forum:

I read the entire discussion about creating several youtube clips in a single container:

http://forums.Adobe.com/message/4722007#4722007

Do I have to do is have different containers on the same page with different you tube videos.

I tried a single container and the method suggested by RUSSmsn:

///////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

1. RussMSN,.

  

18-game-2012 5.05 in reply to Kirch12

So, as I did it was like this:

Create the button and open the code for this button.  Create a click action.  In the code pane, paste this:

var youtubevid = $("< iframe/>");
SYM.$("vContainer"). Empty(). Append (youtubevid);
youtubevid.attr('type','text/html');
youtubevid.attr('width','425');
youtubevid.attr('height','350');

youtubevid.Attr ('src','http://www.youtube.com/embed/ykF1y2EJ2nI');  URL/Video_Id
youtubevid.attr('frameborder','1');       // 1 | 0
youtubevid.attr('allowfullscreen','0');   // 1 | 0

That what is empty the existing vcontainer and place a new one with the new youtube video.  You can add this to many buttons that you obviously want change the URL ID for each, and it must exchange the video for you with a click.

Hope that helps!

Russ

///////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////

///////////////////////////

and it works perfectly...

The problem is that I want to add more videos in the same page...

I tried to create

var youtube2 and vcontainer2, but it did not work...

So I tried to move my first vcontainer to the second position in my page adding a label "button2":

startup code

SYM. Play ("button2");

var youtubevid = $("< iframe/>");

SYM.$("vContainer"). Empty(). Append (youtubevid);

youtubevid.attr('type','text/html');

youtubevid.attr('width','800');

youtubevid.attr('height','390');

youtubevid.attr ('src','http://www.youtube.com/embed/ykF1y2EJ2nI'); / / url/Video_Id

youtubevid.attr('frameborder','1');       // 1 | 0

youtubevid.attr('allowfullscreen','0');   // 1 | 0

end of the code

but this solution did not work or...

I wonder if it is possible to have 2 videos on the same page...

I have followed the suggestion of .heathrowe:

http://www.heathrowe.com/Adobe-edge-preview-4-append-YouTube-video/

Once again in the action panel step after creating a ready composition, I tried to add a second youtubevid2 var and a second vcontainer2 of container like this:

beginning

var youtubevid = $("< iframe/>");

SYM.$("vContainer"). Append (youtubevid);

youtubevid.attr('type','text/html');

youtubevid.attr('width','800');

youtubevid.attr('height','390');

youtubevid.attr ('src','http://www.youtube.com/embed/GqcPh3OXoNo'); / / url/Video_Id

youtubevid.attr('frameborder','1');       // 1 | 0

youtubevid.attr('allowfullscreen','0');   // 1 | 0

var youtubevid2 = $("< iframe/>");

SYM.$("vcontainer2"). Append (youtubevid);

youtubevid.attr('type','text/html');

youtubevid.attr('width','800');

youtubevid.attr('height','390');

youtubevid.attr ('src','http://www.youtube.com/embed/DF6QvYNHjQ'); / / url/Video_Id

youtubevid.attr('frameborder','1');       // 1 | 0

youtubevid.attr('allowfullscreen','0');   // 1 | 0

end

-but still once, it did not work

To be clear, I want to create a page similar to www.bestofyoutube.com with a list of two or more videos in the same page...

Any suggestions?

Thanks in advance

For you second instance you forgot to change the references to variables, changes in bold below

var youtubevid2 = $("");

SYM. $("vcontainer2") .append (youtubevid2);

youtubevid2.attr('type','text/html');

youtubevid2.attr('width','800');

youtubevid2.attr('height','390');

youtubevid2.attr ('src','http://www.youtube.com/embed/DF6QvYNHjQ'); / / url/Video_Id

youtubevid2.attr('frameborder','1'); // 1 | 0

youtubevid2.attr('allowfullscreen','0'); // 1 | 0

Darrell

Tags: Edge Animate

Similar Questions

  • How to create several classes of cascade?

    Goal: Create the button to start and stop the service.

    Situation: One button works.

    However, whenever I click on another button, the button does not work.

    Question: how to create several classes of cascade?

    or something wrong in my code?

    Mini code:

    Calls a CPP QML.

    ApplicationUI::ApplicationUI (bb::cascades:Application * app): QObject (app)

    {
    QmlDocument * qml = QmlDocument::create("asset:///main.qml").parent(this);

    CameraWrapper * wrapper = new CameraWrapper();

    QML-> setContextProperty ('wrapper', wrapper);

    AbstractPane * root = qml->() createRootObject;
    App-> setScene (root);
    }

    And then, QML calls another RPC.

    import bb.cascades 1.0

    {Page}
    {Of container
    layout: {DockLayout}
    }
    Button {}
    text: qsTr ("Start")
    onClicked: {}
    wrapper.startRec ();
    }
    }
    Button {}
    text: qsTr ("Stop")
    onClicked: {}
    wrapper.stopRec ();
    }
    }
    }
    }

    The main CPP:

    #include "cam.hpp".

    using namespace bb::cascades;

    {CameraWrapper::CameraWrapper()}

    int CameraWrapper::startRec() {}

    This button works.

    }

    int CameraWrapper::stopRec() {}

    This button does not work.

    }

    The main.hpp

    Class CameraWrapper: public QObject
    {
    Q_OBJECT
    public:
    CameraWrapper();
    Virtual ~ CameraWrapper() {}

    Q_INVOKABLE
    int startRec();
    int stopRec();
    };

    Thank you for your attention,

    Finally, we use the thread to solve the problem.

    Solution:

    loopWrapper (void * test) {void *}
    CameraWrapper * a = (CameraWrapper *) test;
    a-> startRec();
    return null;
    }

    setFlagWrapper (void * test) {void *}
    CameraWrapper * b = (CameraWrapper *) test;
    b-> setFlagFalse)
    return null;
    }

    void * CameraWrapper::setFlagFalse (void * arg) {}
    exit_application = false;
    fprintf (stderr, "Flag changed to false\n");
    return arg;
    }

    void CameraWrapper::runLoop() {}
    pthread_create (& thread_a, NULL, & loopWrapper, (void *) this);
    }

    void CameraWrapper::runSetFlag() {}
    pthread_create (& thread_b, NULL, & setFlagWrapper, (void *) this);

  • How to create several users at once.

    Hello experts.

    I need to create many users to the Administration tool.

    But there too many times.

    Please let me know how to create several users at once.

    If you have 1000 + users you should not use the SPR, take a look at the authentication of the external table:

    http://obieeblog.WordPress.com/2009/06/18/OBIEE-security-enforcement-%E2%80%93-external-database-table-authorization/

    concerning

    John
    http://obiee101.blogspot.com/

  • How to create several site VPN on Cisco 2801

    Hello

    We use 2801 to our VPN needs. We have already configured a VPN site-to site inside. My current scenario is to create several VPN IE at different sites and a remote client VPN server for our road warriors (they use a cisco VPN client to connect).

    Let me know how can I achieve that scenario. Currently we have in VPN profiling in place. can I fill the script using VPN profiles, how it can be used. Kindly advice me at the earliest.

    Please find attached the 2801 direct configuration file, which is quite works very well

    Thanks in advance.

    Djamel.

    Djamel

    As much as I know it does no harm to have political isakmp 9 and isakmp 10 with the same parameters in each of them. But it also is not good. Others that extra isakmp policy I don't see anything that seems problematic in the config you have posted.

    HTH

    Rick

  • How to combine several forms in different KEY1/KEY2 should they be in different keys?

    Hi all

    Just trying to get some ideas...

    If I had several forms of large lists in different key1/key2, any idea on how I could trigger several forms in different keys to create a transaction?  I would specify trigger information in the incoming xml.

    Thank you!

    Depending on the version of your product, it is possible to have triggers on several Key2s within the same Key1. These triggers are assigned in the definition of Application (BDF) within the DMStudio Manager.  A transaction specifies the Key1 + Key2 primary in the usual way and then if there is no other Key2s under this Key1 with triggers, those who will be assessed. If True, then any triggerss within this Key2 will be also allowed to evaluate and added to the document.  Note that triggered the Interior forms a Key2 grouping remain the Key2 group in your document that results.

  • How to create several contours growing with every distance equal to the original form?

    outlines.png

    Here is a very simple example... It works with a circle or a square, obviously because he has the same height and width. The problem is when you have irregular shapes (or in this case, an oval). I know I've seen solutions to this in the past, but I can not just think how Word of this question and find them.

    I know that you can create several shots of an object in the appearance palette, but I'm looking for something more effective than simply STROKE color > white line > race color > white race > etc.

    Some examples of the kind of effect I'm looking for.

    FRSH-SLCTS-Captain-Murphy-DUALITY-494x494.jpg

    captain-murphy.jpg

    Any help would be greatly appreciated.

    You must use the path of the Offset. Object > path > offset path. Use negative numbers to go inside a form existing, positive to go outside.

    [signature removed by the host of the forum - advertising is prohibited]

  • How to create several data on local storage scsi stores

    Hi all

    If you have a host ESX 3.5 local scsi storage with how you create multiple data warehouses. I would like to create 2 data warehouses. One for my virtual machine and one for my ISO. I tried 2 partitions VMFS3 partitioning at the time of the creation of ESX but when I remove the storage to rename it it only allow me to create 1 data store? Is this possible?

    Is there a downside to simply create a folder in 1 ISO called data store and empty my iso files it?

    I would also like to point out that I have only 1 raid controller

    you will need to manually partition the free space of the Service Console using fdisk.

    If its only for a store, I wouldn't bother.

    Just create a folder like you said yourself, without inconveniences, except that you have to watch out you don't fill your data with the ISOs and other stuff store.

  • How to create several option buttons in dialog related?

    As in the title.  I am trying to create a user interface in which each radio button in dialog operates a group of controls and options and translates into a subtly different execution of VI.  Only one radio button dialog option are selectable at any time.  Keeping in mind I use LabVIEW 6.1 (just if you don't go suggesting one of these last functions Cree ) if someone could suggest a way to achieve my goal.

    You thanking all in advance...!

    James

    P.S. I can't reach my 'code' that I it starts from scratch.

    No control radio in LabVIEW 6 button...

    There is an example provided with LabVIEW 6 that showed you how to simulate a group of radio buttons.  It is in the section "Advanced examples-> customization control and VI examples-> Custom Control Examples". It's (correctly) called "simulating the Radio buttons.

  • How to create a SelectOneChoice using different Tables in the database

    Hi all

    I have a requirement where I have two tables have been created in the database: -.

    Master
    Slave

    Main table has columns as Id and Name. Are similar to values associated with the columns: -.
    ID:-1, 2, 3
    Name:-mobile phone, T-Shirts, bags of University

    In the table of the slave I have columns like Id and elements. Are similar to values associated with the columns: -.

    ID:-1.
    Items:-Nokia, Samsung, Motorola
    ID:-2
    Items:-Adidas, Reebok, Gucci
    ID:-3
    Items:-Reebok Adidas, VIP,.

    I need restore the values of mobile phones (Nokia, Samsung, Motorola), in SelectOneChoice1, t-shirts (Adidas, Reebok, Gucci) values in SelectOneChoice2 and bags of University (Adidas, Reebok, VIP) in SelectOneChoice3.
    I have two controls of data with me, it is main table and isn't the slave table but how do you get the different values in each of the SelectOneChioce.

    Please suggest. !!
    Thank you

    chk
    http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-Oracle-ADF-11g-update.html
    http://www.YouTube.com/watch?v=nXwL2_RP7AQ
    http://blogs.Oracle.com/Shay/entry/got_to_love_cascading_lovs_in

  • How to create several IF = display then

    Hello

    I have a document of numbers with 2 sheets, and I use it to calculate the postage costs. I have a sheet that has costs for each weight (100 g, 200 g... 800 g), and I'm trying to enter prices in weight on the second worksheet.

    Basically I want to do is have the following (imagine that each row is a column of a row):

    Name of the product ()Entered manually) for example socks

    Weight of the product (so already rounded to 100g, don't have to worry about lines) for example 200 g

    Cost of shipping the product (taken from the cost of sheet 1 to send weight given) for example, £ 5.00

    How to display this value?

    I searched everywhere trying different methods, but I can't seem to make it work.

    Any help much appreciated

    Jonny

    I managed to solve this problem by using the SUMIF formula:

    SUMIF(B3,800,$World zone 2 Economy cost $800) +.

    SUMIF(B3,700,$World zone 2 Economy cost $700) +.

    SUMIF(B3,600,$World zone 2 Economy cost $600) +.

    SUMIF(B3,500,$World zone 2 Economy cost $500) +.

    SUMIF(B3,400,$World zone 2 Economy cost $400) +.

    SUMIF(B3,300,$World zone 2 Economy cost $300) +.

    SUMIF(B3,200,$World zone 2 Economy cost $200) +.

    SUMIF (B3, 100, $World Zone 2 economy cost $100)

    Basically, if B3 shows 800, then show the sum of 'Costs in economics world Zone 2 800'. Sum is the only figure here because I'm not adding anything, and using this formula with $ about the cost of the economy world Zone 2 (column name) and 800 (value), then it retains these for copy - paste.

  • What is the purpose of the 100 MB Partition in Windows 7? How to create several Partitions in Windows 7?

    When I tried to install Windows 7, a named system reserved partition will be created, what is its use?
    If I re install Windows 7 without changing the partitions, the partition of 100 MB will be visible, how to hide?
    If I upgrade to Windows 7 Windows XP, this partition will not be created, is that it causes a low yield?
    During the installation of Windows 7 on a new computer, off-system reserved, only 3 new partitions will be created, how to avoid this, because I use Linux and Windows, so I need 7 partitions to create.

    Could someone please help

    This is for the Windows recovery environment (WinRE), also supplied with Windows Vista, only it has been available from the Windows Vista installation disc only, although some manufacturers make available on a partition separated on their factory facilities. In Windows 7, this feature is installed on all computers and is stored in the 200 MB partition if you are installing using a single partition scheme. However, if you are installing to a drive that has more than one partition, the recovery environment is stored in a folder at the root of your installation disc, so if you install to a partition with a label of C:\ she will be C:\Recovery.

    If I re install Windows 7 without changing the partitions, the partition of 100 MB will be visible, how to hide?

    Yes, it can be removed and by default it is hidden.

    If I upgrade to Windows 7 Windows XP, this partition will not be created, is that it causes a low yield?

    If you are upgrading from a previous version of Windows 7, the recovery environment is stored in a folder in the root of your installation disc, so if you install to a partition with a label of C:\ she will be C:\Recovery.

    During the installation of Windows 7 on a new computer, off-system reserved, only 3 new partitions will be created, how to avoid this, because I use Linux and Windows, so I need 7 partitions to create.

  • How to create several items

    Hello!

    I have a problem, at my request, I have to use form elements (text box, radio button,...) but I don't know how. It could be either one or maybe 50. I create image, so it will be easier to understand. So when I press the red button, I get a new line of my articles. is it possible for me to do something like that?

    image

    I hope you understand me and sorry for my bad English.

    TNX
    Dragan

    Hello

    Probably, you use in table form.
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/bldapp_frm.htm#BCEECEFA

    Or PL/SQL dynamic content area
    >
    PL/SQL dynamic content
    Regions in PL/SQL function allow you to HTML or text using the PL/SQL Web Toolkit.
    >
    and APEX_ITEM
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_item.htm#CACEEEJE

    Kind regards
    Jari

    -----
    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • How to create several rownum or auto

    Hi all

    I had a few problems in create number rownum or auto in condition of table subsequently.

    for example.

    POSIDONIA, and Desc MeasID
    ==== ====== ===
    P01 1 Abc
    P01 1 Cde
    P01 Abc 2
    P01 2 Efg
    P01 Xyz 2

    in a select statement, I would like to make it look like:
    NUM MeasID POSIDONIA, and Desc
    === ==== ====== ===
    1 P01 1 Abc
    2 1 Cde P01
    1 P01 Abc 2
    2 2 Efg P01
    3 2 Xyz P01

    How can I create a current issue and make as few short as group of POSIDONIA, then?

    Use analytics row_number:

    with t as (
               select 'P01' MeasID,'1' PosID,'Abc' Descr from dual union all
               select 'P01','1','Cde' from dual union all
               select 'P01','2','Abc' from dual union all
               select 'P01','2','Efg' from dual union all
               select 'P01','2','Xyz' from dual
              )
    select  row_number() over(partition by MeasID,PosID order by Descr) num,
            MeasID,
            PosID,
            Descr
      from  t
      order by MeasID,
               PosID,
               Descr
    /
    
           NUM MEA P DES
    ---------- --- - ---
             1 P01 1 Abc
             2 P01 1 Cde
             1 P01 2 Abc
             2 P01 2 Efg
             3 P01 2 Xyz
    
    SQL> 
    

    SY.

  • How to create several timestamps fileds in EDS data object?

    Hi all


    I am creating BAM BOF EDS data objects. I have provided information for the connections of the DB, during the recording of the data objects its not allowing the fields of timestamps.
    is there a workaround solution and please let me know the possibilities.

    Thank you.
    Swamy

    Hello

    Here is the SNA for this oracle docs question.from
    Note:

    Only the tables owned by the user are displayed when a data object is created on an EDS.

    Creating a data object with multiple fields of time on an EDS stamp is not supported.

    http://docs.Oracle.com/CD/E15586_01/integration.1111/e10224/bam_data_objects.htm#BABCEHBB

    http://docs.Oracle.com/CD/E15586_01/integration.1111/e10224/bam_extl_data_sources.htm

    Thank you
    Siva

  • How to combine several pages from different files together?

    I converted a Word document to PDF, now I want to combine pdf pages to the file, how can I do?

    Hi imherelawd,

    I see you have Abobe PDF Pack, you can use the feature files to combine to combine up to 12 files in a single PDF file. But, this function combines the whole files, the pages are not specific. If that's your goal, you will need to use Acrobat, which allows you to insert selected pages from a PDF in another. If you do not have Acrobat, you can try it free for 30 days. Please visit www.adobe.com/products/acrobat.html.

    Best,

    Sara

Maybe you are looking for