fixed ok check for embed media