set up configuration in local.js and added processing that allows playing youtube videos