fix bug play video automatically