rfrovarp
Member
Posted 16 years ago #
How is everyone handling embeds from TeacherTube? I see they have code for both edublogs and wordpress. However, the WordPress instructions point to installing a plugin that doesn't seem to be supported and changing all of my templates. Not exactly what I had in mind. Is EduBlogs just letting the embed tag through or what? Any other ideas? I have Viper's plugin installed but it doesn't support teachertube.
Here's a hacked up plugin I use to embed youtube(no related posts and ca.youtube) teachertube, 5min, and googlevid.
The code is a mess with a several experiments gone awry.
What remains works for me.
http://pastebin.com/m3340591f
Caution, I use a function to replace old Anarchy Media Player short code with mine. Comment out those lines.
The video plugin we use has it as well:
http://www.daburna.de/blog/2006/12/13/wordpress-video-plugin/
No offense to dsader but *cough* their code isn't such a mess. :)
Seriously, it's divided into sections and you should be able to pull out the tt code if you just want that specifically.