added video stop playing fix to script file