Help adding video to composition

I have the following in a trigger on the timeline so that a video will start at a spcific point in time. For some reason I just can't get the video to play.
var vid = sym.$("video");
vid.html('<video width="480" height="270" src="video/convert.mp4" type="video/mp4" controls="controls"  autoplay="autoplay" </video>');
Any help would be greatly appriciated.

If you want the video to preload, you can separate the code out so that first, you set the video up in order to get then preload going. Then on click, actually play the video.
Code on stage.compositionReady:
// (take code out of the function so it runs right away- note I added an id prop)
var vid = sym.$("video");
vid.html("<video width='512' height='322' preload='auto' id='myVideo' >" +
"<source src='video/convert.mp4' type='video/mp4' />" +
"<source src='video/convert.webm' type='video/webm' />" +
"<source src='video/convert.ogg' type='video/ogg' />" +
"</video>");
sym.playVideo = function()
     sym.$('#myVideo').get(0).play();
Code on your trigger:
sym.getComposition().getStage().playVideo();

Similar Messages

  • Need help adding video to a site

    Hi Everyone:
    I really need some help please. The owner of a site I am
    working on sent me a DVD with video's he has taken and wants them
    put on his site.
    The files are VIDEO_TS and are MPEG files. How can I add the
    video's to the site so that when I user clicks on the link, they
    are able to either view the site or download the video to watch
    later. I have other video's added to the site but I was able to
    copy them and safe them the way there were added. The owner sells
    products from the site I copied them from.
    The site I am working on is www.buggyworld.net. Most of the
    individual pages for the vehilces have videos on them and I am
    trying to add these new ones the same way. I have never done this
    before so really not sure how to. The videos that are already added
    at Windows Media Audio/Video Files and that is how I would like to
    convert this video to.
    Any help would be so greatly appreciated.. thank you
    Linda

    Best bet would be to make Flash video so that everyone who
    wants to (and has
    the Flash Player plugin) can see them. Do you have Flash?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Frank Branker" <[email protected]> wrote in
    message
    news:f4ph73$rcd$[email protected]..
    > What?s the size of your MPG file?
    >
    > It?s better if you convert your file to a wmv file
    format because it?s
    > important to keep your file size under 6 Megs. Do you
    have the software to
    > do
    > this?
    > Windows Movie maker might be able to do this you can
    find it in your
    > program
    > files on your computer.
    >
    > If not we will have to work with what you have and do a
    quick and dirty
    > but I
    > don?t advise that.
    >
    > Below is a list of tools you may want to consider
    owning.
    >
    > Ripping Software
    > This software will rip from a dvd to just about any
    format including WMV
    >
    http://www.imtoo.com/dvd-ripper.html
    >
    > Compressing software
    > Sorenson Squeeze Suite 4.5 is the industry-leading video
    encoding tool
    >
    http://www.sorensonmedia.com/pages/?pageID=2
    >
    >
    >

  • Need help adding video to Imovie 4.0

    I recently paid a company to convert a VHS tape of home movies to a DVD. I find that I can easily make copies of the DVD, but can't seem to bring it into IMovie. Is it possible to use portions of the DVD, or do I need special software or do I have to convert these files somehow? The files on the DVD have: .IFO, .VOB, and .BUP extensions, if that means anything.

    * DVDxDV (free trial, 25$, Pro: 90$)
    * Apple mpeg2 plugin (20$) + Streamclip (free)
    * Cinematize >60$
    * Mpeg2Works >25$ + Apple plug-in
    * Toast6/7 allows converting to dv/insert dvd, hit apple-k
    * connect a miniDV Camcorder with analogue input to a DVD-player and transfer disk to tape/use as converter

  • Please help! Not able to set Video input Port(S-Video or Composite)on Linux

    Hi
    I am using JMF2.1.1e(Linux performance pack) for video capturing on Linux OS. I want to set video input port(S-Video or composite) through my application. I am using the following code:
         if ( dataSource != null )
              arrControls = dataSource.getControls ();
         if ( arrControls != null )
              nCount = arrControls.length;
         System.out.println("No. of Controls: " + nCount);     
         for ( i = 0; i < nCount; i++ )
              if ( arrControls[i] == null )
                   continue;
              if ( !(arrControls[i] instanceof Control) )
                   continue;
              componentControl = ((Control)arrControls).getControlComponent ();
              System.out.println("ComponentControl : " + componentControl);
              if ( componentControl == null )
                   continue;
    But, i am getting No. of Controls: 0 (Zero). So i am not able to get any control component also. Rest of the application is working fine. Please help me solving this problem.
    Thanks in advance.

    To go a stage further.
    Google run a Jabber server for their service.
    Jabber apps (those that can) use a Protocol called Jingle to make the A/V connections.
    Google's version is not even that compatible with other Jabber apps. (See Here)
    The Plug-in in the Google Install (Or the Standalone Web Browser Plug-in allow Browsers to access the GoogleTalk A/V side as does the Standalone PC app called GoogleTalk as well.
    iChat uses a process called SIP (Session Initiation Protocol) to connect to other iChat Users or to the AIM for PC app.
    However this also works in any iChat to iChat Connection no matter if the Buddy List is an AIM Login based one, Jabber (including GoogleTalk) or A LAN based Bonjour Chat.
    In you care this is not going to work.
    Getting the Standalone (Intel only) Browser Plug-in and using the Chat option in the Google Mail Web page is probably the easiest option.
    7:31 PM Friday; January 7, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • S-Video and Composite Adapter Output Flickers, is B&W, etc.

    Okay, here are the details:
    - Bought a new *Mac Pro (2009)* Quad 2.66
    - Customized with an *ATI Radeon HD 4870* card
    - Current OS version: 10.5.7
    - Attempting to use *Apple's DVI-Video adapter* (works fine with my G5)
    - Poor, flickering, black & white, duplicate, partial signal appears on TV using either composite (RCA - yellow) or S-Video
    - There is *no literature anywhere* that states whether this adapter is supported (or not)
    - ATI cards have traditionally (before the 4870, not sure about the previous Mac Pro model's ATI cards) been able to correctly output analog video signals using this adapter
    - Apple's phone support personnel say *it should work*
    - Tried a *newer adapter at a service provider with no difference* in the results
    Any help, advice, etc. is appreciated.
    PS - If I can't find a solution that doesn't involve buying anything extra, I'm considering getting the DVI-VGA adapter with a VGA converter box (VGA in, S-Video and Composite out) which seems to be the only viable alternative (as getting a new card won't help when/if I get a Mac Mini for movie watching).

    Hi Com,
    I don't have an answer for you but maybe in the comments about it someone has said something helpful: http://store.apple.com/us/product/M9267G/A
    I think that Apple would like to say all it's adapters work fine but I don't think that's really the case. The VGA to Mini Display adapter I just bought was only able to coax a very limited amount of resolutions from my CRT. Other people are finding other adapters not being up to snuff and buying this one as a cure. http://store.apple.com/us/product/MB571Z/A?fnode=MTY1NDA3Ng&mco=MjE0ODQ2Nw
    But even this has it's problems.
    I hope someone else writes in to help. I hope there's a work around for you. It's just hard to know what is Apples responsibility to do and yours. Yours I don't believe should be an issue if the adapter worked right.

  • Does the video adapter output both S-Video and Composite simultaneously?

    I have a multi-zone receiver which converts S-Video to component for the main zone and passes S-Video signals through to zone 2 but does not convert them to composite which is how that zone is set up. I solved a similar problem with my DVD player by connecting both the component output and composite output of the DVD player to the receiver allowing high quality viewing in the lounge room and passable viewing in the bedroom.
    I realise the quality from the adapter is questionable particularly for composite but I'm still interested if both S-Video and composite signals are output from the MBP 17" via the adapter simultanesouly.
    Thanks,
    Max.

    I have a follow-up question which may help answer the original question. Does the MBP have to detect the external display when connected via S-Video/Composite in the same way that it has to when connected via DVI? My Dell notebook had so much trouble detecting composite and S-Video connections that eventually I gave up so I'm a little "once bitten twice shy" on this. If the MBP doesn't attempt to detect the external display via S-Video or composite then it must output both S-Video and Composite signals continuously (which would be great).
    Thanks,
    Max.

  • How to get plain old S-video and Composite out from a MBP?

    Hi,
    this question is about someone's MacBook Pro he newly bought with adapters to get both DVI and Svideo/Composite Out.
    He got Mini DisplayPort to DVI-D converter, and a DVI-I to video converter, that cannot be plugged into a DVI-D port. Apple removed the analog capability of its adapter, that's bad. But what's badder is there doesn't seem to have any Mini DisplayPort to Svideo/Composite adapter, as there was with previous generation machines.
    How can someone easily output analog video from MBP?

    In fact, I recognize that these standards are old, which doesn't mean they're not up-to-date. Similar example, VGA connector is old, but perfectly useful, even in 2009. I recently plugged a 22" LCD with VGA and DVI on the same computer (a bland desktop PC), and there was strictly no difference. Same color depth, same crisp display. Even looking at a corner with a magnifier, nothing was different.
    So, changing standards just for the sake of it doesn't make any sense.
    Agreed that, as a pro, Apple would like me to buy their pro line, but nowhere in the pro line does an easy solution exists for S-Video and composite out. The solution you posted exists, but is unwieldly and not neat at all, if it doesn't break the Mac's connector under its weight. If a manufacturer can do this kind of adapter, Apple can do it better, and make a bigger profit out of it.
    For the adapter you posted, I don't ever buy anything that is not at least Mac+Windows compatible, or at a minimum is open-source, so anyone with programming skills can make something. The manufacturer also doesn't give a clue on how this works. I guess some sort of virtual driver sits in the system as a virtual IEEE1394 port so any program requiring FW can work transparently. Still, incompatible with the OS that most manufacturer ship their new PCs with, poor commercial decision, wether you like the OS or not.
    Adding FW in the MB unibody design wouldn't have cost anout $30. Rather, we're talking about a 25 cents chip, a 25 cents connector, which they would have rounded up to $20 and still, that was present in previous-gen MB. After all, they are indeed selling a matte screen on the MBP 17" for $50 more, despite them removing a single piece of glass which may cost, well, let's be fair, $5 to manufacture? That's dishonest. And capitalistically justified.
    So far, choosing a Mac for one's needs is no easy task: older white MacBooks have the same power as unibodies, excellent connectivity, top notch transfer speeds, BUT are heavier, as not as ecologically friendly nor do they have future-proof RAM standard. The unibodies are sleekier, easily recycled and will be able to be upgraded in the near future BUT is most likely unable to use current devices and have slower transfer speeds.
    For Pro models, the newer ones have great efficiency, much power and flexibility with their dual GPU BUT lost the option of matte screen, although their other pro-oriented monitors still default to matte. Only the 17" has the option. If a pro already finds his 15,4" bulky and with ample reserve power, will he buy the bigger and heavier 17"? Probably not.
    I understand that Apple way of doing business is keeping only what's essential with no unnecessary options (I'm looking at you, Asus, with you at least 10 different versions of you netbook). But this time, not everyone can find what he or she wants in Apple's line of laptops, as opposed to the iPod thing, where virtually any possible preference is covered.

  • [T420] VGA to S-video or composite video

    I want to connect a T420 to an older TV.  Can I use this VGA to s-video/composite adapter?  The website says:
    "Your  video card MUST be able to support s-Video or Composite out through it's VGA port. This is known as a TV out function. If you don't know if your video card can do this, then call the card manufacturer and ask them "Does my video card support S-Video or Composite Video out through its VGA port?""
    So, does the video card in the T420 (Intel HD 3000) support S-Video or Composite Video out (more importantly composite video) through its VGA port?
    W520 i7-2720QM | 32 GB RAM 1333 MHz | FHD 1920x1080 | Quadro 1000M | Windows 7 & Ubuntu 14.04
    Crucial M500 480GB mSATA + 2 x 1 TB Hitachi Travelstar 7200 rpm | BIOS 1.38

    Hi biznatch!
    The T420 does not support s-Video or Composite out through it's VGA port. You need an active VGA converter box.
    Hope this helps!
    I don't work for Lenovo. I'm a crazy volunteer!

  • Compnent Video to Composite RCA

    Hello,
    Due to downsizing I need to use an old TV for my second Apple TV. Does anyone have an idea for a cheap way to go about this. It needs to be converted into a regular yellow RCA video cable. I have seen a few that are $100's of dollars. Is there another cheap way to do this? Can I go with a component video to S video adapter to an S video to composite video? This is a $15 fix but I am not sure if it will work.
    Thank you for your help.
    BW

    Component video can be analogue or digital.
    AppleTV can output an analogue YPbPr signal, which is why you sometimes see people posting 'I've connected to my composite input and it's not full colour' - they've connected one of the red, green or blue RCA sockets in error to a composite RCA input, and only one of the luma, 'blue' or 'red' signals is input to the composite socket.
    I don't think fiddling with the HDMI output settings affects component changing from YPbPr to digital YCbCr, but I've not tried in practice.
    Either way decent analogue component to S-video/composite converters are expensive.
    There was a convoluted method posted ages ago to trick AppleTv into outputting composite on one of the sockets - Google might help.
    AC

  • Sound but no video through composite and s-video

    I have a QIP2500-3 STB. My tv is a FHD2400, its a monitor by Gateway.
    There is 2 other QIP25003 STB around the house. As welI, also get only sound and no video while using S-Video.
    I've checked the wire, and there is current flowing but no signal.
    Coax works fine, its only s-video and composite that does not work on all 3 of my STB.
    I have tested the S-video and composite on my monitor with a DVD player and using the Wii. They work fine, its only the STB that does not display video on these ports.
    The STB has displayed video through S-video and composite before. But that was before a black out that had occured.
    After the blackout, S-Video and composite DID NOT work at all.
    How do I get the STB to display video using those ports?
    OR
    Should I simply replace my STB?

    Never had any issues with the S-Video or composite on my 2 2500's.  Sounds like something may have fried during your blackout.  I would attempt to get the boxes replaced or get a service call.  I might also suggest adding surge protection to all the boxes (a UPS would be even better) if you don't have it already.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Help with video out

    is it possible to hook my MPB up to my tv using the ipod av cable? i would like to watch a movie from my computer on my tv. is there anything i can do to get this to work? thanks.

    Depends on your tv's inputs. The iPod cable will not work from your MBP. For video, you need either a DVI-to-HDMI cable (if your tv accepts HDMI input) or the Apple DVI-to-Video adapter to connect via S-video or composite (yellow RCA plug). For the audio you need a mini-stereo to RCA adapter.
    Hope this helps...

  • Problem with adding Videos in itunes

    Can someone please please help me!
    Ever since i upgraded to the latest version of itunes I started encountering problems/difficulties in adding videos in itunes library. All the videos that I'm trying to upload are in the correct file format (mpeg4/mp4). I tried adding using Add File to Library, Add Folder to library and even Import..nothing happens..no prompt that its uploading. In the end can't add any video.
    I tried doing this using my PC and my laptop and i still encounter the same problem so I can say that th problem is not on my computers.
    Please help!
    Ipod Video 30GB   Windows XP  

    Hi,
    This article: http://support.apple.com/kb/TS1718 provides general tips that may resolve the issue.
    -Jason

  • Adding video to webpages

    Hi guys
    Can you help me out. I have added video to my website (10 mp4
    files) and embedded it using the active x function. Now when I test
    them on my Mac they work fine. I have checked it on other macs at
    work and everything runs great. The vids load quickly and play
    fine. But when it comes to PCs nothing works. All you get is what
    looks like a broken picture link. My friend says the videos try to
    load on his PC but after giving a warning about trying to find the
    Active X plugin it crashes his copy of IE6. All the PCs I've tested
    it on run IE5 and they don't crash but give the broken pic link.
    The link to the video gallery is
    http://thisismorley.com/thmfc/vidsMorleyCupFinal280609/galleryMorleyCupFinal.html'
    Could the problem be in the video files I'm using. Should
    they be something other than mp4. If anyone can have a look for me
    I'd be very greatful
    Cheers Thom

    On Tue, 29 Aug 2006 14:18:18 +0000 (UTC), "thomjcook"
    <[email protected]> wrote:
    http://thisismorley.com/thmfc/vidsMorleyCupFinal280609/galleryMorleyCupFinal.html
    >
    > Could the problem be in the video files I'm using.
    Should they be something
    >other than mp4. If anyone can have a look for me I'd be
    very greatful
    The mp4 format is relatively new. It's quite possible that a
    good number
    of machines won't have the proper codec to play it. FWIW, I
    looked at
    the first four or five. They all played fine in both Firefox
    and IE6,
    except the third video crashed IE6. I'd suggest you convert
    them to
    .mpg, or Flash video.
    Gary

  • Adding videos to the proper playlists?

    This is probably a question that has already been asked and answered, but I've been having trouble finding the answer.
    I have successfully added Video Podcasts to my iPod and they show up fine, play, etc.
    My question is how do I get them to show up under the Video Podcasts library on the iPod? Right now, they are in the Video Playlists in a playlist I called Video Podcasts.
    I haven't had a chance to change over any movies or tv shows yet to see if there would be the same problems.
    I've checked in the settings in iTunes, but the options only let me change the video kind to Music Video, Movie, TV Show.
    The genre on these videos say podcast.
    Does anyone have a clue as to what Im doing wrong here?
    Any help would be greatly appreciated.

    Okay.
    Do you have room on the other partition for everything?
    Do this to move it to the other partition.
    1 - Quit iTunes.
    2 - Move the entire iTunes folder to where you want.
    3 - Restat iTunes while holding Shift (Windows) or Option (Mac).
    4 - iTunes will ask to Create new library or Choose existing library. Select Choose existing library and select the iTunes library where you moved the iTunes folder.
    Drag the old iTunes folder to the trash but do NOT empty it yet.
    Restart iTunes and make sure it works. If so, empty the trash.

  • Connections: 3 HDMI; 1 S-Video input; 2 Component Video; 3 Composite Video

    Hi,
    I just went to the store to get a HDMI-DVI and mini (from my macbook) to DVI to watch my MB on my tv. I only see the desktop background without the icons or any window I have open. What am I doing wrong? Please help Are there any specials steps to see the whole enchilada?
    Here are my tv's specs:
    Connections: 3 HDMI; 1 S-Video input; 2 Component Video; 3 Composite Video Inputs; 1 RS232 Control; 1 Digital Audio Output; 1 PC Video Input; 1 PC Audio Input
    thank you.

    Connect the MB to its AC adapter. Now close the lid on the MB so it goes to sleep. Now plug in a USB mouse to the MB so it wakes up again. When it wakes up with the lid down, only the TV will be used as the display and the menu bar and everything will be on the TV. Once that happens, you can open the MacBook's lid if you need to use the keyboard. You could also plug in a USB keyboard and leave the lid down as an alternative. If you don't own a USB keyboard or USB mouse, you can wake up the MB with another USB device, like a flash memory stick.

Maybe you are looking for