Take Photo widget doesn't work when embedded or using Source code