Media Information Edit
The trick is understanding how to get it working - and that's what this video will help you with!
September 17, 2009
- Matt Petrowsky
Screen: "GotDrupal | Once you've got it, you're addicted!"
Screen: "Matt Petrowsky | Your Drupal Addicted Instructor"
Speaker 2: Hello, and welcome to another video about learning the Drupal content management system! My name is Matt Petrowsky, I'm your Drupal-addicted instructor, and in this video, we are taking a look at SWF Tools module. This is easy media embedding in Drupal.
Screen: "SWF Tools | Easy media embedding in Drupal"
Speaker 2: So let's head into the site and take a look at how we can make this happen.
Screen: A display of the Drupal.org SWF Tools Drupal page, found here.
So now that I've switched into my Firefox browser, we can take a look at the first thing that we need, which is, obviously, the module.
Which you can find at drupal.org/project/swftools. Now, what SWF Tools is going to do for you is allow you to embed Flash-based content -- primarily, movie players and audio players. So, my initial use of this was on a site that I have called FileMakerTalk.
Screen changes to display FileMakerTalk.com.
It's a site where I talk about things in a nother industry FileMaker, which is a desktop database, and I have a podcast with a fellow developer friend of mine. Now, my goal was to integrate the one-pixel-out player. You've seen this, it's familiar, and it's all over the web. Initially created for Wordpress, this is available to you within SWF Tools, as well as many other players. Now, in this video, I"m only going to be focusing on this one-pixel-out player. But, I want you to know in this video you'll be able to understand how to integrate the other players as well. such as FlowPlayer. So let's go look at how we get this into our site. Now, first thing is we need to head over to the modules area and take a look at what we need to turn on.
A list of the various players available to SWF Tools.
Now, you're going to find that under the area right here under SWF Tools.
Zoom in on the module title: SWF Tools
You'll find that listing on the modules page, however you're going to access that. Now, for each and every player, or feature that you're going to implement or turn on with SWF Tools, there is a supporting module. At its core, you're only going to need to turn on the SWF Tools, which supports the embedding. Then you're going to need to choose an embedding method. Now. The one that you're going to choose as of the shooting of this video is primarily the SWFObject2. This is the second version of of the first method of implementing the embed tag, which is all this is doing. It's simply looking at the HTML on the page then it's dynamically wrapping the player around a particular length. The older method was SWFObject. The only time you're going to need that is if you have already been using it on your site. Otherwise, if you're just starting out, go ahead and get SWFObject2. And then UFO is another embedding method, but probably not one that you're going to want to start out with if you're just now using SWF Tools.
Now, those are the two things that need to be checked on in order to make SWF Tools work behind the scenes. It does not make it so that you can use all the different players that you might want to use. And SWF Tools provides many of those. You can see them as I scroll up right here.
Zoom in on the players list.
We have the 1 Pixel Out player, which is an MP3 player. We have FlowPlayer the standard version, and the newer FlowPlayer 3. We have jQuery Flash plugin, the JW Image Rotator, JW Media, JW Media Player 4, and Simple Viewer.
Zoom back out to view the whole list.
The first thing to approach is, what do I want to show on my site? If it's only audio and video, you're really only going to need one player of each. I tend to opt for FlowPlayer 3, for video, and 1 Pixel Out. These are two of the most robust players. FlowPlayer 3 will support audio, and it's just a matter of preference whether you're going to use something like the 1 Pixel Out player.
Now, once you've downloaded the SWF Tools module, and you've decided which modules you want to enable, to support the different players, does not mean that you're done. In fact, you're only halfway there. The other half of what you're going to need to do is install the actual players themselves and the embedding method. Now there's one thing you need to be aware of before you head off into the configuration aspect. That's because you can find out information about SWF under the reports area. Now, using admin menu up here at the top, which mine may look a little different than yours, we can see that we have an option right here of the "SWF Tools status". This is very helpful as I load a new page, in terms of figuring out whether your installation method or your installation is actually set up correctly.
Now, when you go to the reports page, when you go to the configuration page which we're going to see next there are links to all of the different players and to the
Transcriber Information Edit
Transcribed by XtinaS on 2010-04-13.