check for embed mode and ignore mobile