Incorporating flower soundplayer into social tools

Colin Campbell's Avatar

Colin Campbell

28 Oct, 2010 01:52 AM

Im trying to set up a page where people can tweet or like to stream our entire album. Setting up the twitter side was no problem, but the facebook side is not as easy, I can't get the sound player to appear. All i did was replace the link for the download with a "flower_soundplayer" div with links to the songs inside.

Any suggestions?

  1. Support Staff 1 Posted by Jesse von Doom on 29 Oct, 2010 03:35 AM

    Jesse von Doom's Avatar

    Hi Colin,

    To do what you want you'll need some additional Javascript. What's happening is that the Twitter process requires a page refresh, so when the page loads flower finds your div and sets up the player. But with Facebook you swap in the content dynamically, so flower's already looked for any players it needs to set up.

    You can do it it by dynamically injecting a player, or by scanning the injected content. Either way would work, but each would need some custom scripting...

  2. Tracy closed this discussion on 17 Mar, 2015 04:33 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac