Forum Moderators: open

Message Too Old, No Replies

applet tag replaced with object?

         

tonynoriega

8:51 pm on Jul 22, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i want to use a webcam feed from another site that is using the applet tag:

<applet code="CaptureClient.class" width="250" height="175">
<param name="image" value="http://example.com/example.jpg" />
<param name="delay" value="5" />
<param name="status" value="2" />
<param name="statusText" value="Next live image in %M:%S" />

<param name="statusTextColor" value="#ffffff" />
<param name="backgroundColor" value="#000000" />
<param name="url" value="http://www.example2.com/example.htm" />
</applet>

my doctype is xhtml 1.0 strict... which according to my research, the <applet> tag does not work...

do i have to replace with object?

can it be that simple?

[edited by: incrediBILL at 8:58 pm (utc) on July 22, 2009]
[edit reason] removed path specifics [/edit]

lavazza

9:31 pm on Jul 22, 2009 (gmt 0)

10+ Year Member



do i have to replace with object?

can it be that simple?

I think so...

The following is valid HTML4 strict that I first found on A List Apart for embedding a youtube vid

<object type="application/x-shockwave-flash"  
data="http://www.youtube.com/watch?v=_fs7veJLwII&amp;hl=en&amp;fs=1"
width="425" height="344" id="VideoPlayback">
<param name="movie"
value="http://www.youtube.com/watch?v=_fs7veJLwII&amp;hl=en&amp;fs=1">
<param name="allowScriptAcess"
value="sameDomain">
<param name="quality"
value="best">
<param name="bgcolor"
value="#fff">
<param name="scale"
value="noScale">
<param name="salign"
value="TL">
<param name="FlashVars"
value="playerMode=embedded">
</object>

I guess you'll have to replace application/x-shockwave-flash with something else for a webcam feed