Adding a DivShare Embedded Shockwave MP3 to WordPress with Mac OS X
I edit my blog through the WordPress web site using OS X. When I try to add code to a post that I get from the DivShare web site the code just disappears when I save the post. I thought the code or the site hosting the code was incompatible with WordPress until I found out that DivShare makes a plugin for uploading and sharing files with WordPress software (http://blog.divshare.com/2007/02/26/divshare-uploader-version-10/). Since I’m on a mac I cannot use the plugin (or if I can it’s easier for me to just paste code into the “code” area of a post on the web site). So my question is, how can I take the code I get off the DivShare web site after I upload an mp3 and convert it so that it will display on my blog? There has to be a way, since I have seen DivShare Flash enabled players on WordPress blogs before. Here is the code:
<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0″ width=”325″ height=”28″ id=”divaudio2″><param name=”movie” value=”http://www.divshare.com/flash/audio?myId=881659-62f” /><embed src=”http://www.divshare.com/flash/audio?myId=881659-62f” width=”325″ height=”28″ name=”divaudio2″ type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”></embed></object>
We are on a shared blogging platform and that means we have much elevated security concerns, as a weakness introduced by one blogger would affect all million of us. For this reason, embeds are stripped out. We have a few options when it comes to video and audio and these can be found in the FAQ.
The DivShare flash players you’ve seen on blogs were not on blogs hosted by WordPress.com; they were on blogs powered by WordPress software, hosted elsewhere. Because those blogs exist in isolation, they don’t have our security restrictions.
Just use the URL of the MP3 and put it in the WordPress.com audio player, that’s my advice.
Or do what I did an submit a request for it to be added to the accepted list. IT’s a better service that you tube. Use the feedback link in the dashboard (when it comes back up on monday)
I have tried pasting [audio http://wordpress.com/files/2007/01/mattmullenweg-interview.mp3%5D as stated on “http://faq.wordpress.com/2006/12/24/how-do-i-get-music-on-my-blog/” into the Code area of my posts on WordPress.com and am unable to get the player to appear. I’ve tried to substitute the address with another hosted mp3 and still no results. What am I doing wrong?
Don’t use the Code editor, actually. The problem is that when you do, upon posting the link is turned into a live link, just as it is here. Use the Visual editor and break the link. Do this by clicking on the link and hitting the “broken link” icon. When it appears in the visual editor as plain text rather than underlined, you know it’s ready.
Sometimes if you go back and edit the post you have to re-do this procedure.
raincoaster thank you for all your help and your quick responses. So now I’m using the Visual editor, I paste “[audio http://wordpress.com/files/2007/01/mattmullenweg-interview.mp3%5D” and then I highlight and bread the link using the “broken link” icon. I then save it and click on view and I see no audio player. I re-do the procedure and then re-do it again for good measure and the click on view and still no audio player. I try the same thing with a different mp3 source and still no luck.
That’s odd. Can you give me a link directly to a post where you’re working on this>? I’ll be online for at least another half hour so I can take a peek and make some suggestions; it’s possible your’e not seeing it on a mac but it’ll show on my Toshiba running XP. stranger things have happened.
I only have one post so far. Here is the code for that post:
<img src=”http://timbretimber.wordpress.com/files/2007/06/cover_lebanon.jpg” />
02 Buried in the Avenue
03 The Dying Dying Man
04 Text Adventure (No Mor)
06 We Never Sleep
07 Joan of Arc
08 Know Hope (In Limbo)
10 Peterpan Man
The [audio ] links have been broken (they’re not underlined or blue) and still do not even show up at all on my blog. Thank you again for your help.
It works perfectly for me. Or rather the first one does: the second gives me “error opening file” which is what you usually get when there’s a problem on the hosting side of things. I’m using Firefox; if you could try that it might show up. I know Safari doesn’t work well with WordPress. You could also try Camino or Opera. It’s a PIA having to switch browsers, though, I know.
Haha. Yeah you’re right it’s just a browser incompatibility issue. For the record Firefox for OS X did not display the audio files but Omniweb did. I always seem to be switching between the two. Problem solved, thank you!
You’re welcome. Strange that FF had the glitch; definitely one to remember.
The topic ‘Adding a DivShare Embedded Shockwave MP3 to WordPress with Mac OS X’ is closed to new replies.