#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    4
    Rep Power
    0

    Question How embed java live stream? [was:How embed javascript live stream?]


    Hi there again.

    I'm building a website of amateur meteorology and I am trying to put a javascript live stream using the following code:

    Code:
    <applet codebase= "hxxp://meteoelvas.no-ip.info" archive="wwCam.jar" code="wwCam.class" width="320" height="240">  <param name="filename" value="hxxp://meteoelvas.no-ip.info/ww.jpg" />
    <param name="sound" value="yes" />  </applet>
    But I always get this error message:

    ClassFormatError
    Incompatible magic value 1008813135 in class file wwCam
    As you can see here: hxxp://meteoelvas.com/wxwebcam_1.php.

    What am I doing wrong?
    The only way I got it to work so far is with the "iframe" tag.

    Thanks once more for any help.
    Last edited by E-Oreo; March 2nd, 2013 at 11:45 PM.
  2. #2
  3. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Location
    Eastern Florida
    Posts
    3,724
    Rep Power
    348
    The .class file being used is not a class file. Open it in an editor to see what it is.
    The Incompatible magic value 1008813135 is from the first 4 char of the file: "<!DO"
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    4
    Rep Power
    0
    Originally Posted by NormR
    The .class file being used is not a class file. Open it in an editor to see what it is.
    The Incompatible magic value 1008813135 is from the first 4 char of the file: "<!DO"
    Ok. Thank you very much for your great help!

    Now It's fine!

    hxxp://meteoelvas.com/wxwebcam.php.

    Great forum you have here. There is always someone ready to help!

IMN logo majestic logo threadwatch logo seochat tools logo