It’s not like that I don’t 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 what’s the problem, I guess I didn’t code it exactly right.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.