Author |
Topic |
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 11 July 2009 : 20:32:06
|
Look at this mod. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 11 July 2009 : 22:32:48
|
Carefree, yes, thank you. I have that mod on my forum and it works great. However, what I am wanting is a new tag: [mp3][/mp3] that would allow a user to place a url to an mp3 file in the middle of the tag and have it play in the jwplayer from longtailvideo.com.
An example of their code is:
<script type='text/javascript' src='/embed/swfobject.js'></script>
<div id='mediaspace'>This div will be replaced</div>
<script type='text/javascript'>
var s1 = new SWFObject('/jw/upload/player.swf','ply','470','300','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addParam('flashvars','file=http://www.longtailvideo.com/jw/upload/bunny.mp3');
s1.write('mediaspace');
</script> Or
<embed
src="/jw/upload/player.swf"
width="470"
height="300"
bgcolor="#ffffff"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.longtailvideo.com/jw/upload/bunny.mp3"
/> I'm not sure which version of the code would work best with Snitz and I'm also not sure how to make the above links know how to recognize what a user would put in the mp3 tags. |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - leatherlips on 11 July 2009 22:34:46 |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
|
kyodai
New Member
Azerbaijan
74 Posts |
Posted - 13 July 2009 : 13:52:08
|
I have a custom embed for wmv, but as it uses media player embedding it should work fine for mp3, too. It is a bit complicated though as i wanted the embedded object NOT to be available for users not logged in plus i did it with an iframe that fetches the content from another domain (my backend). As i use my own backend server as a streaming media server i have made the tag so it reads only the filename and puts it after the domain/path of my backend. Sounds odd but that way you ensure users only embed content uploaded to your own backend and can't embed from phishy 3rd party sites or so. Plus you get all the media files yourself. If you want a demo just log in to hiddenbelow.com and look at the cinema (We stream public domain movies for members there). If you like it i could go through the pain of writing a mod instruction sheet for this, but it is a tad more complicated then some otehr solutions. |
Edited by - kyodai on 13 July 2009 13:54:51 |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 16 July 2009 : 14:00:12
|
I'm going to write two sets of instructions for this MOD. Because I modeled after the Online Video MOD, my first set of instructions are an add on to that mod. I am waiting to post this on Snitzbitz until someone can test it out for me. If it works OK then I'll post it there along with a "stand alone" version that does not require the Online Video MOD.
If you have the Online Video MOD and want to add this MP3 feature to it, you can get the directions from here.
If you want to see a working example, you can see it on my test forum here.
Please provide feedback here if you try it out. That way I can work out any bugs before posting it at Snitzbitz. Thanks! |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - leatherlips on 17 July 2009 11:59:22 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 16 July 2009 : 19:41:43
|
I've tested it and got it working. I'll send you mail with comments. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 17 July 2009 : 07:20:27
|
SnitzBitz is down. |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 17 July 2009 : 08:05:54
|
Thank you leatherlips for both of your MODs. The family will love it! |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 17 July 2009 : 08:23:42
|
quote: Originally posted by Carefree
SnitzBitz is down.
seems to be ok for me |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 17 July 2009 : 14:14:43
|
hi leatherlips i am have instalad yuo mod for mp3 ok and me post have this error :error: illegal use of audio tag! ok and me click for MP3 link is this [mp3]http://www.giumer.it/MP3/01-kelly_rowland-work_(freemasons_radio_edit).mp3[/mp3]
problem is link ? or is name MP3 ?
|
======================= http://www.Giumer.it/forum
======================= |
Edited by - Giumer on 17 July 2009 14:15:41 |
|
|
Giumer
Junior Member
Italy
163 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
|
Topic |
|