How to create several youtubeclips in different videocontainers

Hi guys,
i'm new in edge and in this forum:
I've read all the discussion about create several youtube clips in a single container :
http://forums.adobe.com/message/4722007#4722007
What i need to do is to have diffrent containers in the same page with different you tube videos.
I've tried one single container and the method suggested by RUSSmsn :
     1. RussMSN, 
       18-set-2012 5.05    in reply to Kirch12
     So, the way I did it was like this:
     Create the button and open the code panel for that button.  Create a click action.  Within the code panel, 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
     What that does is empty the existing vcontainer, and places a new one with the new youtube video.  You can add this to as many buttons as you like,      obviously changing the URL ID for each, and it Should swap the video for you on click.
     Hope that helps!
     Russ
and it works perfectly....
The problem is i want to add more videos in the same page...
I've tried to create
var youtube2 and vcontainer2 but it didn't work....
So i tried moving my first vcontainer to the second position in my page adding a label "button2" :
//start 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 code
but this solution didn't work neither....
I'm asking if is possible to have 2 videos in the same page...
I've followed also the suggestion of .heathrowe :
http://www.heathrowe.com/adobe-edge-preview-4-append-youtube-video/
Again in the stage action panel after creating a composition ready i've tried to add a second var youtubevid2 and a second container vcontainer2 like this:
//start
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 again it didn't worked
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

I use code
var youtubevid = $("<iframe/>");
sym.$("Rectangle").append(youtubevid);
youtubevid.attr('type','text/html');
youtubevid.attr('width','853');
youtubevid.attr('height','480');
youtubevid.attr('src','https://www.youtube.com/embed/Rmin8zXzF5g?rel=0');  // url/Video_Id
youtubevid.attr('frameborder','5');   // 1 | 0
youtubevid.attr('allowfullscreen','0');   // 1 | 0
I In Use button that closes the container, all is well it works!
but if you close the container when the video started, the audio from YouTube continues to play, tell me what code to hang on the Close button to stop the video from YouTube?

