![]() |
Quote:
Hope you don't mind if I port it for 3.5 I think I may have a possible solution. I'm working on it this morning. zoe |
Sure, help yourself. :)
|
Ok,
For all of you that are interested this works for 3.5 with a few minor modifications. In the newattachmentbit you now change the code to: Code:
http://www.yoursite.com/forum/attachment.php?attachmentid=$attach[attachmentid][/MP3] |
Thanks zoe! :)
|
I can not get this to work in 3.5, the bb code shows the player, i can upload the file, but the player dont appera just a link to the file..
I want it played inline and I want avi, mpeg, etc.. video files.. any ideas? |
Attachment shows up ok and opens, but the embeded bbcode does not provide a player in the post??
help please |
Quote:
|
Quote:
|
Quote:
|
yes bbcode shows up in admin.
|
It's hard to guess without seeing your setup, which template modification are you using, the one with or without restrictions (there are two options). If the one with restrictions try replacing it with the one without just to test.
|
Quote:
As I said the file can be attached via manage attachments and shows up fine and is clickable opening quicktime player. the bbcode appears correct in admin and have double checked this in the post. The replacement code in bbcode [mp3] is as follows <object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="Player" width="400" height="200" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> <param name="URL" value="{param}"> <param name="rate" value="1"> <param name="balance" value="0"> <param name="currentPosition" value="1"> <param name="defaultFrame" value> <param name="playCount" value="1"> <param name="autoStart" value="0"> <param name="loop" value="-1"> <param name="currentMarker" value="0"> <param name="invokeURLs" value="-1"> <param name="baseURL" value> <param name="volume" value="100"> <param name="mute" value="0"> <param name="uiMode" value="full"> <param name="stretchToFit" value="0"> <param name="windowlessVideo" value="0"> <param name="enabled" value="-1"> <param name="enableContextMenu" value="0"> <param name="fullScreen" value="0"> <param name="SAMIStyle" value> <param name="SAMILang" value> <param name="SAMIFilename" value> <param name="captioningID" value> <param name="enableErrorDialogs" value="0"> <param name="_cx" value="7938"> <param name="_cy" value="6482"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" src="{param}" rate=1 balance=0 currentPosition=1 playCount=1 autoStart=0 loop=-1 currentMarker=0 invokeURLs=-1 volume=100 mute=0 uiMode=full stretchToFit=0 windowlessVideo=0 enabled=-1 enableContextMenu=0 fullScreen=0 SAMIStyle SAMILang SAMIFilename captioningID enableErrorDialogs=0 _cx=7938 _cy=6482 width=400 height=200> </embed> </object> thanks |
Okay, in your bbcode what did you setup your tag to be i.e. mp3 etc? We want to be sure that this line matches the tags in the template mod.
So if it's MP3 it should look like this: Code:
[MP3]http://www.yoursite.com/vb/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3] |
bbcode
[MP3]http://www.the-ice-castle.co.uk/forum/file.mp3[/MP3] template [MP3]http://www.the-ice-castle.co.uk.co.uk/forum/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3] post [MP3]http://www.the-ice-castle.co.uk/forum/attachment.php?attachmentid=227.mp3[/MP3] |
Try this, nuke the bbcode and re-add it, don't change anything else.
|
ok sorry no change though. mmmh :nervous:
|
Do you have windows media player installed? It will not work with quicktime using that embedded media code. I would register at your forums to see but it looks like it may contain adult content and I am at work.
|
Quote:
It contains adult material please be aware sent you pm. Not sure if windows media player installed how would I check this I presume you mean installed on the server not local machine. |
Quote:
Instructions say Code:
Use {option}: No Enjoy! |
Dont you just hate that LOL - thank you very much :nervous:
|
Glad to help :)
|
worked for me good stuff
|
Well done ericgtr,
Had this up and running in under 1min. Well pleased. thx for the share. |
Any chance you are going to release a 3.5 version?
|
I had considered it but this mod was released and appears to do much more https://vborg.vbsupport.ru/showthread.php?t=106239 :)
|
Quote:
|
Thats the best Idea I've ever heard. I need to learn this coding stuff.
|
nice work m8 just got it working on my site thnx
|
ericgtr ,
I have used this modification long times. But after upgrade to 3.0.6 I couldnt use. ıs there a way to use at this version? I have all the things but it did not work:( There are lots of post with this code:( looking forward to hearing your best news. |
I've managed to set up this for the most part. But there is an issue with bbcode parsing in some special cases:
What could possibly cause this: If I add an url into a forum posting inside bbcode and it contains an ampersand the result looks like Code:
http://www.soundchilds.net/backstage/play.php?band_id=29&song_id=24&mode=song_hifi example post. http://www.soundchilds.net/loud_loun...35&postcount=3 If I add the same [MEDIA] tag at member.php in a profile field that can take bbcode the url breaks at a few places and looks like Code:
http://www.soundchilds.net/backstage/play.php?band_id=29&amp; song_id=24&amp;mode=song _hifi Is there anyone around with an idea what might cause the above difference in parsing? Where would be best start looking? I'm running a vb v 3.0.3 Thanks for any ideas! Best regards, -Mika |
Super Idee !
|
Thank you very much, It also works well with 3.6.7
|
hi. i've got a question.
is there the possibility to have ALL the posts (also the old ones!) with mp3 to display the player inline? |
I do not know what I do not have set right, but this will not work. Can someone please give me a hint of what may be the problem. The player shows in one post that I am testing this with. But when you push the play button it just stops.
See here: http://www.bigfootreferenceguide.com...45&postcount=1 Please help, this will help our Members so much rather than having to click back and forth from 2 different windows. Tom S. :confused: |
Quote:
|
I spent my past week in looking for something like this, just a simple but perfect mp3 players.
What surprises me is that this is rare, after AnyMedia goes obsolete. All other mods are focused too much on the youtube thingy and totally neglect the simplest. Moreover, I think that by increasing the size to 500 x 400, the same replacement can be used to play wmv video clips. I have yet to try it out. /* Sigh */ :up: |
So I tested it and it works fine for wmv type video clips.
I made another tag [wmv] using the same replacement, but increased the display size, Attachment 78274 |
All times are GMT. The time now is 10:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|