View Full Version : vBulletin CMS Widgets - [ Widgets ] CMS Player - Hosted Video - JW Player
nextslit
03-20-2010, 10:00 PM
Hello
I?m going to show you how to do a simple mod that you can use JW Player on your Vbulletin. This will allow you to have your own hosted player.
First you need to download JW Player: Flash Video Player (http://www.longtailvideo.com/players/jw-flv-player/)
Flash Video Player for FLV, H.264/MPEG-4, MP3
and YouTube Videos on your website
How to install :
1- Download JW flash player
2- unzip mediaplayer.zip
3- Upload swfobject.js to your js folder
4- Upload Player.swf and yt.swf to your home root
5- Creat a folder to upload you videos ( call it video )
6- Go to admincp/vbulletin CMS / Widgets / Creat new widget
7- Widget type : static HTML / Title : Player
8- Paste :
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='js/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video/video.flv');
s1.write('preview');
</script>
and save .
9 - go to Layout manager and then add your Player widget to your page .
Note : you can use this HTML code to every page ( CMS post - Thread Post - Blogs and anywher ) just remember to allow HTML code .
Note : It should work with any version of vbulletin .
nextslit
03-21-2010, 12:48 PM
Reserved.
basilrath
03-21-2010, 03:13 PM
you can also use the following code to add some personalisation to your player
&logo=http://www.yoursite.com/path-to-logo/flv-logo.png
gives the display like this http://www.tabletennistalk.co.uk/forum/content.php?136-stream-1
vividbreeze
03-21-2010, 10:08 PM
What about making it private so only a certain usergroup can view the video? Is this possible to be placed in a threads private section?
betts02
03-21-2010, 10:42 PM
sorry for not being up to scrath with vb as i am new, but i do not see a js. file, where is this ?
cheers
nextslit
03-22-2010, 12:56 AM
you can also use the following code to add some personalisation to your player
&logo=http://www.yoursite.com/path-to-logo/flv-logo.png
gives the display like this http://www.tabletennistalk.co.uk/forum/content.php?136-stream-1
Thanks basilrath :up:
nextslit
03-22-2010, 01:02 AM
What about making it private so only a certain usergroup can view the video? Is this possible to be placed in a threads private section?
I don't have any idea how to make it private as widget :D , but you can use the HTML code to any template or page .
creat a custom ( like : tube.php ) page and hide the player from guest by using following code :
[HOW TO - vB4] Create a own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)
<vb:if condition="$show['guest']">
<div class="collapse wgo_block" style="text-align: center;">
<h2><span>Hello guest! </span></h2>
<div class="wgo_subblock" style="text-align: center;">
<p>Player is disabled for guests!<br />
To be able to view this video, you must either <a href="register.php{vb:raw session.sessionurl_q}">{vb:rawphrase register}</a> or login. </p>
</div>
</div>
<vb:else />
JW _ Player Code here
</vb:if>
nextslit
03-22-2010, 01:26 AM
sorry for not being up to scrath with vb as i am new, but i do not see a js. file, where is this ?
cheers
Creat a new folder ( Name the folder ?js? ) on Public_html
upload swfobject.js to js folder .
betts02
03-22-2010, 07:50 PM
Totally lost with this, Probably something simple to many but a newbie like me,lol
I downloaded the file
Creatd a "js" file and placed in to public_html/
so its public_html/js
The "Upload Player.swf and yt.swf to your home root "
So these are placed at
public_html/ ?
or
Public_html/forums ?
The the "Videos" folder i need to create, where do i install this ?
And what code do i put in this ?
All i am trying to do is have a page with my videos on it, i have the page with all the header/footer/etc i just need the html code to place a video in it
Can someone please help me and others like me who are just starting out with vb ?
cheers
murekhalir
03-24-2010, 04:03 AM
Is there any way you can integrate JW player with AME3?
I need to use AME3 (to detect youtube videos) then shove that youtube video INTO the JW player for threads and etc.
LMK. I'm willing to pay.
I ultimately want people to show off their youtube videos on my site. But I want to also brand the player over the YT video and and use my adtonomy pre roll ad.
gyaronn
03-24-2010, 10:52 AM
you can also use the following code to add some personalisation to your player
&logo=http://www.yoursite.com/path-to-logo/flv-logo.png
gives the display like this http://www.tabletennistalk.co.uk/forum/content.php?136-stream-1
where should i add this line?
and buy the way the code as was written here does not work on 4.0.2
jkcerda
03-25-2010, 02:26 AM
will try out
jkcerda
03-25-2010, 04:10 AM
Is there any way you can integrate JW player with AME3?
I need to use AME3 (to detect youtube videos) then shove that youtube video INTO the JW player for threads and etc.
LMK. I'm willing to pay.
I ultimately want people to show off their youtube videos on my site. But I want to also brand the player over the YT video and and use my adtonomy pre roll ad.
sounds GOOD
12xbl
03-29-2010, 01:17 PM
This works brilliantly as a block on the forum http://www.ecmrf.com/forum.php ..... many thanks !!
Professional2
03-29-2010, 01:29 PM
why i don't have this?
6- Go to admincp/vbulletin CMS / Widgets / Creat new widget
AllinJac
04-02-2010, 11:24 AM
Any chance this works on VB 3.8.4 or 3.8.5 ???
Sorry for the silly question as I know it is completely different then 3.8 / 4.0 that is but I was just hoping that it would work!
Thanks!
EDIT
Saw that it works on any forum or should work...
Now I was just talking to Jaxel the developer for Video Directory Remixed who is working on a 4.0 release of his MOD... But anyways, he was saying that if you upload the Videos to your server or where ever you want to upload them you could integrate the Player JW Player and set up a new host and use his solution... Which is graphically one of the best I have seen...
Not to familiar with AME personally but like the layout of Video Directory Remixed and the performance and capabilities of Media Pro... To bad someone could not put those two together, it would make one heck of a MOD!!!
Just random thoughts!
Elitefredy
04-05-2010, 05:45 PM
the vBulletin Attachment is invalid and the given DL Link is down :S
murekhalir
04-06-2010, 06:12 PM
sounds GOOD
But if anyone can do it? I'll pay $$$$
Nano_
06-25-2010, 09:58 PM
I'm not using with widget, but with bbcode.
Anyways, Mark as Installed.
adelsayed
07-04-2015, 10:00 PM
jwplayer can be used also as attachment player as i done to my forum
and it will work only for members but i had another one for visitors
this one any one can hear it
http://www.sama3almelouk.org/forum/showthread.php?t=17348
this one for members only
http://www.sama3almelouk.org/forum/showpost.php?p=52886&postcount=2
best regards
Adel
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.