Similar Messages

  • HOW TO CREATE SEVERAL folder for the generation and READING FILE

    HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
    please give an example to create 3 folders or directories ...
    I appreciate your attention ...
    Reynel Martinez Salazar

    I hope this link help you.
    [http://www.adp-gmbh.ch/ora/sql/create_directory.html]
    create or replace directory exp_dir as '/tmp';
    grant read, write on directory exp_dir to eygle;
    SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
    Directory created.
    SQL> declare
      2    fhandle utl_file.file_type;
      3  begin
      4    fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
      5    utl_file.put_line(fhandle , 'eygle test write one');
      6    utl_file.put_line(fhandle , 'eygle test write two');
      7    utl_file.fclose(fhandle);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> !
    [oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
    eygle test write one
    eygle test write two
    [oracle@jumper 9.2.0]$
    SQL> declare
      2    fhandle   utl_file.file_type;
      3    fp_buffer varchar2(4000);
      4  begin
      5    fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
      6 
      7    utl_file.get_line (fhandle , fp_buffer );
      8    dbms_output.put_line(fp_buffer );
      9    utl_file.get_line (fhandle , fp_buffer );
    10    dbms_output.put_line(fp_buffer );
    11    utl_file.fclose(fhandle);
    12  end;
    13  /
    eygle test write one
    eygle test write two
    PL/SQL procedure successfully completed.
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdump
    SYS                            EXP_DIR                        /opt/oracle/utl_file
    SQL> drop directory exp_dir;
    Directory dropped
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdumpRegards salim.
    Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM

  • How to create session id from different string controls

    how to create session id from different string controls

    fais,
    Please create the VI you are talking about and save some default data into all of the controls. Also on the front panel, place the session ID that should be generated by that data. Now, post your VI to a response so I can download it. I can then take this VI and help you create the functionality. (Please post what version of LabVIEW you are using.)
    My guess it that you are going to need to use a good number of string concatenations as well as a few string indexes to get parts of strings out. As for the date, you can use a Property node with the Numeric Text.Text property to get the actual string displayed on the front panel for the date and parse out the parts that you want.
    Randy Hoskin
    Applications Engineer
    National Instruments
    h
    ttp://www.ni.com/ask

  • How to create Analysis from two different subject areas with diff models

    Hello,
    I have problem with create analysis from two different areas with two different models (Model Star and Snowflakes) build in BI Admin tools.
    First Model A = Subject Area A have one fact tables (with measures) and three dimensions tables (Model Star)
    Second Model B = Subject Area B have one fact table (no measures) and five dimensions tables (Model Snowflakes).
    I'm looking solutions how I can give good results. In this case I can't use UNION, INTERSECT etc., because this models haven't the same number column and data type?
    whether it is possible to do in OBIEE?
    Please help me
    Kind regard
    robix

    Hi
    One thing to understand is that if your are imagining having two Subject Areas (SAs) displayed and then dragging columns from each into your Request without any preparation, then no, that can't be done. You would need to do a join in the BMM layer and expose the column from the second Subject Area in the presentation layer.
    But if you indeed interested in UNION (or intersect) queries, then do this:
    Build your first query in the first SA in the usual manner. Note the number of columns and the data types of each column.
    Now at the bottom of the Criteria workspace, there is a button called "Combine with similar request." Click it.
    Select your second SA. You will note that the outlines of the columns in your first query appear. This is to remind you that the number of columns in this second query must be the same as in the first. It also shows the data type of each column for the same reason.
    Once you select your columns and your filters, click on result. (Oh, you will also need to decide what kind of combination you want -- click on the dropdown.) The result will be a new Request that has data from both SAs in the query and combined in the manner you select (union, intersect, etc.)
    That should give you a start.
    http://obiee101.blogspot.in/2010/08/obiee-combine-with-similar-request.html -- Read this link this is good one to understand with screen shots. -- OBIEE 10g
    http://oraclebiee11g.blogspot.in/2011/01/querying-across-multiple-subject-areas.html -- OBIEE 11g
    Award Points it is useful.
    Thanks
    satya

  • How to create several fast loading big albums in iWeb using your own templates

    hi guys - here comes one for the real cracks.
    i am trying to create a nice PICTURES page containing about 100 albums with each of it containing up to 100 individual pictures on my website, where i also have several videos online and (soon) audio files - everything available for download.
    my problem is that the main "My album" page in iWeb will always ALL sub albums on just one page, which would in my case lead to endless loading time - i have now 30 albums online and it already takes ages to display all of them.
    so i want to create several album pages, each of them displaying only 6 individual sub albums and this way allow a decent page loading time. this is usually done by just adding a new "my album" page using one of apple's templates. and here is my problem: my web site design is made from scratch and is not similar to any of apple's templates. since iWeb does not allow you to save your individual pages as "templates" i had to go a long way around, using iWebsites and merge a newly created picture template page (containing my own duplicated "my album") with ma main site. for some reason this did almost work out but in the end not really - if you are interested have a look at the separate discussion in this forum
    https://discussions.apple.com/message/15532580#15532580  (how to save any iWeb page as a template)
    so my question here is if any of you know of any other way to achieve my goal of getting several individual main albums containing 6 subalbums (this way it fits on one page and allow NOT having to scroll down at all) and this in a way which will fit the design of my web page. have a look at the now existing pictures page and imagine that i want more or less the same but divided in individual pages containing only 6 albums per page:
    http://www.giorgiodellapietra.com/giorgiodellapietra.com/PICTURES/PICTURES.html
    here an example of how it should look like in the end:
    http://www.giorgiodellapietra.com/giorgiodellapietra.com/PICTURES/Seiten/MIXED.h tml#0
    thank you very much for your impact.
    cheers
    george

    hi folks
    don't worry, i have given up as it really seems iWeb can not do this.
    however, i have identified 2 possible solutions. the one i have chosen is to simply add new albums by choosing one of apple's templates and then modify it until it fits my design. i have created 15 additional main albums this way and it took me (because of the "mass production") only 15 minutes per album to get it done. now i have enough empty albums spare for the next few years...
    the other way to accomplish what i wanted would have been to make the main "my album" page invisible for visitors and use it only for administration (so it can contain 100 albums but nobody would ever have to wait until they load). then create a new page which i call picture (copy any of my other pages and modify it) on which i will post some "virtual albums", which means use any picture out of an album and create a direct link to the album. i could use a vary low resolution version of the main pic and this way i would have a "picture" page which loads extremely fast but is actually nothing else than a link to the real album. then just copy this page as many times as i need albums and change the pictures and the links in it. the advantage is that it loads very fast, the disadvantage that i loose the ability to scroll through albums by moving the mouse over it, as what you see is of course only a picture and not the album.
    i have chosen the first version because it has the advantage to be able to move albums as one pleases. however, both versions would be fine.
    it's already done and eaten.
    thanks anyway for reading yourself through this...
    cheers
    george

  • How to create DVD recovery on different language?

    I bought Satellite 655-149 with windows 7 64bit turkish, I would like to install windows XP russian. How to create DVD disk with drivers?

    Hey,
    I agree with the user above. The recovery disk that you create, contains the same language as preinstalled OS.
    For example if an English version is preinstalled, the recovery disk contains only English language.
    If you want another language you have to buy a new version of Windows 7.
    Last but not least on Windows 7 Ultimate you can use different language packs:
    http://support.microsoft.com/kb/972813

  • How to create several custom packaged kernels?

    Hi all,
    Yesterday I created my own kernel with makepkg and obtained a kernel-*.tar.gz package. After
    pacman -U kernel-*.tar.gz
    it replaced my old kernel image and (probably) libraries. I realize that this kind of action is a bit dangerous and it is preferrable to have several kernel images living happily next to each other, having lilo or grub for selecting between them.
    What should one do in order to get several packages with different kernel images so that they would not conflict?
    Thanks,
    Jan

    This was posted by orelien a little while ago.  I've adjusted it for my needs but here's the original.  It probably has to be modified to fit more of what the arch kernel looks like now.
    # $Id: PKGBUILD,v 1.20 2003/03/20 00:19:48 judd Exp $
    pkgextraver=-custom
    pkgname=kernel$pkgextraver
    pkgver=2.4.20
    pkgrel=1
    pkgdesc="The Linux Kernel"
    backup=('boot/kconfig-'$pkgver$pkgextraver)
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-$pkgver.tar.bz2
    config mkinitrd mkinitrd.conf linux-2.4.20-ptrace.patch)
    build() {
    kernel_version=$pkgver$pkgextraver
    rm -rf $startdir/pkg/*
    cd $startdir/src/linux-$pkgver
    patch -Np1 -i ../linux-2.4.20-ptrace.patch
    cp Makefile Makefile.backup
    sed "s/EXTRAVERSION =/EXTRAVERSION=$pkgextraver/" Makefile.backup > Makefile
    cp ../config ./.config
    yes "" | make config
    make dep clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot,bin}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map-$kernel_version
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz-$kernel_version
    # cp $startdir/src/nash $startdir/pkg/bin
    mkdir -p $startdir/pkg/usr/src/linux-$kernel_version/include
    cp -a include/linux $startdir/pkg/usr/src/linux-$kernel_version/include/
    cp -a include/asm-i386 $startdir/pkg/usr/src/linux-$kernel_version/include/
    cd $startdir/pkg/usr/src/linux-$kernel_version/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$kernel_version
    cd $startdir/pkg/lib/modules/$kernel_version &&
    (rm -f build; ln -sf /usr/src/linux-$kernel_version build)
    cd $startdir
    # ./mkinitrd -k "$pkgver" -o image
    install -D -m644 src/config $startdir/pkg/usr/src/linux-$kernel_version/.config
    install -D -m644 src/config $startdir/pkg/boot/kconfig-$kernel_version

  • How to create a report with different page sizes

    Hi,
    I would like to create a report with different page sizes, it's possible to do it with diadem?
    When I change the layout parameters, changes afect to all sheets...
    Is there a way to change page size individually for each sheet?
    Thanks in advance.
    Marc

    Hi Marc,
    You can use the DocStart and DocEnd commands along with the PicPrint command to spool multiple print commands to the same output PDF file using the direct printer approach.  This should enable you to programmatically specify the page size differently for each sheet that you add to the print job.
    ' Print PDF Page by Page.VBS
    OPTION EXPLICIT
    Dim i, Path, OldPrintName
    Path = AutoActPath & "2D Stacked"
    Call DataDelAll
    Call DataFileLoad(Path & ".TDM")
    PDFFileName = Path & " Page by Page.pdf"
    IF FileExist(PDFFileName) THEN Call FileDelete(PDFFileName)
    OldPrintName = PrintName
    PrintName = "winspool,DIAdem PDF Export,LPT1:" ' Set to PDF printer
    PDFResolution = "72 DPI" ' "2400 DPI" , "default"
    PDFOptimization = TRUE
    PDFFontsEmbedded = FALSE
    PDFJPGCompressed = "high"
    PrintOrient = "landscape" ' orient paper
    Call PrintMaxScale("GRAPH") ' auto-max, see alternative margin setting variables below
    PrintLeftMarg = 0.181
    PrintTopMarg = 0.181
    PrintWidth = 10.67
    'PrintHeigth = 7 (read-only)
    Call WndShow("REPORT")
    Call DocStart ' Begin multi-page document/print job
    FOR i = 1 TO 4
    Call PicLoad(Path & ".TDR")
    Call GraphSheetNGet(1)
    Call GraphSheetRename(GraphSheetName, "Page " & i)
    Call PicUpdate
    Call PicPrint("WinPrint") ' Add a page to be printed
    NEXT ' i
    Call DocEnd ' End multi-page document/print job
    PrintName = OldPrintName
    Call ExtProgram(PDFFileName)
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to Create ACCESS key for different users

    How to create or generate an ACCESS KEY which is required to make changes to the table V_FAGL_ACTIVEC (For New General ledger) for IDES 6.0. Is it created in table DEVACCESS, if so where or is it created in SU01 where user id's are maintained. Since I am working on IDES, I thought probably we can create it for each user in SU01, but dont know the steps to do it. Please help me. It is urgent.

    Hi
    ACCESS KEY - First of all its provided by SAP. You can get the key from http://service.sap.com -> SAP SUPPORT PORTAL -> Keys & Requests -> SCCR Keys -> Registration. Here u can register a DEVELOPER or an OBJECT, by this time SAP will give the ACCESS KEYS.
    **Note : To access http://service.sap.com u should have S number login or like that.
    Only after obtaining that ACCESS KEY, SAP will allow the DEVELOPER to create some objects or change or modify Delivered objects.
    Why ACCESS KEY - For creating or accessing any object some one should be responsible. Suppose, any issue arises with an object then can easily track the details who has created or modified.
    Reward with suitable points

  • How to create several Adobe Forms ??

    Hi everybody:
    I need to create several Adobe forms in my webdynpro application, for example: take data from a table and create such forms as rows in table. Right now, my app. only is able to create 1 adobe form (with the data of the first row). It is posible or not???
    Thanks in advance!
    any idea would be util....
    Les.-

    Hi,
    Look at this eLearning Documents. This a good way to start.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
    Regards.
    Marcelo Ramos

  • How to create several procedures from several script files?

    Hello,
    I have several procedures for SAP HANA. Every procedure is stored in a script file. I can only use SAP HANA Studio.  How can I easily  run all script files to create all procedures on a schema? Can somebody help me?
    Best regards,
    Y.Hu

    Hi Fernando,
    Thank you very much for you explanation.
    My scripts contain native sql statements for creation stored procedures “CREATE PROCEDURE … AS BEGIN … END”. They are not objects for or from Content/package. The procedures should be created direct in a project schema.
    The option with hdbsql command line is not possible because I may not use hdbsql (unfortunately not allowed for me).
    The option all scripts into a big file is a possible option for me. The big file has only 1600 lines. But there is a  strange problem with the text “FOR” in script (please see the thread http://scn.sap.com/thread/3728741 ). Unfortunately SAP HANA Studio cannot run my big script. 
    I hope there is a solution or workaround for this problem.
    Best regards,
    Y.Hu

  • How to create web items with different quantities?

    Hi,
    I have B1 inventory items that are single items but we will be selling them on the web as 'packages' of different quantities.  For example, we would like the user to be able to select the web item, then be presented with a drop down (attribute) of case (10 items), 1/2 pallet (80 items) or full pallet (160 items).  Is it possible to setup a product line master which is a B1 inventory item, then define the child items, non B1 items, and somehow have the proper quantities ordered?  (ie. ordering 2 cases creates a B1 order for our parent item with a quantity of 20)
    If I can do this, I have another concern.  Since we are currently using our test database, if I setup all of these child items and create the parent/child relationships, will these be lost once we swtich the database over to our live/production database?
    Thanks,
    David

    Personally, I would add the javascript to the Item's description with additional drop downs there, upon selecting the drop down, this would populate the QTY field which i would hide via javascript as well, but will be passed on to the Cart/checkout page.
    There is a somewhat similar discussion here:
    [Re: Custom price logic|Re: Custom price logic]
    James

  • [SCORE] How to give several notes a different color?

    Hello,
    Is it possible to give all notes with a certain pitch a different color in the score window? So let's say all the A# notes are red, and all the others remain black. How can I accomplish this?
    Thanks in advance.

    Hi
    Sure!
    Colours can be assigned in the Staff Style editor, or you can assign by pitch, velocity, voice assignment and the like.
    See
    Score Editor:View:Colours and Layout:Colours.
    For details see p995 and 1257 of the pdf manual.
    To get only 1 note a different colour, you could do it by velocity, or, if that's not helpful, changing the default Pitch Colours.
    HTH
    CCT

  • HT4968 How to Create Birthday Calendars using different contact groups.

    I am trying to create photo calendars as a gift including birthdays using either iCloud or iPhoto 11. However each calendar is different - do not want all birthdays on all calendars. I've tried creating separate contact groups but it seems they all appear no matter what. Isn't there a way to create a master birthday list and assign each person to the calendars that I want the birthday to appear on?
    I am using Mac OS X 10.8.5 and have Adobe Creative Cloud, iPhoto, etc.

    Hi Chirag,
    I've read the following link, but the question is....
    - Where is the link to create transport groups? That is my only question It's as easy as that
    Found it...sorry I knew it was easy
    Edited by: Gonçalo Mouro Vaz on Dec 20, 2007 5:13 PM

  • HT4314 How to create several game center accounts using one apple id?

    I have both ipad and iphone. How can i play with my wife/son via game center?

    varjack:  I guess we're just talking about semantics at this point.  What I was saying is:  you absolutely can have multiple accounts in Game Center and still use the same Apple ID to sign in / make purchases across multiple devices - which I think was what the OP was asking.  I would call them "Game Center accounts" instead of Apple IDs because you never actually log into your device using those accounts - only Game Center.  What you are saying is that they are also Apple IDs.  Either way, the terminology is confusing.
    Suffice to say:  the OP can have multiple accounts through Game Center - one for each device - but still keep the "main" Apple ID for making purchases and sharing apps across both devices.  To do this, make a new account in Game Center for the second device.
    Luisno9:  If you're asking is it possible to merge the data from the two accounts, my guess is no.  If you're asking how to log in using only one account excusively, you could try deleting the second account (if that's possible - I haven't tried), although I'm sure you'd lose your place in the game.  Finally, if nothing else works I'd suggest only opening your apps using the same method each time to avoid the problem.  Sorry that's not more help!

Maybe you are looking for

  • MSI X48c Platinum boot problem

    Hi, I recently bought a X48c Platinum and it was working fine for the last 3 weeks, but when tried to turn on my computer this morning, it failed.  (I did not change anything in my configuration.) The power led turns on and the HDD led blinks at a fi

  • Archlinux 2.6.27 on HP nc6000, bad performance

    Hello guys. I have a problem with performance on my laptop. I have tried several things but it didn't help. I'm using newest xorg, kernel, xfce and open ati drivers from arch repo. My graphic card is ati mobility 9600. I have noapi option on kernel l

  • Nouveau errors (MMIO write FAULT) and usb string descriptor malformed

    Here's a bit of system information that's useful: - My laptop uses Optimus between the CPU (4700MQ) and the GPU (NVIDIA 770M) - I'm currently running Manjaro (blasphemy, I know) using the non-free NVIDIA drivers with bumblebee for Optimus (which work

  • Profit center accounting in ECC 6.0 with Document Splitting

    HI We are working on a project in ECC 6.0 with document splitting functionality. I would like to know how to transfer Payables/Receivables, Materials, Assets in Profit center accounting. I have done necessary configuration but some how results are no

  • Question About Multiple Choice/True/False Answer Alignment

    When I insert a multiple choice or true/false question, The second response (answer B for either question type, is mis-aligned with it's radio button: The Master Slide for these questions looks like this: I can't figure out how to align the answer wi