hi luckylin.
Though I won't modifiy myAlbum-P itself, your post looks great.
It must be useful for people want to use FLV on myAlbum-P.
You will be interested with a module "cinemaru" made by tokita.
sample:
http://cinemaru.net/download:
http://sourceforge.jp/projects/cinemaru/