simple ruby script for video play