Hi folks!
Now that i played around a lot with all the Plugins and everything I got the final look for my blog...the only thing that's needed is the Music...
So i would like to embed the XSPF-Player (http://musicplayer.sourceforge.net/#showcases) in the sidebar like on Musikdieb.de (http://www.musikdieb.de) (great side by the way!).
Can anybody help me or give me some idea respectively?
Thanks a lot
Phai
Embed the XSPF-Player in the Sidebar?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Embed the XSPF-Player in the Sidebar?
Hi!
You can embed any custom HTML code you like using a "HTML Nugget" sidebar plugin, did you try that?
Best regards,
Garvin
You can embed any custom HTML code you like using a "HTML Nugget" sidebar plugin, did you try that?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi,
Mmmh, no.. .if i inlude the html-code using the appropriate sidebar-plugin all i get is exactly the same text (the code) AS TEXT.
The same happens with the event-plugin ("HTML-Code für den head-Bereich (HTML-Kopf Klotz)"). In that case the "html-code" appears above the banner...I mean...it happens with ANY html-code...not only with that one i use for the player...
HÄ?
Don't have any idea
Can YOU explain me why that happens?
Thanks a lot!
Step
Mmmh, no.. .if i inlude the html-code using the appropriate sidebar-plugin all i get is exactly the same text (the code) AS TEXT.
The same happens with the event-plugin ("HTML-Code für den head-Bereich (HTML-Kopf Klotz)"). In that case the "html-code" appears above the banner...I mean...it happens with ANY html-code...not only with that one i use for the player...
HÄ?
Don't have any idea
Can YOU explain me why that happens?
Thanks a lot!
Step
Did you get this to work? I cannot get mine to work. I'm entering the code in HTML code, but when I view the page, It's just giving the tag "this text will be replaced by the flash music player" and no player is showing. I also tried moving the files to another location and changing the code to give a full placement address, but still a no go
http://www.elizabethcrook.com/blog
It's located on the bottom of the right side-bar. It's just text for now.
It's located on the bottom of the right side-bar. It's just text for now.
Weird; I've never seen the JavaScript version before.
Try this embedded version instead:
It looks like you're not using the XSPF player, though. It requires the playlist in .xspf format. All the paths are OK, but that JavaScript you're using is formidable. The only thing I can see is that the swfobject.js defaults to "detectflash" as its key; try changing the two occurrences of "flashPlayer" in your original code to "detectflash" and see if that makes any difference.
In fact, looking at it more closely, I'm almost certain that's the problem. It's looking for _b, which is the 11th argument to new SWFObject(). You don't have an 11th argument, so it's using "detectflash". You don't have any detectflash, so it's not making any substitutions. Forget my embed code from above; it's for XSPF player only. Change both instances of "flashPlayer" to "detectflash" instead.
Try this embedded version instead:
Code: Select all
<embed
src="http://www.elizabethcrookphoto.com/blog/Player/xspf-player-slim.swf?
playlist_url=http://www.elizabethcrookphoto.com/blog/Player/playlist.xml
&player_title=XSPF%20Media%20Player"
quality="high" bgcolor="#E6E6E6" name="xspf_player_slim"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="middle" height="50" width="400">
</div>
In fact, looking at it more closely, I'm almost certain that's the problem. It's looking for _b, which is the 11th argument to new SWFObject(). You don't have an 11th argument, so it's using "detectflash". You don't have any detectflash, so it's not making any substitutions. Forget my embed code from above; it's for XSPF player only. Change both instances of "flashPlayer" to "detectflash" instead.