Updated for hosting v2 and added the onDisplaySourceChanged event