I am looking for a way to add the title of a youtube video ABOVE the embedded youtube code when using oEmbed functionality in wordpress.
I am also open to using the [embed] shortcode and add custom title attribute there.
Ive been tearing my hear out all day trying to get a working function filter for oembed that can read custom attributes or custom values from the returned xml/json.
Any ideas?
Im currently trying to access the $data object from the filter hook: oembed_dataparse:
// You can use this filter to add support for custom data types or to filter the result
return apply_filters( 'oembed_dataparse', $return, $data, $url );
But I am not having any success.