Why not simply rebuild that instead of using an embed? You could then benefit from the image optimization that comes with Webstudio and handle the responsiveness more easily.
Otherwise, you'd need to write javascript to replace those items, which isn't efficient or recommended.