Allow embed action to be called from non-standard locations

--HG--
extra : rebase_source : f7d9718364916849b84e9e4e5fd0e81757c163d5