ALM-213 use full URL incl. hostname
handle API errors
ALM-213 small changes in embed HTML