SOLVED: Embedded Videos not working?

Oct 23, 2006 01:47

I've just noticed that if I embed a youtube video in a post that it can't be seen.
Read more... )

bug, entries:misc

Leave a comment

Comments 3

camomiletea October 23 2006, 14:01:12 UTC
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
}

Reply

camomiletea October 23 2006, 14:01:52 UTC
If you need help, let me know.

Reply

japewierd October 23 2006, 20:04:38 UTC
It worked. Thank you so much!

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

Up