Brown Eyed Girl (browneyedgirl65) wrote in component_help,
Brown Eyed Girl
browneyedgirl65
component_help

handling non-text posts

Edit: Resolved, thanks!

Hi, all. What I would like to do is properly print video clips out, but punt audio clips in the friends entries page. Is there a way to do that? I've been poking around, but all I've got is this too-general bit of code:

if ($e.text_must_print_trusted) {
$e->print_text();
}

which catches both video and audio clips. Is there a more fine grained test for audio vs video than "text_must_print_trusted"? Or, do we have access to the code for print_text anywhere -- that would be dandy. I searched around but didn't find this.

Thanks!
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 5 comments