Hey All,
I am looking over modules for streaming audio (and perhaps video), and downloads for the files on my Drupal sites. SWF Tools seem to be pretty widely used, and has decent reviews, but I have a few questions.
On the SWF project page at http://drupal.org/project/swftools instructions such as....
"When you enable those you can easily add video and audio content to your site simply by writing [swf file="myAudio.mp3"] or [swf file="myVideo.flv"]. SWF Tools will take of everything to create your player."
So, I basically have to go into my files and edit php code for each file I wish to host on the site?
Also, the Flash Node Module looks like it may serve me well, but it requires SWF tools for mp3 uploads.
Any suggestions on what sort of solution to use regarding this?
Thanks in advance,
Devon
Comments
=-=
code example:
[swf file="myAudio.mp3"] or [swf file="myVideo.flv"]The above would be added to content when creating it in drupal. ex: in default body field provided by core.
The module provides a filter that, should be enabled in administer -> input formats -> edit input format in use
As a content writer on your site, you would use the syntax in code example to add content on the fly in the body area. Which, depending on your styling ideas may or may not be the way to go.
In most cases I prefer to create a filefield handled by cck.module and filefield.module. With those modules I set up a field for audio, video, image(if imagefield also added) and assign specific display options to those fields on a per node and/or per teaser grainularity in administer -> content -> edit contet type of choice -> use display fields tab
unless I have a situation where I am using a custom.tpl.php file and a subset of specific requirements, I may use
print swf('SOMEFILE.swf');