CuteEditor and YetAnotherForum embed problems

Last post 07-20-2009, 3:04 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  07-17-2009, 5:11 PM 54075

    CuteEditor and YetAnotherForum embed problems

    I followed the instructions here to modify my YAF source to enable CuteEdtor as an editor; most of the functionality works very well (great job!) BUT
     
    When I try to embed video (avi or youtube) I can see the video within  CuteEdtor, and playback controls work, BUT
     
    when I post to the board
     
    AVI's show a black window with playback controls that are INOP
     
    Youtube videos don't show (a blank message)
     
    Using CuteEdtor 6.3 build 2009-02-12 and YAF 1.9.1.8
     
    any ideas?

    Running CuteEditor in YetanotherForum at http://thecarversite.com
  •  07-20-2009, 3:04 AM 54089 in reply to 54075

    Re: CuteEditor and YetAnotherForum embed problems

    Hi RichP714,
     
    Please try the code below on your site, click the show button after insert a video to see the result.
    1. <%@ Page Language="C#" %>   
    2. <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>   
    3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
    4.   
    5. <script runat="server">   
    6.      
    7.     protected void button1_Click(object sender, EventArgs e)   
    8.     {   
    9.         label1.Text = editor1.Text;   
    10.     }   
    11. </script>   
    12.   
    13. <html xmlns="http://www.w3.org/1999/xhtml">   
    14. <head runat="server">   
    15.     <title>Untitled Page</title>   
    16.       
    17. </head>   
    18. <body>   
    19.     <form id="form1" runat="server">   
    20.         <div id="test">   
    21.             <CE:Editor ID="editor1" runat="server"  >   
    22.             </CE:Editor>   
    23.             <asp:Label ID=label1 runat=server></asp:Label>   
    24.             <asp:Button ID=button1 runat=server Text=Show OnClick="button1_Click" />   
    25.         </div>   
    26.     </form>   
    27. </body>   
    28. </html>  
    Regards,
     
    ken
View as RSS news feed in XML