Stream Youtube movie in java application

I want to create a java application that plays youtube movies.
Using the GDATA YouTube API i'm able to search for the information about the files but i dont have a clue how to play it in my application, do i need to create a JApplet or something of the JMF.
I've searched for a few days now but everything i find is not the solution for me.
Does anyone already developed something i just described, or have a clue where to search or how to tackle this..?
Edited by: Richardozz on Jun 4, 2008 7:32 AM

Hey, did you get to solve this issue, I have the same issue. Please let me know if you have any solution.
Thanks
Bethel

Similar Messages

  • Is possible capture quotes stream from a running java application?

    Running from webstart the following jnlp code:
    <?xml version="1.0" encoding="utf-8"?><jnlp spec="1.0+" codebase="http://powertrade.intesatrade.it/T3"> <information> <title>IntesaTRADE T3 Demo</title> <vendor>IntesaTRADE</vendor> <description>IntesaTRADE T3 Demo</description> <description kind="short">IntesaTRADE T3 Demo</description> <icon href="http://powertrade.intesatrade.it/T3/T3-Demo.gif"/> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="36m" max-heap-size="256m"/> <property name="it.soltec.ibox.iblog" value="1,1"/> <property name="it.soltec.ibox.Demo" value="YES"/> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_1di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_2di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_3di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_4di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_5di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_6di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/sg.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/liba.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/chart.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/ITCharts.jar" /> </resources> <resources os="Windows"> <nativelib href="http://powertrade.intesatrade.it/T3/tcubelib/native.jar"/> </resources> <application-desc main-class="it.soltec.ibox.client.IBoxClient"> <argument>1221555803176U</argument> <argument>classeContratto=ITRAD</argument> <argument>pushServerControlUrl=http://push.intesatrade.it/tpush_control</argument> <argument>pushServerUrl=https://push.intesatrade.it/tpush</argument> <argument>serviceHttpAddress=http://powertrade.intesatrade.it</argument> <argument>serviceHttpsAddress=https://powertrade.intesatrade.it</argument> <argument>servicePingPath=/T3/pool.html</argument> </application-desc> </jnlp>
    a java streaming quotes platform is launched.
    Is there any way (winsock,API,etc...) to capture the data offered by the java platform?
    Thanks

    In Applescript, when you compile the code, the app must be running. If it's not, then it will start.
    When you run the script, InD doesn't have to be started first. You could have some Finder actions happen, then InD starts at the needed time when it's actions occur. You can have an if/then statement that only requests InD to do an action only if other circumstances are met. You do not even need to tell application InD to launch, just the first tell app statement will do it.
    I do not know how things work in Javasc or VB.

  • Videao Streaming; Youtube Clone in Java

    I've searched the net 4 2 days. there appear to be no youtube clone written in java. a few i came accross was written in PHP. All i need is just a working example + sample codes to video streaming using java

    Hope this isn't too late for you. We have been working on some video features for our EnterMedia software. One of the new features is a YouTube Video clone in JAVA - this will be released Feb 4, 2010. Hope you check it out and let us know what you think. Here's a list of some of the other features we will be implementing on the 4 as well:
    1. Copy and Paste HTML for embedding into blogs
    2. Share to Facebook link
    3. Import wizard for YouTube and Vimeo videos.
    4. Large file upload Applet supports resume and sync of folders
    5. Each user can have their own private asset folder
    6. Improved Friend Management and email Notifications

  • How To Add Flash Movie In Java Application

    Hello Every One
    I am facing a problem.
    I want to add a flash movie
    Plz Help Me

    Flash Player Java Edition is available - but only for old Flash V.2 :(

  • HOW to play flash inside java application program

    Do java provide any API for playing flash inside java application ?Pleae give me some help about it .Thank You ..

    pingyi wrote:
    Do java provide any API for playing flash inside java application ?Pleae give me some help about it .Thank You ..bro... I found out there from the internet... but you need to purchase it.
    hope it meets your expectation...
    JFlashPlayer is a Flash Player API Java package that lets developers play and interact with Adobe? Flash Player movies within Java applications. Advanced animations can improve the user experience and add to the professional appearance of an application. JFlashPlayer allows programmers to quickly add Flash movies to their Java application development for Windows.taken from: JflashPlayer

  • Can I use Streaming Video in Java Application?

    Will i be able to use Streaming Video in Java Application, if yes can anyhow out there pls teach me how to do it... thanks...

    read up on the Java Medai Framework http://java.sun.com/products/java-media/jmf/index.html

  • I want to run a streaming quotes program on Scottrade. They tell me that their product does not work if I have more than one Java application on my Mac. How do I delete the older versions? Thanks

    I want to run a streaming quotes program on Scottrade. They tell me that their product does not work if I have more than one Java application on my Mac. How do I delete the older versions? Thanks

    I have the same problem, they never told me that, just that the newest version of Java "locks" up streaming quotes.

  • HT204291 Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    You are prevented from Airplay mirroring certain things like DVD content as the material is usually protected so you get a checkerboard type display.  I think there is a theoretical risk that the Airplay stream could be intercepted and the protected video copied, albeitin lower quality.
    Apple may be being cautious or are required to do so with the DVD player app by movie studios/licensing authorities.  It makes no sense to the average consumer who is just trying to send their purchased DVD to the TV via the computer and AppleTV.
    Playback in something like VLC should work - not tried it myself but others have commented it doesn't have the restriction.

  • Playing Flash movie in my java application

    Hello All,
    I want to play mini flash movies in my desktop java application...
    is this possible ???
    Thanks in advance.

    similar with... these pages hope could be used for your answer...
    http://forums.sun.com/thread.jspa?threadID=506237

  • How to download IMExample java application??

    Hi all,
    I need to research Multimedia database in Oracle. I tried to find and to download IMExample Java application. but I don't know where I can find the IMExample in Oracle database.
    Please, any one can help me where I can download IMExample Java application ???
    Thanks alot !!

    Hi
    I have such problem
    I must make database which store monkey's audio audio file (*.ape)
    but Intermedia support only such file:
    # This file controls what MIME types are sent to the client for the
    # given file extensions. Sending the correct MIME type to the client
    # is important so they know how to handle the content of the file.
    # Extra types can either be added here or by using an AddType directive
    # in your config files. For more information about MIME types
    # please read RFC 2045, 2046, 2047, 2048, and 2077.
    # MIME type               Extension
    application/activemessage
    application/andrew-inset
    application/applefile
    application/atomicmail
    application/dca-rft
    application/dec-dx
    application/mac-binhex40     hqx
    application/mac-compactpro     cpt
    application/macwriteii
    application/msword          doc
    application/news-message-id
    application/news-transmission
    application/octet-stream     bin dms lha lzh exe class
    application/oda               oda
    application/pdf               pdf
    application/postscript          ai eps ps
    application/powerpoint          ppt
    application/remote-printing
    application/rtf               rtf
    application/slate
    application/smil          smi smil sml
    application/wita
    application/wordperfect5.1
    application/x-bcpio          bcpio
    application/x-cdlink          vcd
    application/x-compress
    application/x-cpio          cpio
    application/x-csh          csh
    application/x-director          dcr dir dxr
    application/x-dvi          dvi
    application/x-gtar          gtar
    application/x-gzip
    application/x-hdf          hdf
    application/x-javascript     js
    application/x-koan          skp skd skt skm
    application/x-latex          latex
    application/x-mif          mif
    application/x-netcdf          nc cdf
    application/x-sh          sh
    application/x-shar          shar
    application/x-stuffit          sit
    application/x-sv4cpio          sv4cpio
    application/x-sv4crc          sv4crc
    application/x-tar          tar
    application/x-tcl          tcl
    application/x-tex          tex
    application/x-texinfo          texinfo texi
    application/x-troff          t tr roff
    application/x-troff-man          man
    application/x-troff-me          me
    application/x-troff-ms          ms
    application/x-ustar          ustar
    application/x-vnd.realmedia rm
    application/x-vnd.realtext rt
    application/x-wais-source     src
    application/zip               zip
    audio/basic               au snd
    audio/midi               mid midi kar
    audio/x-mpeg               mpga mp2 mp3
    audio/x-aiff               aif aiff aifc
    audio/x-pn-realaudio          ram
    audio/x-pn-realaudio-plugin     rpm
    audio/x-realaudio          ra
    audio/x-wav               wav
    audio/x-ms-wma               wma
    audio/x-ms-wax               wax
    chemical/x-pdb               pdb xyz
    image/bmp bmp
    image/gif               gif
    image/ief               ief
    image/jpeg               jpeg jpg jpe
    image/pict pict pct
    image/png               png
    image/tiff               tiff tif
    image/x-cmu-raster          ras
    image/x-portable-anymap          pnm
    image/x-portable-bitmap          pbm
    image/x-portable-graymap     pgm
    image/x-portable-pixmap          ppm
    image/x-rgb               rgb
    image/x-xbitmap               xbm
    image/x-xpixmap               xpm
    image/x-xwindowdump          xwd
    message/external-body
    message/news
    message/partial
    message/rfc822
    model/iges               igs iges
    model/vrml               wrl vrml
    model/mesh               msh mesh silo
    multipart/alternative
    multipart/appledouble
    multipart/digest
    multipart/mixed
    multipart/parallel
    text/css               css
    text/html               html htm
    text/plain               txt
    text/richtext               rtx
    text/tab-separated-values     tsv
    text/x-setext               etx
    text/x-sgml               sgml sgm
    text/xml               xml dtd
    video/mp4 mp4
    video/3gpp 3gp
    video/mpeg               mpeg mpg mpe
    video/quicktime               qt mov
    video/x-msvideo               avi
    video/x-ms-asf               asf asx
    video/x-ms-wmv               wmv
    video/x-ms-wvx               wvx
    video/x-sgi-movie          movie
    x-conference/x-cooltalk          ice
    There is no ape file, how can I add the new format *.ape
    "Extra types can either be added here or by using an AddType directive" ??? how can I do it ?
    Thanks

  • I'm getting the rainbow wheel when I try tp pen in internet page (Safari). The page half loads then appears to freeze with the rianbow wheel.  I get the same result when I try to stream a movie from NETFLIX.  Freezes up rather than plays (after loading).

    I get the rainbow wheel when I try to open an internet page. It loads halfway, then freezes, with the rainbow wheel whirring around. Smae thing happens when I try to stream a movie on Netflix.  The movie loads, then the wheel shows up and the screen freezes.  Same thing when I try a DVD, it takes the disc, but won't play when I hit on PLAY.
    I am repair permissions, and all that I can do, but I am a novice.  Any help would be greatly appreciated because I spend big bucks and drive 40 miles to get Apple help.
    Sharon in the woods of Idaho

    Welcome to Apple Support Communities.
    If your profile info is up to date, you probably have a 2006 or 2007 MacBook with a CoreDuo or Core2Duo.
    It probably came with 512MB or 1GB RAM memory and a 60, 80, or 120GB hard drive.
    You're still running OS X Tiger, 10.4.
    Your DVD drive may be dirty or wearing out.
    For specifics about your computer, click on the  Apple Logo in the menu bar, then About This Mac, and More Info... to find details.)
    You may be running short of hard disk space. You should have at least 10% free, or 10 to 15GB free for best performance. Less than that, and your hard disk is spending lots of time searching for places to store data.
    Complex web pages and sites like Facebook and Twitter, and pages using Adobe Flash, and high-bandwidth applications like video streaming from NetFlix can all cause your computer to run slowly, and the fan to run at high speed, because the processor is working hard. Conversely, email is not terribly resource-intensive, and probably still works pretty well.
    Several things can each provide a small performance increase (listed in no particular order):
    Adding more RAM memory. Upgrade to 2Gb to give your programs a bit of 'breathing room', especially if you are running more than one program at a time.
    Erasing the hard drive and reinstalling the current operating system and programs from scratch. This erases all your existing programs and data. Unless you have backups and program discs, you lose everything currently stored on it.
    Installing a higher capacity, faster hard disk, say 250GB or 320GB will give your programs and data more space, and perhaps faster access if you replace the factory 5400rpm drive with a 7200 rpm drive. If your current hard disk is nearly full (less than 10% free space), the drive has to 'thrash' to free space to store information. 
    Upgrading the operating system to OS X 10.5 Leopard or OS X 10.6 Snow Leopard. Both are discontinued OS X versions, still available to order directly from Apple, but not likely found on a store shelf any longer. An upgrade to OS X 10.7 Lion might not be possible for your MacBook (details here: http://www.apple.com/macosx/how-to-buy/), and Lion would likely cause a further slowdown, because honestly, Lion is optimized for newer, faster dual-core or quad-core computers with fast video chipsets and 4GB or more of RAM.
    A faster internet connection, for example: I switched internet providers to get a 3.0Mb DSL connection (up from a 512Mb connection) for an extra $10 per month, and saw downloads and internet browsing speeds increase dramatically.  With the slower connection, it was not possible to watch video.
    Will all of these upgrades together get you close to the performance of the latest MacBook Air or MacBook Pros? NO!
    Ultimately, you have a 4- or 5-year-old computer, and spending up to several hundred dollars for upgrades might not be a worthwhile investment for you, versus applying that much money toward the cost of a new(er) Mac, and perhaps passing your MacBook on to a friend, child, or grandchild who needs mainly email capability.
    If a brand new Apple is not in the budget, consider a refurbished Mac from the Apple Store online. These are reliable computers from 'last year's models' and have the same 1-year Applecare warranty as a brand new model, and often sell at a discount of 10 to 30 percent of the price when the model was introduced.
    I'm using a mid-2007 MacBook, purchased as a refurb from Apple in late 2007. It came with 1GB RAM, a 120GB 5400 rpm hard drive, and OS X 10.4 Tiger. Over the years, I've upgraded it twice. Firs to 2GB, then to 4GB RAM, to a 320GB drive, then to a 500GB 7200 rpm hard drive, and to OS X 10.5 Leopard, and then to OS X 10.6 Snow Leopard. Rather than one more round of upgrades to OS X 10.7 Lion, I'm saving for a newer MacBook Pro or MacBook Air at some time in the future.

  • The status of scheduled report in java application ?

    Post Author: Jay_Misys
    CA Forum: JAVA
    My java application is running on application server (websphare / java application server)
    I schduled the report published on crystal report server
    the java code is like:
    BIPlatform bipService = new BIPlatform(new Connection(new URL(servicesURL + "/biplatform")), oSession.getConnectionState());
    ResponseHolder rh=bipService.get("path://InfoObjects/"+sCrystal_Reports_Folder + reportName +
    "@SI_SCHEDULEINFO,SI_PROCESSINFO" ,oGetOptions);
    InfoObjects oInfoObjects = rh.getInfoObjects();
    CrystalReport oCrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    SchedulingInfo schedulingInfo = oCrystalReport.getSchedulingInfo();
    schedulingInfo.setRightNow(Boolean.TRUE);
    oCrystalReport.setPluginProcessingInterface(procInfo);
    oInfoObjects.setInfoObject(0,oCrystalReport);
    bipService.schedule(oInfoObjects);
    Pls help me  to get the status (running / sucessfully generated/ failed etc...) of scheduled report ? 

    out = new FileOutputStream(matcher.group(1)+".open" , true);
                          FileChannel ch = out.getChannel();
                                       FileLock lock =  ch.lock(0L, Long.MAX_VALUE, false);
                                   // Connect print stream to the output stream          
                                       p = new PrintStream( out );
                            p.println ("\n" + parms.getProperty( value ) + "\n");
                                  p.flush();
                            p.close();
                                  lock.release();Ok, I tried implementing locks but I dont know why it is not working...An exception is thrown and nothing is wriiten to the file. I have employed a complete lock on the file so that no other JVM application can use it.
    Actually this is a server that grabs data sent from an Iframe and writes it down to a temp file. I open a file input stream, lock it and then use a printwriter strream to write the realyed data to the file. Any inputs as to what is wrong with the code snippet above?????

  • How do I control data transfer rate from Java applications to CGI scripts?

    Hi. I've written a test cgi script which echoes any data it's sent back to the client, and I'm trying to write a java application that reads data from files on my hard drive and sends it to the cgi application.
    The method I've used is the same as the one described in the tutorial on this site, ie. create an URL object, open an URLConnection, get output stream from URLConnection, write data to output stream.
    The problem however is that the java application writes to the output stream at a much faster rate than my internet connection can handle, and so when I try to send more than a few kb the data doesn't seem to get sent at all. Is there some way I can control the rate at which data is sent, or is there a better way of sending data to a cgi application?
    I'd really appreciate any help, thanks!
    Ose.

    I've done some experimenting, and it seems that the problem is with my CGI application and not the Java application after all! (sigh) I wish I hadn't spent those duke dollars now. Oh well.

  • How to Run a Hello World Java application on WIndows Mobile

    Hi!
    We have a sample Plug-in environment Java application downloaded from http://www-128.ibm.com/developerworks/library/os-ecl-ercp/index.html - IBM library.
    We have downloaded the source files org.eclipse.testworkbenchapp_1.0.0.jar and tried running the application on desktop PC, this worked fine.
    We are using Eclipse 3.2 to run this Java application on Desktop.
    Now, we are trying to run the same application on Intermec Windows Mobile 5.0 device.
    1. The device has IBM J9 ? WebSphere MicroEnvironment MIDP 2.0 for Windows Mobile2003 installed in it.
    2. On installing this on Windows Mobile, in Start ? Programs ? we find MIDlet HQ - on launching this, opens a window with Install button.
    3. On Click on Install button, another window opens which asks for URL to install.
    4. In the URL Edit box, I give file:////Org.Eclipse.testWorkbenchapp.feature_1.0.0.jar which is present in \MyDocuments\Update site folder copied from desktop workspace via Active sync ? As mentioned in the above IBM library site.
    5. I have also tried file:////MyDocuments\Updatesite\Org.Eclipse.testWorkbenchapp.feature_1.0.0.jar as input to URL.
    6. On click OK, I get an error titled AMS Error with description The application descriptor was missing the required MIDlet Name field.
    I am held up here and not able to move further.
    As mentioned in the above IBM library site I tried downloading the update site folder via Eclipse ? Software Updates ? Find and Install in Help menu.
    I selected Search for new features to install and browsed the Update site folder location present in my Eclipse workspace. This also does not work.
    Any help in this regard in greatly appreciated. Thanks in advance!

    I would ask such questions in the J2ME forums, or even better in a websphere forum, like here:
    http://www-128.ibm.com/developerworks/forums/wsdd_forums.jsp

  • Embedding video in Java Application

    I'm a total newbie, trying to decide if Java is the way to go for our application.
    We want to be able to create an interactive application with buttons, drag & drop, data input fields, hot spots, etc
    AND also show video... windows format, apple format, flash format.
    We want our application to be deployable either as...
    1 - a standalone app... running on a system not on a network or the internet
    2 - a web app
    We want the video player to be embedded in the application and not launch a player in a seperate window... thus we want to maintain as much control within the confines of our application as possible.
    MY QUESTIONS:
    1 - Will the Java Media Framework allow us to embed movies in our application as described?
    2 - Is it fairly easy to code such in our Java application?
    3 - Any code snippets around?
    4 - Re: Standalone/CD distribution version: Can the JMF be installed along with the application so the client doesn't have to "go out and install more stuff" ??
    5 - Re: Web - must the user download and install more stuff... other than the Java Virtual Machine to have the JMF work on their system?
    6 - Is the JMF multi-platform... Windows, Apple, Unix/Linux, etc like the JVM ?
    thanks for any help on this. Will

    Yes all of what you require is doable in Java
    Try
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/index.html
    Check some of these samples
    Also for a web version check
    http://java.sun.com/dev/evangcentral/totallytech/jmf2.html
    (Haven't studied this myself - but should give you an idea or two)
    Platform-wise - check here
    http://java.sun.com/products/java-media/jmf/2.1.1/download.html
    In terms of CD distribution - you should be able to package most stuff into a Jar file
    Not completely sure as there are 'Windows Performance pack' downloads which I think toake advantage of native DLLs
    Have a read around the JMF Installation pages - should answer most of your questions

Maybe you are looking for

  • Does the 1st generation IPod suffle play new MP4 format

    We have an IPod shuffle  1 GB First Gen I Think not sure how to tell. Anyway unit has always worked. Little green light comes on flashes when controls are pushed on it. I just removed and replaced the music on the unit and now I do not hear anything.

  • SAVE DIALOG!!!!

    why does a save dialog always point to the jsp as default?how can i specify a different file, to save...... Are there any restrictions as to where my file has to exist on the server? If i say response.setContentType("application/zip"); response.setHe

  • Mailbox database Size

    Hi,    I have DAG enabled Exchange Server 2010 installed with three mailbox databases having sizes 282GB,162GB and 129GB respectively. I have started with a total of 250GB in 2010 and now it has reached a size more than 650GB.    It has become very d

  • Lenovo ThinkPad X200S "Intel(R) WiFi Link 5300 AGN" Not Working well .

    Hello everybody I am having a Very Annoying Problem with My Laptop Wireless LAN Intel Wireless LAN (11abgn, abg, BG), "Intel(R) WiFi Link 5300 AGN" The Problem is, it work fine one time and next 10 times it is not working, when it stop working it app

  • Images used in an iPhoto Slideshow are clipped top and bottom. Why?

    After importing images into iPhoto I incorporate them into slideshows. But when I view the results even after removing title and Ken Burns effects, they are clipped on the top and bottom by a signifiant amount. How do I correct this. I have had to ad