I have a simple (web based) flash media player that is used
to play mp3's
(play, pause fwd etc)
There is a volume control on the player that sets the volume
to 80% by
default when the player loads
The problem is, if the user changes the volume (to say 20%),
the page, the volume is reset back to 80%
Does anyone know of a way to allow the web user to set their
own volume and
have it stay there, even is they refresh the page or click a
link to the
next page? (each page has the media player on it). So it
somehow stores the
volume setting for each individual user, and if it finds this
that, if not, then uses the default?
Anyone have an idea? or can point me in the right direction?
I can think of two ways.
You could have the setting stored in your user's account and
(assuming the player is only accessible by authenticated users) you
could pass the setting in a flashvar when the page holding the swf
You could use a local sharedObject to save the user
preferences and retrieve it the next time the swf is played. check
out sharedObject in the help files.