Add support for arbitrary attributes to `MediaHelper::embed()` and `MediaHelper:embedAsObject()`