I wanted to add a class to the img tag rendered from a YouTube thumbnail, I found I needed to add it in the following way. I will add a patch to do this.
$element[$delta]['file']['#contents']['#attributes']['class'][] = $settings['class'];
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.