The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I'd love to have an mp3 mod. I use the free player from www.longtailvideo.com on my site. My vision would be to have a tag like [mp3]www.whatever.com/song.mp3[/mp3] and have my player automatically be embeded in the post able to play the file.
I'll try to do it but in the meantime if anyone else more skilled could figure it out I'd really appreciate it!
I'll try to do it but in the meantime if anyone else more skilled could figure it out I'd really appreciate it!
Postet den
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:
Or
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.
An example of their code is:
Code:
<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>Code:
<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"
/>
Sist redigert av
Postet den
I was searching the net and came across exactly what I want but the instructions are for a different type of forum software. Maybe this will provide a clue: http://www.phpbb.com/community/viewtopic.php?f=46&t=607524
Postet den
More searching...
I just came across this forum and they have exactly what I want! (but with a different player)
I emailed them to see if they'll send me their code.
I just came across this forum and they have exactly what I want! (but with a different player)
I emailed them to see if they'll send me their code.
Postet den
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.
Sist redigert av
Postet den
Well, I've figured it out!
I'm currently not using the jwplayer, but that is not a big deal.
I will write this up as a mod soon so others can use it if they want.
I will write this up as a mod soon so others can use it if they want.
Postet den
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!
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!
Sist redigert av
Postet den
I've tested it and got it working. I'll send you mail with comments.
Postet den
SnitzBitz is down.
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...