• ronny-villarroel-mendoza

    (@ronny-villarroel-mendoza)


    I have insert this code:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="385" width="480"><param value="#ffffff" name="bgcolor" /><param value="flashshowid=' + idvideo + '&amp;baseurl=https://www.realestateshows.com/&amp;playmode=embed" name="flashvars" /><param value="https://www.realestateshows.com/show/player.swf" name="src" /><embed height="385" width="480" src="https://www.realestateshows.com/show/player.swf" flashvars="flashshowid=' + idvideo + '&amp;baseurl=https://www.realestateshows.com/&amp;playmode=embed" bgcolor="#ffffff" type="application/x-shockwave-flash"></embed></object>

    this code is inserted using a custom bottom of my TinyMCE that I create.

    the flash video is inserted in VISUAL view but when i change to HTML view the code is cleanup to :

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="385" width="480"></object>

    I need the <param> tag for the ‘idvideo’ why the editor is cleanup this tag ?

    In my plugin I have the code for validate the tags:
    $init_array['valid_elements'] = 'object[classid|codebase|height|width],param[name|value],embed[*],*[*]';

  • The topic ‘Tag <param> is cleanup ..editor TinyMCE 3’ is closed to new replies.