It because of your theme layer which uses $e.text. In order for video, phoneposts and other restricted content to display correctly, you must adjust your code to use $e->print_text(); in those cases, and do whatever you wish with the text on other entries that don't contain any restricted content.
Something like this:
if ($e.text_must_print_trusted) { $e->print_text(); } else { #whatever you are doing with $e.text here }
I'd amended that part because I used this tutorial for adding smilies and couldn't get it to compile using the $e->print_text. I'll just have to remember not to have smilies and videos in the same post.
Comments 3
Something like this:
if ($e.text_must_print_trusted) {
$e->print_text();
} else {
#whatever you are doing with $e.text here
}
Reply
Reply
I'd amended that part because I used this tutorial for adding smilies and couldn't get it to compile using the $e->print_text. I'll just have to remember not to have smilies and videos in the same post.
Thanks again.
Reply
Leave a comment