Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Play FLV/MP4 Attachments! Details »
Play FLV/MP4 Attachments!
Mod Version: 1.1, by Frosty (Member) Frosty is offline
Developer Last Online: Dec 2011 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (2 votes - 5.00 average) Installs: 18
Released: 20 May 2011 Last Update: Never Downloads: 160
Not Supported Additional Files Re-usable Code Translations  

First of all, you will need to create a new BB Code:

Login to your Administration Panel, find "Custom BB Codes" in the sidebar, click it. And click add new BB Code:

Title: attachvideo
BB Code Tag Name: attachvideo
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "yoursite.com" with the domain of your site.

It will give you this message:
"The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes. "

Click "Continue", since the BB Code will work without any problems...

Example:
[attachvideo]2322[/attachvideo]

Description:
With this BB Code you will be able to embed multiple videos that are uploaded as attachments.

Use {option}: No.

Remove Tag If Empty: Yes.

Disable BB Code Within This BB Code: Yes.
Disable Smilies Within This BB Code: Yes.


Save it...

Now, how to take out the attachment ID from the link?

Let's say that you uploaded some .flv file, when you hover over it, you'll see something similar to this:
http://yourdomain.com/attachment.php...1&d=1302358811

Part that you need is "2322"

Simply wrap it in:

[attachvideo]2322[/attachvideo]

You need JW Player for this, download it here:

http://www.longtailvideo.com/players/jw-flv-player/

Create a new folder in your public_html called "flashplayer", upload these files in it:
- jwplayer.js
- player.swf
- swfobject.js
- yt.swf




Enjoy!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements JW + Flowplayer For FLV - MP4 Video Player JAFRI vBulletin 4.x Add-ons 77 31 May 2014 02:46

Comments
  #2  
Old 21 May 2011, 03:13
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Installed!
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #3  
Old 21 May 2011, 03:14
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
5 Stars

Mod of the Month
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #4  
Old 21 May 2011, 10:44
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Aug 2010
Real name: Jerry
My mistake.

Works great - thanks.

I added a small graphic for the button to make adding the code easier for myself!
Attached Images
File Type: gif flv.gif (632 Bytes, 1143 views)

Last edited by Krusty1231; 21 May 2011 at 10:53.
Reply With Quote
  #5  
Old 21 May 2011, 11:27
Frosty Frosty is offline
 
Join Date: Apr 2011
@Octavius & Krusty
I'm glad you guys like it!

Adding the BB Code in the Editor is certainly a good option if you're using the vBulletin's Attachment system a lot.

If anyone needs help with getting it running on your forum, or modifying it feel free to reply here or to PM me.
Reply With Quote
  #6  
Old 21 May 2011, 15:13
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Does it play .3gp videos?
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #7  
Old 21 May 2011, 15:35
TEMPESTADE TEMPESTADE is offline
 
Join Date: Dec 2010
many tanks bro work goooooooooood
Reply With Quote
  #8  
Old 21 May 2011, 15:46
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
Going to install this now tup1
Reply With Quote
  #9  
Old 21 May 2011, 21:19
preemz10314 preemz10314 is offline
 
Join Date: Oct 2010
So will it work for all video files? I know jwplayer plays alot of stuff... this is interesting..
Reply With Quote
  #10  
Old 22 May 2011, 07:56
Frosty Frosty is offline
 
Join Date: Apr 2011
@preemz10314
Video Formats: H.264 (.mp4, .mov, .f4v), FLV (.flv), 3GPP (.3gp, .3g2)

It can play all those formats, you just need them enabled in your Attachments option, to be recognized by the vBulletin's Attachment System.
Reply With Quote
  #11  
Old 22 May 2011, 23:09
CRDeveloper's Avatar
CRDeveloper CRDeveloper is offline
 
Join Date: Aug 2009
Real name: Pablo X.
lol i've seen that video before, very good hahaha

Reply With Quote
  #12  
Old 07 Jul 2011, 14:05
zorcocuq zorcocuq is offline
 
Join Date: Apr 2011
Real name: Sinan
thank you
__________________
webmaster sitesi
Reply With Quote
  #13  
Old 14 Jul 2011, 15:41
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
I tried it, but it does not work for me. I just keep getting the "Something went wrong, video can"t load. Refresh the page" error.

Please help.
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #14  
Old 15 Jul 2011, 11:37
Frosty Frosty is offline
 
Join Date: Apr 2011
@Taurus
Can you please post your settings here?

If you've uploaded all files, and if you've changed the path to your url in the configuration, there should be absolutely no problem.
Reply With Quote
  #15  
Old 15 Jul 2011, 14:20
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Originally Posted by Frosty View Post
@Taurus
Can you please post your settings here?

If you've uploaded all files, and if you've changed the path to your url in the configuration, there should be absolutely no problem.
I sent you a PM of my bbcode settings. Thanks for looking into it for me.
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:24.

Layout Options | Width: Wide Color: