fixed bugs for sound/video playing at iPad