How to play video files by using UITableView?

Hi, In my iPhone application I need to show a video image in UITableView. Each tableViewCell have video and some labels. I used the MPMoviePlayerController for showing video in full screen when the cell is selected. But, I am getting error that MPMoviePlayerController class is not there. I tried using UIWebView. But, I could not make it. How can I play a video, when the cell is selected. Some say that videos do not play in simulator. They only play when we test in device. Is it right ? Please help me with the solution.
Thank You.

I used MPMoviePlayerController class for this.And included framework #import <MediaPlayer/MediaPlayer.h>.

Similar Messages

  • How to play video files that are in Drop box on iPod?

    How to play video files that are in Drop box on iPod?

    I am going to have to write a technote about this, because it comes up a lot.
    Flash Player itself is designed to play SWF content as a browser plugin or as an ActiveX control (when it's IE Windows).
    There is a standalone Flash Player, but that's something Adobe  provides directly as a feature of Flash CS4 Professional. It gets installed with Flash. We have made some standalone players available on http://www.adobe.com/support/flashplayer/downloads.html, but not all (and I don't know why.  Looking into it)
    There are numerous 3rd party standalone SWF players out there though.  Some designed to just play video, others that play full SWF. I suggest a google search of 'play SWF standalone' and read the results.
    On the Mac, consumers who want to play SWF content off their desktop can use the Adobe Media Player. You can import a local SWF (and FLV and other video) and play it in AMP.  Get it here:
    http://www.adobe.com/products/mediaplayer/
    That's Mac only, doesn't work on Windows.

  • Toshiba 40SL733g - How to play video files from USB flash memory

    When I plug my USB flash memory in USB port, Media Player menu shows up with two options : Photos and Settings.
    How do I make my TV recognize and play video files from USB flash memory?
    Flash is on FAT32.
    I have tried to play avi, mp4 and mkv files but nothing happens. It looks like flash is empty.
    Could you please help me solve this problem.
    Thanks!

    bzunic, have you updated the firmware for your model?.
    With my own set, (32RL900A), the instruction manual said that certain buttons on the remote control were "unused", however, after the first firmware update, the previously "unused" buttons were used, (In our case, Time Shift, Record, and so on).
    The reason I talk about this is, these features became available after a firmware upgrade, and were not mentioned in the user manual, in our case, and a later download of the instruction manual for our model actually gave the instructions for the use of these features, which were shown as "not available", in the original instruction manual supplied with the TV, but became available after the firmware upgrade.
    Let us know how it all works out ............
    donhe7

  • Help...How to Play Video and Auido using windows media player in developer forms?

    I am using the Windows NT workstation and Oracle Forms6i, I want to know how to use window media player in oracle forms? I have insert an OLE object and add Windows media player as an control object, but I don't know how to play the audio and video.
    I always have this error...why?? How can I solve this??
    FRM-41344: OLE object not defined for VIDEO in the current record.
    Cause:     An empty OLE container is defined.
    Action:     Define an OLE object to reside in the OLE container.
    Level:     20
    Type:     Error
    This is my final year project, anyone can help me?
    Thanks a lot!!!

    UKNightOwl wrote:
    ... providing the computer has Windows Media Player installed, ...
    ... This saves you having to bother with portable/travel speakers,
    Mains lead for the computer is a bit of a problem on the bus though!

  • How to play video files in flex 3

    Hi,
    i want to play 3gp, wmv, avi or mpeg video files in flex 3. can any one help me in detail. please

    if it is only happening with server side videos it can be a cross-domain policy issue, you can take alook  here for more information;
    http://livedocs.adobe.com/flex/3/html/help.html?content=05B_Security_04.html

  • I have backed up my iPad  using iTunes to windows 8 Lenora laptop but I could not find my files and play video files  in my laptop.

    I have backed up my iPad  using iTunes to windows 8 Lenora laptop but I could not find my files and play video files  in my laptop

    You cannot access files in the backup on your computer.
    Do you mean that you synced with iTunes and transferred your purchased videos and app documents? If that is what you mean, what videos are you talking about? If they are videos that you took with the iPad, they do not sync to iTunes. What files?
    What exactly are you trying to do? Details please.

  • How to play MP4 files in Video Display compoenent?

    Hello,
    I am facing probelm with playing MP4 H.264 format 16/9 format in VideoDisplay compoenent on mobile devices.
    I had tried with VideoDisplay and MP4 files from local storage as well as server located mp4 but
    on player UI shows that playhead tip is moving - but black screen, no sound.
    I am able to play! But the same file I am able to play with VLC player. Let me know what are the restrictions for playing video files...
    I had tried as follows :
    <s:VideoDisplay id="video"
            autoDisplayFirstFrame="true" autoPlay="true"
            source="http://10.15.20.147/video.mp4"/>
    I will be very thankful if somebody can help me out?
    With Regards,
    Sachin Potdar

    if it is only happening with server side videos it can be a cross-domain policy issue, you can take alook  here for more information;
    http://livedocs.adobe.com/flex/3/html/help.html?content=05B_Security_04.html

  • Playing Video files taking too much CPU processing(50 % )

    Hello everyone,
    My macbook taking too much CPU processing power for playing Video file.Below shared the statistics..Is it a issue..? can you please help me here..I can't play simultaneously 2-3 MKV videos..distorted picture Quality.
    Macbook:
    mkv
         Qucik Time PLayer (using perian plugin):50%
         vlc:40%
          mplayer:60%
    normal(example Mp4)
         Qucik Time PLayer (using perian plugin):30%
         vlc:25%
    where a normal Linux system takes
      mkv file with VLC : 20-25%
    Thanks in advance...

    Simple thing to try would be to disable composite and see how you fare then
    Check the logs first, though

  • HT4072 can't play video files (mp4, avi, mkv) with 5.1 audio tracks

    I have two Macs, one with a mini-optical out and no audio through its mini-displayport, and the other that supports digital audio out through its mini-displayport. On either of my Macs, how can I play video files (mp4, avi, mkv) in 5.1 using Quicktime or iTunes or VLC? I've heard I need Perian. Is this true? If so, how do I configure it on either machine?
    Note that when I connect the computer that supports audio through the mini-displayport to my receiver, my home theater receiver detects a PCM audio connection, but the audio I get out of my speakers is still stereo.
    Both computers are running Snow Leopard. I haven't had the need to upgrade to Lion yet, but if the answer is that I need Lion do do this, I'd spend the $29.
    Thanks for the help!

    daedalusman wrote:
    This just happened for the first time with an .mkv file I was trying to play. It started fine but then after selecting a menu option in smplayer the video disappeared. It didn't go black, the player just stopped presenting the video. In other words the player switched to audio playback mode only, the window was unable to go into fullscreen or be resized. Smplayer still works with other HD files. Deleting the config directory fixes the problem until I select a menu option, such as, setting the audio to 5.1, then the video portion disappears again.
    Does anyone know what is going on here or have any ideas on how to fix this issue?
    Thanks for any help provided.
    that's because now mplayer they switch to libavformat demuxer for mkv and ogg and i think is a bug in smplayer because is making some configuration for files in file_settings in which is sets demuxer & co. this switch is confusing smplayer and it should be reported upstream
    p.s if you actually select demuxer from smplayer to mkv it would work perfectly

  • Looking for some info on how to play music files on IPAD2

    Hi and thanks for sharing.  Trying to figure out how to play sound files such as wavs or mp3s on my ipad2 while I browse the internet or use my computer.  I was trying to see if the music feature will play my songs or if I can import downloaded files from the net to itunes and if that will play in the background.  I have an audio program that can send sound files to email and was trying to figure out how, similarly, to get this play in the background while I do things too.  That and sound files downloaded from the internet.   Do these go to iCloud when you download them?  Can I import sounds into itunes with my iPad someway.  (It's the only computer or device I own).   Basically looking for a pathway to get music from my audio program that's sent to email, and clips I've DLed off sites on the internet, to play while I use the pad or browse the net.  Thanks for your intel on the mission.   Cheers!

    The only way to get content into the Music app is via iTunes store downloads or syncing with itunes on a computer. You will need to find a third party media player such as VLC (whick integrates with DropBox and GoogleDrive, if that appeals to you).

  • How to play videos in normal quality in youtube as it is always buffered in hq and there is no option to change quality??

    how to play videos in normal quality in youtube as it is always buffered in hq and there is no option to change quality?? problem because i hav network speed upto 512kbps and hq videos are nt buffered properly in it..

    macalltheway wrote:
    What a bummer.
    Now I'm stuck with a just-about useless camera. I really need something as small as the FH1 (it's TINY).
    Hard-drive camcorders record MPG2, which I assume makes them just as useless.
    Is then MiniDV the only choice for a sub-$500 1080i/p camera that will allow me to edit footage without converting?
    If so, any tips on the smallest one out there?
    Google came up with Sony's DCR-PC55, but it's four years old and only does SD...
    Do you want good OR do you want cheap? That is the decision you need to make. Also, tiny tends to be the opposite of good.
    P.S. AIC converted it best; ProRes(Lo/HQ) left it pixelated for playback. But it takes about an hour a minute, and increases the file-size tenfold, so it's no good anyway.
    Yes, your actual editable video file is going to be 10x bigger than a MPEG-4 file. That is what you want.
    P.S. 2 "....FCP is converting your video behind the scenes which is causing all your problems."
    If that's the case, then my oldish MacBook Pro (2GHz Duo, 2GB RAM) has enough juice to play the 640x480 MPG4 clips smoothly, but not the HD ones. Could the latest MacBook (2.5/6/8GHz, 8GB RAM) could play the 1080p30 clips smoothly?
    No, you still have the same problem. MPEG-4 files are non-editable. You really need to convert to an editable format and then bring that into FCP. MPEG Streamclip is going to be your best choice.

  • How to play videos in other formats other than mp4 in ipod touch.

    how to play videos in other formats other than mp4 in ipod touch.
    I have tried an app named VLC streamer. But I never knew how to use it...
    Can someone suggest anything else?

    Under "General" in iTunes Preferences, does "Play
    Videos in.." allow you to set the playback of videos
    as you desire?
    kind of. It does spawn a new window, which is great (thanks!). But it seems to be at a lower resolution - does iTunes compress further or display at lower res? What is the function that people are supposed to be able to use to use iTunes as a media center to watch movies?

  • Why do I only get the audio when I play video files?

    I only receive the audio portions when I play video files.  The video is blank/black.  This is happening with mpg., avchd and the videos posted to websites; YouTube, Facebook etc.  The only video files I can play are windows media files.  Windows media PLAYER won't play the other video files?  I have the latest updates for my video card and adobe flash player.  Thanks for any info!  Elwood  Windows 7 64 bit, i7 980x @333 6 core processor, 12 GB ram DDR 1600, Radeon 5850 GPU, OCZ Vertex 3 120GB SSD

    It is most likely that the various files contain CODEC's, that are either not installed on your computer, or PrE is not able to use them.
    You list several file types, and I would urge you to first see this FAQ Entry, then get one of the file info utilities, linked in it, G-Spot, MediaInfo, or MediaInspector, then post the details on the various CODEC's: http://forums.adobe.com/thread/440037?tstart=0
    Also, that WMP cannot play the video indicates the likelihood of a CODEC issue.
    Try either of the great, free media players, VLC Player, or MediaPlayer Classic HC. Both contain many useful CODEC's, but they do NOT install them into the OS.
    Good luck, and with the CODEC info, someone can give your recommendations.
    Hunt

  • How to play video on single DMP 4400G

    We have bought Cisco DMP 4400G, and want to play on it video files witch are stored on PC.
    DMP is installed, and we have IP and access to them.
    We don’t have any Management system.
    Does it possible to play video file on DMP located on some PC or server on LAN or not.
    If not, how to store video file on internal storage and play it?
    Can anybody help?
    Thanks

    Hi.
    Please see the DMPDM user guide. Its book-length PDF is available here:
    http://www.cisco.com/en/US/docs/video/digital_media_systems/dmp/user/guide/5_x/5_2_x/dmpdmuse.pdf
    In particular, please check its final chapter, "Video and Audio."
    If you need other DMP documentation in addition to that, please see these guides.
    The DMP getting started guide is here:
    http://www.cisco.com/en/US/docs/video/digital_media_systems/dmp/getting/started/guide/5_2_x/5_2_2/GSG_all_DMPs.pdf
    Regulatory compliance and safety information is here:
    http://www.cisco.com/en/US/docs/video/digital_media_systems/4400g/regulatory/compliance/rcsi2_4400g.pdf
    Content creation best practices (for users without DMM) are here:
    http://developer.cisco.com/web/dms/docs
    Good luck.
    If I've helped you, please rate my response and mark your question as answered.
    Regards,
    Gary

  • How to Play a sample sound using Java

    Hi,
    I have an mp3 music files in database. When a user chooses a particular button, all the songs are fetched from the database.
    I have two buttons namely, 'Buy' and 'Play Sample'. If I click the 'Play Sample' button, a sample of the song has to be played (not the full song). If the user likes the sample, he can buy the full song.
    My question is how to achieve the 'Play Sample' using Java Swings and Sound. I have googled, but not find any solutions. Please provide me an example or link.
    Thanks in advance.

    HI
    Actually i am trying to create a JFrame which plays an mp3 music file
    with the help of play and stop buttons in it ...
    i splitted the frame into two
    i want a music file list in the first frame (JComboBox)
    and want to have play and stop button in the second frame .
    i had tried out some code in which the frame part is fine ,,,
    but i am not knowing how to play the file with those buttons ...
    here is the code and plz help me to move further ...
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JSplitPane;
    public class AudioFile extends JFrame {
        public AudioFile() {
            setTitle("Music File");
            setSize(300, 400);
            JPanel jp1 = new JPanel();
            JPanel jp2 = new JPanel();
            JButton s= new JButton("STOP");
            JButton p= new JButton("PLAY");
            JLabel j1 = new JLabel("MusicFile");
            String[] musicfiles={"file:///home/swathi/Desktop/spot3.mp3","anitha.mp3"};
            JComboBox musiclist=new JComboBox(musicfiles);
            musiclist.setSelectedIndex(1);
            jp1.add(j1);
            jp1.add(musiclist);
            jp2.add(s);
            jp2.add(p);
            JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT,
                    true, jp1, jp2);
            splitPane.setOneTouchExpandable(true);
            getContentPane().add(splitPane);
        public static void main(String[] args) {
          AudioFile sp = new AudioFile();
            sp.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            sp.setVisible(true);
    }

Maybe you are looking for

  • I can't install windows 7 on 27' imac 2014.

    Hi everyone, I have been trying to install windows 7 on my new imac 27' with bootcamp. I am getting the following error message. YOUR BOOTABLE USB COULD NOT BE CREATED Boot Camp only supports 64-bit Windows installation on this platform. Please use a

  • Compilation albums broken up into individual albums in itunes 10

    I'm looking for a solution other than creating playlists for this problem. When importing into iTunes 10, some compilation cds (cds with assorted artists) are coming up as individual albums of the same name, each containing one song from the cd. For

  • Please help : How to remove duplicates in BIP

    Hi All, As told you all before that i have just started using the BIP and now i am facing an issue filtering out the duplicates from the sql query. Following is the issue and the output which i want. This is how the data is ( example) Srno product_id

  • How does the Concurrent Access License (CAL) work.

    Description from Google: How does the Concurrent Access License (CAL) work? Xcelsius Engage Server CALs allow for concurrent live data updates inside Xcelsius dashboards. Every time an end-user triggers a Web service inside an Xcelsius dashboard to r

  • Costing Issue

    I have Run Cost Estimate by Ck11n and Save than i run CK24 and makring than release than Execute and test run successful system given message 1 estimate for 1 material updated successful and i saved it than i check in material master costing view 2 h