300 lines for a "media player"? That seems a little light compared to the ones I have seen. Try submitting your script to a script site for review. Those who submit reviews and comments don't seem to hold back anything.