Is there any way to send a parameter to /oembed
so that the artwork will not be shown in the received embed code?
I am thinking about rewriting the src
attribute of the iframe in the response html
value, but I'd rather not resort to such a hack.
Also, is it safe to assume that the iframe src
contains /track/
if (and only if) it's a track?
What I want to achieve is a player that displays artwork for all content types except track, where I want to hide it. My solution would be to look at the received src attribute and set show_artwork=false
on it if it's a track.
Does this seem like a very bad idea? :)