![]() |
Play FLV/MP4 Attachments!
1 Attachment(s)
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: HTML Code:
<script type="text/javascript" src="http://yoursite.com/flashplayer/jwplayer.js"></script> 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 https://vborg.vbsupport.ru/external/2011/05/26.jpg Enjoy! :) |
Installed!
|
5 Stars
Mod of the Month |
1 Attachment(s)
My mistake.
Works great - thanks. I added a small graphic for the button to make adding the code easier for myself! |
@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. |
Does it play .3gp videos?
|
many tanks bro work goooooooooood
|
Going to install this now tup1
|
So will it work for all video files? I know jwplayer plays alot of stuff... this is interesting..
|
@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. |
lol i've seen that video before, very good hahaha
https://vborg.vbsupport.ru/external/2011/05/26.jpg |
thank you
|
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. |
@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. |
Quote:
|
I get an attachment to big error trying to upload a 10mb file. I edited my max_upload and max_post size limits in WHM still get a to big error? am i missing something?
|
Have you increased the attachment size in the Attachment Manager? It's located in the Control Panel of your forum.
|
VB 4.1.5. not work
Der folgende HTML-Code ist nicht korrekt formatiert. Alle Attribute sollten in Anf?hrungszeichen gesetzt sein. The following HTML-code is not formatted correctly. All attributes should be enclosed in quotes. Quote:
|
Quote:
Are there any other settings that also need to be adjusted to get this working above 10Mb? If I need to change max_upload and max_post size parameters also, could you explain how this is achieved? Thanks in advance. |
This is not working for me, I just got "Loading the player..." and the player never loads.
|
Thanks you. Good hack ;)
|
hello i get this
Loading the player... Version 4.1.10 |
same thing says loading player and thats it :(
|
same thing here,
does anobody had a solution for ,,Loading player" |
Same here I am stuck with "Loading player"
|
All times are GMT. The time now is 06:05 PM. |
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:
|