Embedded Object into html page
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Embedded Object into html page




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Embedded Object into html page  
hkwan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-07 12:47 AM

Hello,

I have an html enable template that I'm using to create a web page that
would allow us to add an embedded object on the web page itself.   It has th
e
following code:

<object width="425" height="350"><param name="movie"
value="http://www.youtube.com/v/of3c9lrnFJs"></param><embed
src="http://www.youtube.com/v/of3c9lrnFJs"
type="application/x-shockwave-flash" width="600"
height="350"></embed></object>

On the web page, I select html and then paste the code on it but the code
would not save on the page.  Please advise.  Thanks.





[ Post a follow-up to this message ]



    Re: Embedded Object into html page  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-07 12:22 PM

Hi Helen,

this is by design.
only allows specific tags in a html placeholder depending on the formatting
mode.
See here for a complete list in the MCMS documentation:

\Developer Reference
\MCMS .NET Class Reference
\Microsoft.ContentManagement.Publishing.Extensions.Placeholders
Namespace
\HtmlPlaceholderDefinition.SourceFormatting Enumeration

Active content like object and embed tags are not allowed.

You can use this custom placeholder control as a workaround:
http://www.gotdotnet.com/Community/...e3-5009a962acea

Cheers,
Stefan

"hkwan" <hkwan@discussions.microsoft.com> wrote in message
news:D585D58E-041F-44BA-BABC-6466F53B9A35@microsoft.com...
> Hello,
>
> I have an html enable template that I'm using to create a web page that
> would allow us to add an embedded object on the web page itself.   It has
> the
> following code:
>
> <object width="425" height="350"><param name="movie"
> value="http://www.youtube.com/v/of3c9lrnFJs"></param><embed
> src="http://www.youtube.com/v/of3c9lrnFJs"
> type="application/x-shockwave-flash" width="600"
> height="350"></embed></object>
>
> On the web page, I select html and then paste the code on it but the code
> would not save on the page.  Please advise.  Thanks.







[ Post a follow-up to this message ]



    Re: Embedded Object into html page  
hkwan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-13-07 06:23 PM

Hi Stefan,

If this is by design, what is the reason for not allowing active content to
be in the web page?

Thanks for your help.

"Stefan Goßner [MSFT]" wrote:

> Hi Helen,
>
> this is by design.
> only allows specific tags in a html placeholder depending on the formattin
g
> mode.
> See here for a complete list in the MCMS documentation:
>
> \Developer Reference
>     \MCMS .NET Class Reference
>         \Microsoft.ContentManagement.Publishing.Extensions.Placeholders
> Namespace
>             \HtmlPlaceholderDefinition.SourceFormatting Enumeration
>
> Active content like object and embed tags are not allowed.
>
> You can use this custom placeholder control as a workaround:
> http://www.gotdotnet.com/Community/...e3-5009a962acea
>
> Cheers,
> Stefan
>
> "hkwan" <hkwan@discussions.microsoft.com> wrote in message
> news:D585D58E-041F-44BA-BABC-6466F53B9A35@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Embedded Object into html page  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-13-07 06:23 PM

Hi Helen,

it was a design decision. The reason is that active content (javascript,
other stuff) should be designed by template designers. Not by content
providers.

Cheers,
Stefan.

"hkwan" <hkwan@discussions.microsoft.com> wrote in message
news:AB67B702-0BE8-4AE1-A5A1-F07109A66FD4@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> If this is by design, what is the reason for not allowing active content
> to
> be in the web page?
>
> Thanks for your help.
>
> "Stefan Goßner [MSFT]" wrote:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register