Problem when adding an object in article

For Joomla! 2.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Note: All 1.6, 1.7 and 3.5 releases have reached end of life and should be updated to 3.x.

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
felldin
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Jan 07, 2008 4:49 pm

Problem when adding an object in article

Post by felldin » Fri May 04, 2012 8:19 pm

im trying to stream from a webcam to my joomla site. the code I'm trying to insert is the following

Code: Select all

<object type="application/x-shockwave-flash" width="640" height="480" data="http://HELENASLAPTOP:8080/flashMJPEG.swf">
<param name="movie" value="http://HELENASLAPTOP:8080/flashMJPEG.swf?webcam=http://HELENASLAPTOP:8080/cam_1.jpg&refresh=50&connect=&offline=&transtype=Fade&bgcolor=#FFFFFF&txtcolor=#808080" />
<param name="FlashVars" value="webcam=http://HELENASLAPTOP:8080/cam_1.jpg&refresh=50&connect=&offline=&transtype=Fade&bgcolor=#FFFFFF&txtcolor=#808080" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="wmode" value="opaque" />
</object>
but when I insert this code and press save on an article. the article only contains this

Code: Select all

<param name="movie" value="http://HELENASLAPTOP:8080/flashMJPEG.swf?webcam=http://HELENASLAPTOP:8080/cam_1.jpg&refresh=50&connect=&offline=&transtype=Fade&bgcolor=#FFFFFF&txtcolor=#808080" />
<param name="FlashVars" value="webcam=http://HELENASLAPTOP:8080/cam_1.jpg&refresh=50&connect=&offline=&transtype=Fade&bgcolor=#FFFFFF&txtcolor=#808080" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="wmode" value="opaque" />

If I paste the first code into a regular html page between the HTML tags it works good.

Can you please help me out? the code is being generated from webcamxp.

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Problem when adding an object in article

Post by humvee » Sat May 05, 2012 11:15 am

[Mod note: Moved from General Forum to 2.5 coding Forum;]


Locked

Return to “Joomla! 2.5 Coding”