Its not like that I dont have Flash installed. But every time I click on the black speaker icon (and I have to use mouse to click), Flash gains the focus.
So I modified my ~/.vimperatorrc, I was thinking of using HTML5 Audio, unfortunately, MP3 is not supported.
So, I turned to use MPlayer via io.system(), it does a great job.
Now, after I click on speaker icon, I can continue to type Vimperator commands. If I want to go back to input box, I type gi. I also bind s key to play first pronunciation, of course, I have to press ESC first if the focus is on input box.
I noticed if I leave the page and go back to play, I will see errors. I am not sure whats the problem, I guess I didnt code it exactly right.
0 comments:
Post a Comment