Check if viewer is embedded only once and cache the result