JMF+Applet html

Well my friends
my prloblema is as follows:
I am developing an application with the images to display JMF api of using a Webcam Applet.
At appletviewer function, but when you put in an applet html does not work ..
What would you tell me some solution?

Sorry,I`ve downloaded the applet from the previous link and i simply can`t play the avi file,besides the jmf.jar file is there any other file(which is not included in the jre 1.4.2) required?

Similar Messages

  • Can't run JMF Applet in IE

    OS: win2000 professional
    JRE: Jdk-1.4.0._01
    JMF: 2.1
    Borwser: IE 5.0
    I have completed installing the JMF, but no JMF Applet
    can be shown in IE, the messages always are
    "class Not Found, javax.media.ControllerListener" or
    "class Not Found, javax.media.Player"
    anyone can help me? thanks!

    I think I found where the problem comes from.
    In one machine I installed jmf as admin I found following registy key:
    LocalMachine--software--microsoft--javavm
    there is one value called classpath which contains the jmf directory.
    I suppose this key make java plug-in find our jmf library.
    However in anothre machine I installed jmf without admin privalages. I didn't see that key contain my jmf directory. This is because I don't have the privalages to modify this key. The installation doesn't give me any warning messages. I think this is the problem.
    When Iinclude that tag <APPLET archive="jmf.jar" in the html pages. The java console said that the applet don't have the permission to use capture audio devices. So..... It still don't work
    Any suggestions?

  • Running JMF applet without JMF?

    How can I get my JMF applets to run on a users machine without JMF installed on their machine?
    Can I emded a JMF plugin in the HTML code (just enough to let them run the applet!) ?
    thanks

    please dont cry.....
    one thing is u need to send all the class files required for the applet to run on the client side.
    below is the code to detect for the plug in for ie and netscape:
    out.println("<body bgColor=\"#EEEEE0\">");
                        out.println("<h1 align=center>Aspire Chat</h1>");
                        out.println("<table border=1 align=\"center\"><tr><td>");
    //                    out.println("<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" width=\"400\" height=\"400\" align=\"centre\" codebase=\"http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0\">");
                        out.println("<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" width=\"400\" height=\"400\" align=\"centre\" codebase=\"http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab\">");
                        out.println("<PARAM NAME=\"code\" VALUE=\"Vapp.class\">");
                        out.println("<PARAM NAME=\"codebase\" VALUE=\"http://"+host+":8080/aspire\">");
    // out.println("<PARAM NAME=\"archive\" VALUE=\"AspireChat.jar\">");//, sound.jar, jmf.jar
    out.println("<PARAM NAME=\"archive\" VALUE=\"Aspire.jar, jmf.jar\">");//, sound.jar, jmf.jar
         out.println("<PARAM NAME=\"type\" VALUE=\"application/x-java-applet;version=1.4\">");
    out.println("<PARAM NAME=\"scriptable\" VALUE=\"true\">");

  • How to run JMF Applet on a machine without JMF installed

    Hi
    I have found many question about that but I don't undertand reply.
    I want display a JMF Applet on a machine without JMF installed. This PCs browser is the Netscape navigator 4.78
    I have restrictions, I can't install anything on a client machine. What can I make ?
    Is there solutions ?
    Is it possible to install few components to run the JMF Applet and desinstall it properly ?
    Thanks.
    Sorry I don't speak well english.

    private void detectDevices(Label la) {
    // Check if VFWAuto or SunVideoAuto is available
    Class directAudio = null;
    Class autoAudio = null;
    Class autoVideo = null;
    Class autoVideoPlus = null;
    Object instanceAudio;
    Object instanceVideo;
    Object instanceVideoPlus;
    try {
    directAudio = Class.forName("DirectSoundAuto");
    } catch (Exception e) {
    try {
    autoAudio = Class.forName("JavaSoundAuto");
    } catch (Exception e) {
    try {
    autoVideo = Class.forName("VFWAuto");
    } catch (Exception e) {
    if (autoVideo == null) {
    try {
    autoVideo = Class.forName("SunVideoAuto");
    } catch (Exception ee) {
    try {
    autoVideoPlus = Class.forName("SunVideoPlusAuto");
    } catch (Exception ee) {
    if (autoVideo == null) {
    try {
    autoVideo = Class.forName("V4LAuto");
    } catch (Exception eee) {
    if (directAudio == null && autoAudio == null &&
    autoVideo == null && autoVideoPlus == null) {
    return;
    try {
    if (directAudio != null) {
    instanceAudio = directAudio.newInstance();
    la.setText("loading....dirver:"+directAudio.getName());
    if (autoAudio != null) {
    instanceAudio = autoAudio.newInstance();
    la.setText("loading....dirver:"+autoAudio.getName());
    if (autoVideo != null) {
    instanceVideo = autoVideo.newInstance();
    la.setText("loading....dirver:"+autoVideo.getName());
    if (autoVideoPlus != null) {
    instanceVideoPlus = autoVideoPlus.newInstance();
    la.setText("loading....dirver:"+autoVideoPlus.getName());
    } catch (ThreadDeath td) {
    throw td;
    } catch (Throwable t) {
    call this function for init

  • Please help!!  Where I can find free Java-applet HTML-Editor???

    I need free Java-applet HTML-Editor. Where I can find it????
    Thanks.

    NetBeans or Forte is supposed to do that now. I've not had an occasion to try to do it in either yet though.

  • Adding 2 archive into one applet html file

    I have 2 questions
    first one is i have an applet html file and i want to add 2 jar file as an archive of it
    but i dont know how can i do it?
    second one is i have a signed jar file and i want when people open the html page one of the clases which include in jar file to be shown
    for example i have an applet class inside of the jar file and when people open the html page i want that applet class to be show
    is two of this possible if it is how?

    sorry i found the java console error and it says
    java.lang.ClassFormatError: Incompatible magic value 1347093252 in class file techclient
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • JMF Applets in IE - desperately seeking help

    how do i run JMF applets in internet explorer of a client where JMF is not installed...is there any downloadable plugin for JMf that the client can download...this very important and i've searching the net but in vain...
    any kind of help would b greatly appreciated....
    wishing u a happy new year
    suri

    Your clients have to download JMF in order to use it in applet. I am not sure whether SUN plan to include it with JRE 1.4 or not.
    Hope it helps,
    St�phane

  • JMF Applet without JMF installed

    How can I run the JMF Applet without installing JMF on very client before?
    I already tried to archive the jmf.jar and sound.jar and I found a code:
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="100%" height="100%" codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0"></p>
         <param name="java_code" value="javamediaplayer.SimplePlayerApplet">
         <param name="java_codebase" value="browser/applet/">
         <param name="java_archive" value="javamediaplayer.jar,jmf.jar">
         <param name="type" value="application/x-java-applet;version=1.3">
         <param name="FILE" value="myAudioFile.wav">
    but I don't know how to use it!!!
    PLEASE help me!!!!
    THX!

    Hi
    I wrote this code to play my JMF applet:
    <applet
    code=simpleplayerapplet.SimplePlayerApplet
    ARCHIVE="jmf.jar,customizer.jar,mediaplayer.jar,multiplayer.jar,sound.jar"
    width=320 height=300>
    <param name=file value="musica.mp3">
    </applet>
    It works fine, and the applet starts normally. I have another kind of problem: what I want to play is an mp3. So I downloaded the Sun mp3 plg-in and installed it in my test machine, wich have JMF installed. The applet runs ok. But when I try to test in a machine without JMF (but with the Sun mp3 plug-in installed) i get the Unable to handle format: mpeglayer3 exception. I won't print the stack trace because is a common exception related with the plug-in. What am I doing wrong? I thought that the plug-in was necessary and sufficient for a client to play my test applet.

  • Simple applet html editor

    Hi,
    I need a simple applet html editor.
    Does anyone has implemented one?
    The functions I need is bold, italic, insert table, insert image, and all basic functions of an editor
    I need some source, because I dont want to make it from scratch
    Thanks

    Using the search feature of this site, I found:
    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A57&qt=html+editor
    ;o)
    V.V.

  • APPLET + HTML WORD DOC

    I created a servlet class which would return a page ( applet + html ) to the client.
    Now I want to create a URL link in this page, allowing the client to download this page to his computer.
    How can I do this? Actually, the file can be of any type. The most important thing is that they can download it and save the page in their computers.
    What do I need to accomplish this?
    Thanks.

                       response.setContentType("application/octet-stream");
              String filename= "whatever you.like";
              response.setHeader
                  ("Content-Disposition","attachment; filename=\""
                   + filename + "\";"
                   );And do not forget to use the outputstream (and not the writer).

  • JMF Applet without JMF installed on clients ? A solution ?

    Hi all. I have compiled RTPPlayerApplet sample downloaded from Sun's web. After comment some "error" lines, I got it working on my client machine with JMF installed.
    I have searched for this solution on forums, but didnt find how to solve this:
    I want that clients only need to have installed JRE, and not JMF. I have read that it can be possible telling in the HTML of the applet that "loads" jmf.jar file, and some others...
    I have tried it, and the applet loads without any error on my client machine without JMF installed, but it doesnt start to play...
    Any suggestion ?
    Does anyone got RTPPlayerApplet working on client machine without JMF installed ?
    Thanks for your help
    John

    I want that ... HTML code is placed).
    I can understand your reasons for not wanting to bother clients with installing the JMF. However, please understand the negative side effect of this approach. If nine other organisations supply your client a JMF-based applet in the same way, the client would be downloading the same JMF jar ten times. Don't even think about patches and upgrades that would require JMF jar updates. If you rely on framework components, don't be shy with distributing the framework where needed.
    And i think that also could be possible ... decrease the size of the file...
    If you compile only the source code of the JMF classes you use or perhaps create a new jar file in which you copy only the JMF classes you've used, this should work. However, for reasons mentioned earlier, this is not quite as user-friendly as it may seem at first glance.
    Think of the JMF as something like Microsoft DirectX. When you install a game that needs DirectX, it checks and -if necessary- installs a complete, new version of DirectX.

  • Tabbing from applet to applet, HTML component to applet, and back

    How can one tab between applets in a browser, and from an applet to an HTML component?
    For example, I have the following in my page in decending order:
    an HTML text field,
    an applet containing two components,
    and another HTML text field.
    When focus is on the first HTML text field pressing TAB should shift focus to the first component of the applet, the next TAB press shifts focus to the second component of the applet, and the next TAB press shifts focus to the other HTML text field. Then another TAB press cycles back to the first TEXT field.
    I can handle the tabbing within the applet using the FocusManager, but how can I get the applet to receive focus on a TAB from the browser, and once the applet has focus, how can give focus back to the browser when a TAB occurs from my last applet sub-component? At the moment a user has to click on the applet before he can tab in it, and then click outside it to tab in the html again.
    Any help appreciated, as I cant find any reference to how to do this apart from other people asking the same but getting no replies.
    Thanks,
    Menno

    Well, I think it is both a Java & HTML problem.
    When you TAB from HTML there must be a way to TAB to the Java applet, and when you TAB from the applet there must be a way, when you are on the last component within the applet, to TAB back to the HTML components.
    Anyone know how?
    Cheers,
    Menno

  • JMF applet  in webpage

    Hello all
    I finally succeededin making AVReceive class work. But now I need to open it on a webpage. So I tried to convert into a java applet but I could not.
    Can any one kindly help me in this.
    Thanx all.

    >
    I am accessing a webcam from an applet embedded in a webpage using JMF 2.1. I am using JButtons using Image Icons. When i view the applet using applet viewer both the player and buttons appear fine. However when the applet is embedded in a jsp page the image JButtons don't appear at all. >That is probably because of security. Add 10 Dukes to the thread to indicate you are serious about resolving this, and I might expand on that answer.

  • JSP & APPlet - HTML

    Hi All,
    I am new to web development platform. I know core java, now as I need to proceed to web development I would like to know certain concepts / languages used.
    Jsp - Jsp is used to develop webpages, how does it differ from html.
    Applets - We can develop web pages using applets. Then what are the circumstance we use applets, jsp.
    JSP & Applets - Can JSP and Applet both used to create a webpage? If yes how?
    Kindly answer my question. Thank you.
    Regards,
    lg

    Go look up a basic tutorial dude.
    Basically JSP lets you create an HTML page on the fly. Rather than just serving up a static page, you customise it for each request.
    This gives a pretty good example of how JSP fits into things
    http://www.javaranch.com/journal/200510/Journal200510.jsp#a1
    Applets - Its a program running on a web page. I kinda lump them into the same box as "flash" and "activex". They let you step outside the bounds of html which a webpage is tied to. That has both advantages and disadvantages. Most web applications don't use applets.

  • JMF Applet without client side installation

    Hello everybody,
    is it possible that a client (applet in browser) receives a video-stream (from a server) without having jmf installed on its local disk?
    Thanks for any advice
    Chris

    Yeah, if you make your applet link to the JMF.jar file and use a video format supported by the cross-platform pack.

Maybe you are looking for

  • MacBook Pro Problems at Start Up: Please Help!!

    Hellos and Saluations, Lads and gents: I first want to say what a brilliant board you all have here. Congrats to the admins and mods for a splendid job! My new friends, I have a MacBook Pro (Intel) that I purchased a little over 1 year ago. I was sti

  • Can't get SVM metaimport to work...

    I'm setting up SVM disksets for the first time and can't get metaimport to work. I can't help thinking there's something simple I'm missing. I'm tasked with setting up a diskset in a J4200 JBOD array which is attached to two T2000 servers. This is go

  • Disk installation

    Hello, I have installed an IBM ultra star disk on my Sun Netra T1 (Solaris 5.8); which came from another Netra T1 . But the system doesn't recognise my disk and the phase of boot is not completed. I have the following error message : Drive not ready

  • Reading data from table on screen .

    Hi i have a 'Z' screen which contains table - i want to read the content of the table from screen beacuse some times the user fill the table fileds but doesnt press the ENTER key and the data he filled in the table on screen doesnt enter the internal

  • Can't insert powerpoint 2007 slide in to captivate 3

    Please how I can insert powerpoint slide 2007 pptx extension into captivate 3 . Now I can only insert after saving the powerpoint slide in 97-2003 format .ppt extension. Please let me know Thanks Pol