Crucial Thought Rss

Featured Posts

Chris selected as K12OnlineConference keynote speaker Each year the K12OnlineConference provides tremendous professional development for free, and entirely online. This year, they have selected me as one of their keynote speakers. I am thrilled to have been chosen and look forward to participating in the conversation. Read the full post announcing all the keynote speakers here.

Read more

Two quick links on Cognitive Load Theory I've been fielding lots of questions lately about Cognitive Load Theory. Here are two quick links that may be useful. First is an article talking about the practical implications of CLT on the design of learning. The second are some "recent" (as of 2003) developments regarding CLT. Happy reading! Update: I clarified the second...

Read more

Practical advice on kids and Android app development After hearing about my students' success developing an Android app, I've gotten several emails asking for more details as to how I practically worked with my kids. Here are some pointers that I offered to the first person that emailed me, perhaps they are of some use to you. Please note that your mileage may vary. It's ok to not be...

Read more

Publishing an App Inventor app to the Android Market As I mentioned earlier, my students and I published an Android app to the Android Market. See those links for more information on the background. This post is decidedly technical. First, once we finished the coding process, we packaged the app for to download to the computer. This is an option in App Inventor. This downloaded an .apk file....

Read more

Designing and publishing an Android app with kids This post is designed to provide some context around how/why we decided to build this app. The more technical details of the code and how we published it will come in a future post. My students and I recently completed and published an Android app, and here's how we did it. First, the genesis for this goes back to a question I asked...

Read more

How to embed Youtube et al videos in Drupal

Category : General, Software

This is for you, Jeff. Well, for his kids anyway.

Jeff recently asked how to embed video in Drupal. Since I’m working with a new Drupal installation I decided I would try and figure it out, just in case it came in handy for me and my sites at some point in the future. So I did, and here’s how I did it.

First, I installed the Embed Filter which allows for embedding and object tags. Once I installed it, I activated it, and added http://youtube.com into the allowed domains list. I also added http://www.youtube.com just for kicks. I may go back and add the ip address (http://208.65.153.251) to it as well, making it possible to see from other spots if I’m lucky.

But it didn’t work. I began to wonder what was happening. I had installed the FCKEditor plugin, which I LOVE. This plugin requires a separate download of the actual FCKEditor to work. When I used the source command the video would be seen upon returning to WYSIWYG mode, but then once saved it would not. Hmmm.

I then made it where FCKEditor opens in a popup rather than by default. This adds a link that says Open Rich Editor alongside the body of what you’re writing. Still didn’t work. My logic is that FCKEditor was cleaning the code and making it faulty. Nope, sorry to have blamed you FCKEditor.

Then it hit me, my code WAS being filtered, by Drupal.

I had to enable FULL HTML under the Input Format menu below the posting. Once I did that, I was golden.

Now, for student accounts on my site to be able to do this, the administrator (me) would have to enable it in the permissions. You can do this by clicking on Administer –> Input Formats and then configuring a certain role (student in my case) to be allowed to use FULL HTML. You will still have to click it on each post, but that’s an easy solution.

So there it is, Utecht’ers. Hope this helps!

Comments (3)

Hello, Chris,

Another way to do it — without giving one role access to “full html” — is to add the following tags to the input formats (at admin/filters): , and .

Additionally, students will need to input this without using the wysiwyg editor — my editor of choice is TinyMce, but, like many things, that’s a pretty subjective determination :)

Bill

Also, to clarify, my above comment assumes you have the Embed Filter installed –

Thanks for teaching us how to embed YouTube videos, Mr. Craft! I added the EmbedFilter and enabled every variation of Youtube.com I could find – we’re testing it right now to see if it works.

Thanks,
Hardware Heretic 404




bt
plugin by DynamicWP
#