|
Home > Archive > Microsoft Content Management Server > March 2007 > Embedded Object into html page
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Embedded Object into html page
|
|
|
| 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.
| |
| Stefan Goßner [MSFT] 2007-03-09, 7:22 am |
| 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.
| |
|
| 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 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...
>
>
>
| |
| Stefan Goßner [MSFT] 2007-03-13, 1: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:
>
|
|
|
|
|