Flash mp3 Player with Scrolling Text

Flash mp3 Player with Scrolling Text

Chardelle Busch發表於
Number of replies: 7
Core developers的相片

It appears that Flash is becoming an app of choice in Moodle and I thought I would share a flash resource that I developed awhile back.  This is a flash movie that plays audio and also has a scrolling text box.  I got to thinking this might be very useful for teaching language.  The "text" area could also be used to add an image of the speaker, or to load a video ? (I don't know how to do this so haven't tried it). 

One nice feature about this file is that it has a stop loading button so that if someone (especially at a low connection) decides not to listen to the audio, they don't have to wait for the mp3 file to finish loading before they can back out of the window.  To use it I simply add the file name to the script, e.g. audio.mp3, then upload that file to the course files, then upload the .swf file to the course files and add it as a resource.

I've attached the movie, but it isn't linked to an audio file in moodle so it won't play anything, but you can get the idea.  I made this in Swish, so if anybody wants the .swi file, or the text of the script (which you might be able to use in Flash MX?), let me know.

Chardelle

評比平均分數: -
In reply to Chardelle Busch

Re: Flash mp3 Player with Scrolling Text

Bob Gettings發表於
Hi!

I would be very interested in getting a copy of the swi file and the text!! We're starting to use Flash and what you have developed seems to have some approaches that we could incorporate.


Plus I'm just starting to explore Flash so it's great to see what other people have done.

In reply to Chardelle Busch

Re: Flash mp3 Player with Scrolling Text

W Page發表於
Hi Chardelle,

Maybe it would be easier to just post all the files together with instructions as to how to install them within a ZIP file.  This sure would help newbies like myself.

WP1

In reply to W Page

Re: Flash mp3 Player with Scrolling Text

Chardelle Busch發表於
Core developers的相片
In reply to Chardelle Busch

Re: Flash mp3 Player with Scrolling Text

lou Charrier MIS發表於

i like that one a lot Chardelle ..  but it would be more 'moodle'ish if both the text and the mp3 were external files so the player could be re-used....

as an example in my 'chat' upgrade i have a 'Slide Presentation' option , the presenter will set-up the presentation in advance of the live event , create individual jpegs or flash slides and enter a text 'transcript for each slide. then when live the presenter selects a slide at a time to display to all chatters on line , each slide is accompanied with it's transcript in area of webpage seperate from the 'chat messages' this way the questions/answers do not affect the display of slides ...

in the context of this Flash audio player file : consider each mp3 as a 'slide' and each mp3 has matched text 'transcipt' , the list of mp3s/transcript is available in a select list and is shared one at a time to all chatters , when  any questions/answers are exchanged in the seperate 'chat message' area they  do not affect the flash file's operation.... 

Programatically it fits into the scheme i have already layed out , it would be another 'type' of presentation that is stored in the 'presentations' and 'slides' data tables i needed to create for my upgrade. The Presentation editing screen is simply :  'url of slide'  , 'test of transcript'  so this could just as easily be : 'url of mp3' 'text of transcript' .....

this is something i would be happy to integrate into my 'chat' module , it would be available as an option when a teacher is creating a new chat,  it is a perfect compliment to the slideshow since this is an 'audio presentation' and my slide show is mostly a 'visual presentation' .

although now that i am thinking about it : why not go for 'media' as opposed to just 'mp3' , then we could have the option of either 'mp3' with 'text transcript' for 'audio slide' AND either 'jpeg' , 'flash' , 'video clip' with 'text transcript' for graphic slide ...   

HEY WAIT A MINUTE !! i just wrote all of that and now i realise , my chat already does all of that!!!

well not my chat by itself but moodle's built-in 'moodle_format' function does!!

when you are chatting right now in the existing chat module and you send a mp3 url , it is displayed with the player automatically ... right ?

and my chat uses 'moodle_format' ... so there ya go ..... each 'slide' in a presentation CAN be an mp3 or flash or video ALREADY!!

i just did not look at it as an 'audio presentation' before but it can certainly do that too !!

well i'm feeling a little stupid for what i wrote, i am going to leave it there , it will be a testimony to all programmers that can't see the functionality for the function, can't visualize the output of the tool they are building till the tool they have built is in action, can't see the forest for the trees ....

and im still tired from last nite's all-nite coding frenzy...

hope to see you in my 'video chat' soon.

LouCharrierMIS@go.com

   

 

In reply to lou Charrier MIS

Re: Flash mp3 Player with Scrolling Text

Chardelle Busch發表於
Core developers的相片

Hi Lou,

As usual, most of what you said went wheeeeee over my head.  But, the one thing I did get is that the mp3 text player should load both the test and mp3 files externally.  I will work on that when I get some time.  One of the reasons I use this "player" rather than the moodle mp3 player is that the moodle player tends to start and stop for me (I think it only buffers for 1 sec) when dialed up with 56K, and it does not have the option to stop the file loading, so you are stuck in that browser window until the entire file is loaded. 

Another thing I will do is have the script read as loading a generically named file, e.g. audio1, text1, ect. so that anybody can use it without having to change the script in the flash file, they will only have to name their mp3 and text files appropriately--duh why didn't I think of that before.

Chardelle

In reply to Chardelle Busch

Re: Flash mp3 Player with Scrolling Text--new version

Chardelle Busch發表於
Core developers的相片

As per Lou's prompting, here is the latest version of the mp3player with a scrolling text box.  All you have to do is name your mp3 file audio.mp3, and your text file text.txt.  Next, you need to add this:  &good=  to the beginning of your text file with no spaces.  (So, for example, if you were to open your text file in notepad it would start out &good=Introduction to this course.--this added text will not show up in the flash movie by the way). 

Then, upload the mp3 file, the text file, and the mp3text.swf file to your course files.  Then, add the mp3text.swf file as a resource.  That's it.  If you want to add more than one instance to a course, you will need to upload the 3 files into their own separate folders. 

Attached is a zip with the mp3 player and scrolling text .swf file, an image of what it looks like, and an mp3 player with no text swf file.  It is the same except with no text scroller.

Hope somebody can use thissmile.

評比平均分數:Useful (1)