The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Embedded media player in post Details »» | |||||||||||||||||||||||||
This is my first mod for VB, I personally need it on my site because it's focus is MP3's, it may be able to be customized for other uses I would think. What it does is embeds Windows Media Player into the body of the post (as well as the regular attachment) using bbcode and plays the attached MP3 file. What this does upon completing the upload is allows the user to copy and paste the URL to the attached file if they choose.
Also, since this bbcode is the Windows Media Player it may also be able to play .avi, .wmv, .mpg etc. So to broaden this you can change the [MP3] [/MP3] tag to something else like [MEDIA] [/MEDIA] for example. There is no option to secure this to specific groups, however you can use Princeton's Allow Group to Read Titles / Not Content modification as an alternative. Better template formatting, also maybe add a javascript function so that a user can click to add the line of code to the post. If you find this useful please Click Install Update: Added an option to allow only certain groups to add the option to view/paste the URL in their post. Show Your Support
|
Comments |
#52
|
||||
|
||||
Quote:
This hack adds a permission level to your board. Let's say you don't want unregister users to read the content of a post within a forum (A) then you turn off their ability to read posts in that forum (A) with this hack. They still can be able browse and see the title of thread within (A). The moment they click on the thread title, they will be prompted with an No Permission message and urge them to register. I think this is the one https://vborg.vbsupport.ru/showthread.php?t=60178 |
#53
|
||||
|
||||
Sounds like a nice alternative for people if they want to use it. For me, I have several music forums and want users to be able to see the body of the posts so it wouldn't work, still this is a great idea! Thanks for pointing it out stitch.
|
#54
|
|||
|
|||
Quote:
Great idea ! Thanks! |
#55
|
||||
|
||||
I'm using this hack with great success. But I had another question about embedding players inside of posts. I'm embedding QuickTime, to show videos, and I'd like the background of the html that the QT player lives in (which gets embedded within the actual post), to match the postbit background color (all changeable, with the current style used, of course) Here's my html code:
Quote:
I currently use black, as a default. Any idea what html code I can put into this, so that the background is not black, but, the color of the viewer's style's postbit background??? |
#56
|
|||
|
|||
Thanks for great work, ericgtr, just what I was lookin for. (first post)
:classic: |
#57
|
|||
|
|||
very very nice!
/me clicks install |
#58
|
|||
|
|||
Quote:
Code:
<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="Player" width="400" height="45" 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=45> </embed> </object> |
#59
|
||||
|
||||
nice hack
* Marboosh.Net? clicks install |
#60
|
||||
|
||||
docvador, sorry for the late response. Stitch put together a few of different players including Real Player here https://vborg.vbsupport.ru/showthrea...threadid=72060
|
#61
|
|||
|
|||
Nice hack. I will soon install it. Is there a way to limit only certain user groups to be able to upload this file.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|