Reputation: 51
I'm creating html to send by email, and i want to put a music player like SoundCloud, I recieve an email who include that.
<object height="81" width="100%">
<param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F1627309%3Fsecret_token%3Ds-B1hMj&secret_url=false">
</param>
<param name="allowscriptaccess" value="always">
</param>
<embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F1627309%3Fsecret_token%3Ds-B1hMj&secret_url=false" type="application/x-shockwave-flash" width="100%"></embed>
</object>
This is the code of the player.
Thanks
Alan
Upvotes: 5
Views: 12863
Reputation: 12193
I'd imagine the support is similar to video as the only technique for both is with HTML5. You'll have to be mindful of the fallbacks however, as it is not 100% supported.
This link has info on how to embed (video) and also the support chart.
Here is another link.
Upvotes: 0
Reputation: 72222
Most email clients will reject your object/embed tags.
Flash & Javascript are not allowed in Email Newsletters.
Update - Apparently this actually is possible in Apple Mail, all others will fail though.
Upvotes: 4