modification of playvideo.sh to get sound output from config