Changed setSource to add media element to root widget rather than body