Support » Fixing WordPress » Essential code stripped from emailed posts (Postie plugin)

  • Resolved stephennewton

    (@stephennewton)


    Postie no longer embeds QuickTime for video emailed to my blog. Error noticed after upgrading WP to 2.3.2, but may have been present earlier as I only email video very occasionally.

    Something is stripping essential code from the posts. For example:

    $attachments[“html”][] = ‘<!–Mime Type of File is ‘.$part->ctype_primary.”/”.$part->ctype_secondary.’ –>’ .
    ‘<center>’.
    ‘<object ‘.
    ‘classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” ‘.
    ‘codebase=”http://www.apple.com/qtactivex/qtplugin.cab” ‘.
    ‘width=”300″ ‘.
    ‘height=”256″> ‘.
    ‘<param name=”src” VALUE=”‘. $config[“URLFILESDIR”] . $filename .'”> ‘.
    ‘<param name=”autoplay” VALUE=”false”> ‘.
    ‘<param name=”controller” VALUE=”true”> ‘.
    ‘<param name=”scale” VALUE=”aspect”> ‘.
    ‘<embed ‘.
    ‘src=”‘. $config[“URLFILESDIR”] . $filename .'” ‘.
    ‘width=”320″ ‘.
    ‘height=”250″ ‘.
    ‘autoplay=”true” ‘.
    ‘controller=”true” ‘.
    ‘type=”video/quicktime” ‘.
    ‘pluginspage=”http://www.apple.com/quicktime/download/” ‘.
    ‘width=”300″ ‘.
    ‘height=”263″></embed> ‘.
    ‘</object><br><font size=-1>YouTubepodcast</font></center>’;

    Arrives in the post as:

    <!–Mime Type of File is video/mp4 –> <br><font size=”-1″>YouTubepodcast</font>

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Essential code stripped from emailed posts (Postie plugin)’ is closed to new replies.