Fixed embedded.html.
Updated api.