Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embed an HTML5 music player into a Facebook post using an Iframe

I'm searching for a way to embed an Iframe into a Facebook post on a user wall.

I know we can do this using a flash app and the open graph API but I have seen it done using an HTML Iframe on the wall of Soundcloud on Facebook (https://www.facebook.com/soundcloud?fref=ts).

When you link a page from soundcloud and then launch the player from the wall it opens an iframe containing the player.

I don't know if it's a feature developped only for Soundcloud or if any developper can do the same.

like image 644
Angelo Avatar asked Dec 17 '25 15:12

Angelo


2 Answers

Soundcloud is a Facebook Open Graph Music whitelisted partner. That's how they're doing this...

like image 196
Syed Shariefi Avatar answered Dec 19 '25 05:12

Syed Shariefi


i think this a feature developed by facebook.

You can't see any special meta tags associated to iframe in soundcloud page.

like image 34
diogopms Avatar answered Dec 19 '25 05:12

diogopms



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!