Recent Topics

Embed Song Lyrics

Started by on May 17, 2008 – Contents updated: May 17, 2008

May 17, 2008 11:07    

http://wonderwinds.com/hackblog.php/2008/05/17/embed-lyrics

"Song Lyrics", as if there is some other kind of lyrics out there :roll:

Anyway this one takes the entire embeddable code from http://www.lyricsdomain.com as an input and embeds the actual code without hacking your _formatting.php file or turning off any settings. It also makes the ugliest unibutton toolbar in the world!

May 17, 2008 11:23

/off topic

You can actually use the object tag so you don't invalidate the skin, but you also need to change & to &

<object width="180px" height="240px" data="http://www.lyricsdomain.com/scroller.swf?id=81148&amp;af=25&amp;cf=0xFCD98B&amp;speed=2&amp;
font=&amp;size=10&amp;color=0x555753&amp;tc=0x555753&amp;tha=100&amp;btc=0xEC7331&amp;bga=25&amp;
bgc=0xEC7331&amp;ima=85&amp;url=" type="application/x-shockwave-flash" name="lyrics_scroller">

<param value="http://www.lyricsdomain.com/scroller.swf?id=81148&amp;af=25&amp;cf=0xFCD98B&amp;speed=2&amp;
font=&amp;size=10&amp;color=0x555753&amp;tc=0x555753&amp;tha=100&amp;btc=0xEC7331&amp;bga=25&amp;
bgc=0xEC7331&amp;ima=85&amp;url=" name="movie"/>

</object>

¥

May 17, 2008 11:51

I thought it might be possible but since they didn't make it easy I figured why should I learn new things?

On the & being &amp; I thought oh yeah you better do that until I previewed and it broke completely but had all &amp; in where it should be. hmmm...

Anyway yeah I'll update it. That's why it's got a tiny version number: so you can point out what is grossly wrong with it ;)

EDIT: Okay that was easy. Knocked 12 of 18 validation errors off the single post page. For some reason I am getting a P or a BR before my DIV, and a few errors towards the end of the page don't really bother me enough to find the solution.

May 17, 2008 12:15

Well, I'm a lapsed musician, beaten over the head re guitar tabs, and I have to say that lyrics via a tiny little scroll widget is about as useful as pissing against the wind.
If publishing the words to a tune is an earner, then work on a widget that lets you print out/download the lyrics and make sure you have a good lawyer.

May 17, 2008 12:24

Dunno about the guitar tabs thing though I did read something recently that made me think I have no idea what that is about. Other than it has something to do with guitars ... and I guess tabs. Re this plugin: lyricsdomain.com provides code that makes a little swf scroller out of song lyrics, so all you can do is see and read them, but not actually download them in any meaningful sense of the word or print them at all. Screen capture would grab some I guess. Lawyers aren't that big a problem. The problem is running out of ammo before the back of the pack takes a hint ;)


Form is loading...

Content Mangement System – This forum is powered by b2evolution CMS, a complete engine for your website.