Playing a movie in a window

I am creating a program and I need to play a movie. I think I'll have to use NSMovie and NSMovieView, but what do I need to do in Interface Builder, and which methods do I call in Xcode? Can someone please tell me the steps to just simply playing a movie (already inside the application bundle) in a window? Thank you!

I figured out how to do this. You have to select a movie using NSMovie's initializing methods and then choose it with the NSMovieView.

Similar Messages

  • Play QT mov in document window

    Please, can somebody tell me how to play a .mov in the
    Dreamweaver8 document window. Working on MacOSX, Quicktime
    installed. DW keeps saying 'The plugin failed to initialize'.
    Preview however works well in Firefox, Safari, Internet Explorer
    for Mac

    However, the plug-in cannot be installed as it was intended for an earlier version of the software I am running.
    You have three basic options:
    1) You can manually trasfer the component from a previous installation on another system,
    2) You can try the Squared-5 lion installer utility that comes in the MPEG Streamclip v1.9.3b7 beta download to install the component in the incompatible installer package, or
    3) You can use Pacifist to install/extract and manually install the QT MPEG-2 Playback component in the incompatible Apple installer package.

  • Can't play multiple movies in one window

    I must be doing something wrong. I wanted to watch a series of video clips (all .mov) in quicktime, but not in 10 different windows. Isn't there a way to highlight 10 clips, and then "play all" and have them open up in one window? For some reason, every time I attempt this, I get 10 quicktime players opening up! I'd just like one at a time, and the ability to skip to through the movies like I would do in iTunes with music. I seem to remember doing this before, but now can't remember how. Any ideas?

    The steps are correct but you've left out the one that adjusts the 2 through 9 movies position as compared to the others.
    The first video would hold a position of 0,0 (upper left). When you add the second video you need to adjust its "offset" to position it next to but not overlapping the first. Since your videos are 100X75 you would set the offset of the second track too 100,0 (100 pixels to the right of the original and 0 pixels different in height). The third would be 200,0 offset.
    On the second row your first file would be 0,75 (75 pixels below the upper video). The second file on the second row would be offset 100,75 and the third would be 200,75.
    The third row would be 0,150 followed by 100,150 and 200,150.
    You could add a slight "border" between each video and give it a color by using the bgcolor="your color" (standard html color codes) and adding that space by adjusting the offset plus your border width in pixels. Hollywood Squares style of video.
    http://homepage.mac.com/kkirkster/03war/ one of my older files that uses multiple track video playback of a QuickTime file. The "TV" set is a track and the video that plays "inside" it is another. The still image movies are also separate tracks and QuickTime .mov files can hold up to 99 tracks.

  • HT1657 I downloaded 20 feet from stardom as a rental on my pc. Could not play the movie in either windows media player or quick time. Why?

    I downloaded the movie '20 feet from stardom' as a rental. It would not play in either windows media player or quicktime. Why?

    You must play it in itunes.

  • Play multiple movies in same window area

    Hello,
    I'm sure this question has come up before, but couldn't find it.
    On my html page I want to have a number of links to my Captivate movies down column on left, and then one movie container on the right, so each time a movie link is clicked, the movie will play within the same container on the right.
    I'm using RoboHelp 8 to import and publish my movies. Can import a movie onto my page, but do not see the ability to put a placeholder container on my page so each movie could play within same container.
    Thanks!

    You're on the right path but a little confused.
    You adjust a video track location by using the offset. Default location is 0,0 (upper left corner). You may need your calculator to do the math.
    Another concept that escapes new users of QT Pro is negative values. You can use a negative value (say -320, 0) to position a track 320 pixels from the original upper left corner. This will put two 320X240 movies in a side by side 640X240 player window.
    Don't forget to adjust the track layers. If they are all going to play at the same time they should all have the same layer number.

  • TS1718 itunes 12.0.1.26 not playing downloaded movies black screen Windows 7

    I am using iTunes for windows and the recently bought 2 movies, the trailer worked fine , but after download the itunes is not playing the VDO files, its simple black screen. Can someone please help?
    No wonder why I dont use Apple. they dont even give support without owning an apple product how cruel is that!
    Thanks
    Mike

    Sorry, unfortunately I can't get it to work now!  (Maybe I hadn't gotten it to work before.)  If I click a podcast subscription icon, then the little gear "Tools" icon, there's text that says: "When new episodes are available they will be marked as unplayed."  So even if I mark a non-downloaded episode as played, the auto-delete when played option doesn't seem to work.  If I do mark the episode as "Played" then use my "Delete" key, the message pops up: "Podcast episodes can't be deleted from the feed."  So that seems to settle that.

  • How can I play HD movies on iTunes on my windows 7 desktop?

    My monitor is a Samsung SyncMaster2494 and my video card is an NVIDIA GeForce GTX 550 Ti.  I have no issues running webpages, video games, etc. in HD, however I receive an error whenever I attempt to watch a movie on iTunes in HD.  The message reads - To play 'The Movie' in HD, you must have a computer with a built-in display or have it connected to a display that supports HDCP.
    Any ideas on how to correct this?  Do I need iTunes to detect my hardware? (my computer has an on-board graphics card that is not HD compatible, I had upgraded to the 550.

    Hello css49er11,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes for Windows: Unable to view or play HD video content that requires HDCP
    http://support.apple.com/kb/ts3354
    Best of luck,
    Mario

  • ITunes is telling me to install Quicktime to play my movies, but the download is for Windows 7 and I have 8.  What's the solution?

    iTunes says I need to install Quicktime.  When I clicked on MORE INFO, the Quicktime download is for Windows 7/Vista.  I have Windows 8.  I can play all movies except Dirty Dancing, altho I can play the extras...  Do I need to install Quicktime?

    Either you don't have a SIM in the phone, which is required for activation, or you have a phone that was probably hacked to unlock it.
    A) Do you have a SIM in the phone?
    B) Where EXACTLY did you get the phone?

  • PP CC not playing back footage from timeline. Playhead moves but program window doesn't update.

    I have an issue that usually comes up a few minutes after using Premiere Pro CC. Everything is fine and then the program window will stop previewing video from the timeline. Nothing else is frozen though. I can still move the playhead in the timeline around and select/highlight clips. But the program window will freeze on a frame and not update when i press play or move the playhead in the timeline. If I quite PP it will close but the icon still shows it as open so I have to "force quit". When I re-open the program it plays fine but the issue eventually comes up in a couple minutes. I'm guessing this has something to do with render issues… I'm using a Macbook Pro bought in early 2011.
    Here are my specs:
    Processor  -- 2.2 GHz Intel Core i7
    Memory -- 16GB 1333 MHz DDR3
    Startup Disk -- my internal Macintosh HD
    OS -- Lion 10.7.5
    Graphics -- AMD Radeon HD 6750M 1024 MB
    Thanks!

    Yes I downloaded PP CC on Decebmer 3rd, 2014. I can do that, would that help? I will google about doing that.
    Ok… googled it… It turns out my graphics card doesn't support OpenCL (or CUDA)… it doesn't show up in the lists here: System requirements | Adobe Premiere Pro
    So I will switch to software only. Do you think that will solve the issue?

  • Big issue with playing Flash movie in IE 6.0 with Windows SP2

    This is a multi-part message in MIME format.
    ------=_NextPart_000_006E_01C699E5.68468390
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    I face a big issue with Flash 8 movies playing in IE6 with
    Windows XP =
    SP2, as follows :
    I have created a menu with a Flash movie for each button and
    a movie =
    with scrolling images,
    and when the HTML page opens we need to click once on the
    button or the =
    scrolling images=20
    to make-it working.
    see :
    http://piscine-et-spa.cybergraphik.net
    Useless to say that the same movies are playing well in IE6
    with Windows =
    SP1 !...
    Anybody can help ?
    Thanks.
    ------=_NextPart_000_006E_01C699E5.68468390
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2800.1555"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DVerdana size=3D2>I face a big
    issue with =
    Flash 8 movies=20
    playing in IE6 with Windows XP SP2, as follows
    :</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>I have created
    a menu with a Flash =
    movie for each=20
    button and a movie with scrolling
    images,</FONT></DIV>
    <DIV><FONT face=3DVerdana size=3D2>and
    w</FONT><FONT face=3DVerdana =
    size=3D2>hen the=20
    HTML page opens we need to click once on the button or the
    scrolling =
    images=20
    </FONT></DIV>
    <DIV><FONT face=3DVerdana size=3D2>to make-it
    working.</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>see : <A=20
    href=3D"
    ergraphik.net</A></FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>Useless to say
    that the same movies =
    are playing=20
    well in IE6 with Windows SP1 !...</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>Anybody can
    help ?</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana
    size=3D2>Thanks.</FONT></DIV></BODY></HTML>
    ------=_NextPart_000_006E_01C699E5.68468390--

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0018_01C69A05.5FA39D70
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    You've run into the famous IE Flash fix implemented in SP2.
    Supposed to =
    be a security thing .. yeah .. right. Upgrade Dreamweaver to
    8.02 to =
    get the fix implemented in the program or visit the technote
    here:
    http://www.adobe.com/devnet/activecontent/articles/devletter.html
    Just don't forget to upload the Scripts folder and file. :)
    --=20
    Nancy Gill=20
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp=20
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)=20
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A =
    Beginner's=20
    Guide, Mastering Macromedia Contribute=20
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web =
    Development=20
    "Pascal" <[email protected]> wrote in message =
    news:[email protected]...
    I face a big issue with Flash 8 movies playing in IE6 with
    Windows XP =
    SP2, as follows :
    I have created a menu with a Flash movie for each button and
    a movie =
    with scrolling images,
    and when the HTML page opens we need to click once on the
    button or =
    the scrolling images=20
    to make-it working.
    see :
    http://piscine-et-spa.cybergraphik.net
    Useless to say that the same movies are playing well in IE6
    with =
    Windows SP1 !...
    Anybody can help ?
    Thanks.
    ------=_NextPart_000_0018_01C69A05.5FA39D70
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2900.2912"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DArial size=3D2>You've run into
    the famous IE Flash fix =
    implemented=20
    in SP2.  Supposed to be a security thing .. yeah ..
    right.  =
    Upgrade=20
    Dreamweaver to 8.02 to get the fix implemented in the program
    or visit =
    the=20
    technote here:</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><A=20
    href=3D"
    http://www.adobe.com/devnet/activecontent/articles/devletter.html=
    ">
    http://www.adobe.com/devnet/activecontent/articles/devletter.html</A></=
    FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Just don't
    forget to upload the Scripts =
    folder and=20
    file.   :)</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV><FONT
    face=3DArial =
    size=3D2>
    <DIV><BR>-- <BR>Nancy Gill <BR>Adobe
    Community Expert<BR>BLOG:  <A=20
    href=3D"
    asp</A>=20
    <BR>Author:  Dreamweaver 8 e-book for the DMX
    =
    Zone<BR>Co-Author: =20
    Dreamweaver MX: Instant Troubleshooter (August, 2003)
    <BR>Technical=20
    Editor:  DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's=20
    <BR>Guide, Mastering Macromedia Contribute
    <BR>Technical Reviewer: =
    Dynamic=20
    Dreamweaver MX/DMX: Advanced PHP Web Development </DIV>
    <DIV> </DIV>
    <DIV></FONT> </DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Pascal" &lt;<A=20
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    wrote in=20
    message <A=20
    =
    href=3D"news:[email protected]">news:e7r16q$7ko$1@forums=
    .macromedia.com</A>...</DIV>
    <DIV><FONT face=3DVerdana size=3D2>I face a big
    issue with=20
    Flash 8 movies playing in IE6 with Windows
    XP SP2, as =
    follows=20
    :</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>I have
    created a menu with a Flash =
    movie for=20
    each button and a movie with scrolling
    images,</FONT></DIV>
    <DIV><FONT face=3DVerdana size=3D2>and
    w</FONT><FONT face=3DVerdana =
    size=3D2>hen the=20
    HTML page opens we need to click once on the button or the
    scrolling =
    images=20
    </FONT></DIV>
    <DIV><FONT face=3DVerdana size=3D2>to make-it
    working.</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>see :
    <A=20
    =
    href=3D"
    ergraphik.net</A></FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>Useless to
    say that the same movies =
    are playing=20
    well in IE6 with Windows SP1 !...</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>Anybody can
    help ?</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana =
    size=3D2>Thanks.</FONT></DIV></BLOCKQUOTE></BODY></HTML>
    ------=_NextPart_000_0018_01C69A05.5FA39D70--

  • Cannot play DVD movies in Windows XP

    Does anyone know of any driver that I have to download in order to play just regular old DVD movies with Boot Camp? The CD-ROM aspect of the drive works fine, as I play games all the time...but when I try to play a movie it says that it cannot....has anyone found a fix to this?

    Lol well unfortunately it didn't, I installed it, popped a movie in, and this is the messege that i got:
    Windows Media Player cannot play this DVD because there is a problem with digital copy protection between your DVD drive, decoder, and video card. Try installing an updated driver for your video card.
    It was just a regular DVD movie bought from the store, not a burnt one or anything...I'm confused...

  • When I try to play a movie on itunes on my tv that is connected to a windows 8 pc the tv loses connection and then randomly regains connection. Is this a windows error (guessing it is) or something with iTunes?

    When I try to play a movie on itunes on my tv that is connected to a windows 8 pc the tv loses connection and then randomly regains connection. Is this a windows error (guessing it is) or something with iTunes?

    Delete and redownload them if doing so is free in your country.
    (106637)

  • How to play MOV files inside Windows Media Center Edition

    I've installed QT Pro, but am not able to play MOV files inside Windows Media Center Edition (MCE). Under "My Videos" from the MCE main interface, I can see the files, but once selected, error message indicates unknown/unplayable file type.
    How do I get my MOV files to play inside Windows MCE??
    Marc

    Quote from: cosmosk on 05-April-05, 22:29:47
    I don't use MSI's MC application so I can't directly answer your question.
    However both Win DVD 6 and PowerDVD6 play them just fine by launching the ts.ifo file.
    Yes, I know that, but that means that I should use at least two applications. I need only one front end to launch all my media files, inluding ripped DVD files, not as separate VOBs but as whole movies decribed in IFO files.
    Kiero

  • When playing movie in project window it cuts part of the video screen

    I purchased Call Recorder for Skype to record my girls violin lesson over skype with their teacher in Bermuda. Now I need to cut certain parts of the video so we can play it during practice .. I don’t want to play the entire video. I had the Record Video set to "Two Track (Advanced)". I imported the recorded .mov file into iMovie. Then I skimmed the video and selected the part that I am interested in and dragged it to the project window. Now when I play the movie in the event browser, it plays the movie as I would like to side by side. However when I play the segment that I selected in the project window, it cuts 1/2 of each window which is not what I want as I would like to able to play this clip showing both the teacher and the student. What do I need to do???? Help!!!!! Thanks!

    Hi Runa,
    There are a couple of things you need to check. Firstly, click on the small gear icon at the start of the clip (segment). Select "Cropping, Ken Burns and Rotation" from the pop-up menu. In the top left corner of the Viewer, click on "Fit".
    Secondly, in iMovie's menu go to File>Project Properties. In the window that opens select the "Timing" tab. For the items "Initial Photo Placement" and "Initial Video Placement" select "Fit in Frame".
    You may need to follow only the second suggestion, as this may fix the whole project for you. Otherwise, use the first suggestion for each of the clips (segments) in your project.
    Also, in the Project Properties General tab ensure that you have set the correct Aspect Ratio for your project, that is, Widescreen (16:9) or Standard (4:3).
    John

  • TS3354 What is the solution for the error message when playing movies on a windows computer that doesn't support HDCP?

    How do I make my Windows computer Dell Latitude E7440 play the movies I just purchased? I am getting the message, "To play this movie in HD, your PC must have Windows 7 and a built-in display or a display that supports HDCP."
    Is there a fix or solution ot this problem? Please help!

    Hello Mendeezee,
    Depending on the age of the monitor, you may not be able to playback any HD content that is purchased in iTunes. One way to check is to download the SD version that comes with the HD version. Check out the articles below for more clarification. 
    iTunes for Windows: Unable to view or play HD video content that requires HDCP
    http://support.apple.com/kb/ts3354
    iTunes: Purchasing and viewing HD videos
    http://support.apple.com/kb/HT3209
    In iTunes for Windows, in order to view HD content, both the display hardware (computer screen, LCD, external monitor, and so on) and video card driver must support HDCP.
    Note: Depending on your computer's hardware limitations, you may be unable to purchase, rent, or view HD content from the iTunes Store. If you are trying to view HD video on an external display, the display must have a digital connection (DVI, DisplayPort, or HDMI) and support HDCP.
    Regards,
    -Norm G. 

Maybe you are looking for

  • Multiple users on same Computer - Licensing for this product.....

    We are using a Mac Pro with Creative Suite 4 - Design Premium and have 2 active users on the computer. We recently discovered that if user "A" has an Adobe Program running and user "B" attempts to run an Adobe Program at the same time we get an error

  • How do you put videos on the new itunes

    hi can anyone give me a an overview on how to put your vidos on to itunes, many thanks james

  • Additional field in PR & PO

    Hi My client has a scenario where Purchase requisition  quantity will be altered due to some reasons & user would like to mention the reason in a new field in the delivery schedule tab. Again In po also additional field is required to enter reason in

  • Change position of button in navigation menu

    I hope this is a simple issue. I want to make it so that if I change the position of a button I put in the navigation menu the position will change throughout the whole site. Thanks

  • How to deploy a .war file in a portal?

    Hi, I have developed a search engin and made it a .war file. It runs properly with Tomecat. Where should I put this file to make it usable with BEA weblogic portal 7.0? If I want to put it into a portalet, what configuration must I do? thanx.