I wrote this module for a client who had a specific need. basically, he wanted the *user* to be able to choose whether or not the audio should auto-play.

I managed to get this implemented, and I'm attaching the code to see if you think there's any global usefulness to this module, or if any other people want to take it and play with it.

Ideally, it could be either genericized to work with any player, or at least extended to work with multiple players.

Comments

chrisfromredfin’s picture

NOTE: the SWFTools cache (on admin/settings/performance) must be DISABLED for this module to work, because we need the preprocessor to run every time.

chrisfromredfin’s picture

StatusFileSize
new2.73 KB

A better version. The above has some shortcomings in the _get function in case there are multiple Session variables on the $user, and also this wouldn't work because of the input filter cache, so I had to make a new filter.