5910 photo capture

fix setting the default sourceType of photo capture
fix embedded HTML