Problem with Javascript/Activex (like embedded Media) in Post list in blog template of WSS 3.0

Hi,

When I try to add javascript (or activex) in posts in WSS 3.0 blog module, sharepoint delete js code. Do you know if a solution exist

For example, i would lik to add video in my post with :
<table border='0' cellpadding='0' align="center">
<!-- begin video window... -->
<tr><td>
<OBJECT id='rvocx' classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'
width="320" height="240">
<param name='src' value="http://realserver.test.com/test.rm">
<param name='autostart' value="false">
<param name='controls' value='imagewindow'>
<param name='console' value='video'>
<param name='loop' value="false">
<EMBED src="http://realserver.test.com/test.rm" width="320" height="240"
loop="false" type='audio/x-pn-realaudio-plugin' controls='imagewindow' console='video' autostart="false">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end video window --><!-- begin link to launch external media player... -->
<tr><td align='center'>
<a href="http://realserver.test.com/test.rm" style='font-size: 85%;' target='_blank'>Launch in external player</a>
<!-- ...end link to launch external media player... -->
</td></tr>
</table>
I tried to add validaterequest to false in editPost.aspx pages:
<%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full" meta:progid="SharePoint.WebPartPage.Document" ValidateRequest="false" %>
and now I have this message "
The validaterequest attribute on the page directive is not allowed in this page.".

J.




Answer this question

Problem with Javascript/Activex (like embedded Media) in Post list in blog template of WSS 3.0