Sure, the best rule is to have the target site support either
Once it supports that, add the domain of the site to the embed whitelist in Admin > Site Settings – then it will generate a onebox similar to the one you see above.