View Full Version : BB Code Enhancements - JW video player
gyaronn
03-23-2010, 10:00 PM
this is the first time i post a mod so... i hope it is good :-)
JW Player (http://www.longtailvideo.com/players/jw-flv-player/)? Overview
The JW Player? (http://www.longtailvideo.com/players/jw-flv-player/) is the Internet's most popular and flexible media player. It supports playback of any format the Adobe Flash Player can handle (FLV, H.264, MP4, MP3, AAC, JPG, PNG and GIF). It also supports various streaming and playlist formats (including RMTP, HTTP, live streaming and more), a wide range of flashvar settings and an extensive JavaScript API.
The XML-based skinning functionality allows you to completely customize its look and its plugin architecture allows you to easily extend the player with features such as sharing, recommendations, searching, analytics and ad serving.
Installation :
1) Download attachment
2) Unzip
3) Upload to forum root
4) Add-in Custom BBCode
5) Done
Titel : JW Player:Video Player
Tag : JW
Replacement :
<script type='text/javascript' src='/video/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('/video/player.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','{param}');
so.addVariable('backcolor','CCCCFF');
so.addVariable('frontcolor','000000');
so.addVariable('lightcolor','000000');
so.addVariable('screencolor','000000');
so.write('mediaspace');
</script> Example : http://www.yourdomain.com/video/video.flv
Description : JW Player:Video Player
Use {option}: No
Button Image (Optional) : http://icons3.iconfinder.netdna-cdn.com/data/icons/UltimateGnome/24x24/mimetypes/video-x-ms-wmv.png
Remove Tag If Empty: No
Disable BB Code Within This BB Code : No
Disable Smilies Within This BB Code : no
Disable Word Wrapping Within This BB Code : No
to use this as a widget do the next steps:
Go to admincp->vbulletin CMS->Widgets->Create new widget
Widget type : static HTML
Title : Player
after doing this press configure and add this code remember to change this line http://www.your-domain-name.com/video/video.mp4 and you can change the size of the player by changing this numbers '215','157'
<script type='text/javascript' src='/video/swfobject.js'></script>
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript'>
var so = new SWFObject('/video/player.swf','player','215','157','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('flashvars','file=http://www.your-domain-name.com/video/video.mp4');
so.write('preview');
</script>https://vborg.vbsupport.ru/external/2010/03/19.pnghttps://vborg.vbsupport.ru/external/2011/02/17.png
silverfox_uw
03-25-2010, 07:18 AM
did not work for me
gyaronn
03-25-2010, 02:53 PM
what was the problem be more spasefic
napy8gen
04-13-2010, 04:10 PM
also not working for me I think its a bug for vb4.0.3
Ahmet Turan
04-14-2010, 06:42 PM
Its not working
problem :
https://vborg.vbsupport.ru/external/2010/06/61.jpg
Help
basilrath
04-14-2010, 07:12 PM
The easiest and working system which is very free and open source is used on my site
http://www.tabletennistalk.co.uk/forum/content.php
And the log can embed too ......... easy and same type of player with an swf object and js file to be uploaded - simple and very effective as you can see
jkcerda
04-15-2010, 03:15 PM
is there a way to skin this with a logo?
adeel80
04-15-2010, 09:10 PM
also not working for me I think its a bug for vb4.0.3
Recently moved to vbulletin from phpbb and I am facing the same issue. Help please, Anyone?
basilrath
04-16-2010, 06:39 AM
try the following to make sure this is not the mod ..............
upload the swfplayer and swfobject i have attached to your forum root
try this code within a widget or you can use it in a bb code replacement obviously
<script type="text/javascript" src="http://www.pathtoyourforums/swfobject.js"></script> <div id="player">This text will be replaced</div> <script type="text/javascript">var so = new SWFObject('http://www.pathtoyourforums/player.swf','mpl','640','480','9');so.addParam('al lowscriptaccess','always');so.addParam('allowfulls creen','true');so.addParam('flashvars','&file=http://www.pathtoyourforums/your.flv');so.write('player');</script>
the sizes can be adjusted via the "640" and "480" but this is your choice.
A logo can be added with a line of code behind but try this first
You can see it in action on the board in this post ..........HERE (http://www.tabletennistalk.co.uk/forum/showthread.php?2898-World-Championships-1997-Manchester-Build-up-Match-play-Footage&p=30841#post30841)
gyaronn
04-16-2010, 01:39 PM
hi i ran 4.0.3 on my site works very wall if you like i can take a look what is wrong will need a user and a pass to see it on your admincp contact me via pm
Simonn
04-23-2010, 12:03 PM
Does it work with youtube videos?
basilrath
04-23-2010, 01:02 PM
well notsure why you would want that given you can add them straight in to a widget or embed via vb4 structure?
Simonn
04-24-2010, 08:53 AM
well notsure why you would want that given you can add them straight in to a widget or embed via vb4 structure?
Did you talk to me? Well. I want to play youtube through it since then there will be no ads.
I used to be on a forum with JW Player working with youtube.
auctionguy
04-24-2010, 05:53 PM
I wonder if an uploader with a flv convertor tool could be installed somehow to be used to allow the uploading of videos from within a users profile or area with it as well?
Nice job on this! The RTMP possibilities are very cool...
nervous
04-25-2010, 07:35 AM
i can't post 2 or 3 media.
same problem
https://vborg.vbsupport.ru/external/2010/06/61.jpg
nguyentrongphuc
04-26-2010, 08:49 AM
Its not working
problem :
https://vborg.vbsupport.ru/external/2010/06/61.jpg
Help
i can't post 2 or 3 media.
same problem
https://vborg.vbsupport.ru/external/2010/06/61.jpg
Click Edit button => Delete and
Sorry, my English no good! :P
Flyte
04-28-2010, 12:13 AM
Will the jw player allow for having a freeze frame / screen shot of the video when the video is not being played?
Thanks!
Preech
04-30-2010, 01:55 PM
Never mind. Once I tried it, it work fine.
Preech
04-30-2010, 03:04 PM
I visited the JW Player website. I also got this to work on my test server using the viral version.
tlwwolfseye
05-04-2010, 09:53 AM
I only get:
THIS TEXT WILL BE REPLACED
when I try to put a Video, for example an .mp4 which is on my Webspace. Not the movie. Whats wrong ? :(
basilrath
05-04-2010, 02:56 PM
I use the other version and mp4 are very iffy on a good day
tlwwolfseye
05-04-2010, 03:25 PM
I use the other version and mp4 are very iffy on a good day
So what you're saying is that the whole thing is not really a stable thing with the files it "claims" to be handling.
dallouleh_s
05-11-2010, 06:36 PM
i am really confused... i didn't understand... whicj files i should upload? and where dod i put the path of my video?
thank you
ViciousCode
05-14-2010, 02:13 AM
i suggest using an object embed coding instead of a script coding, and remove the word wrapping and parse text as links inside the bbcode, for the video to work
here is the embed version
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://{forum-url}/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=http://{param}'>
<embed
id='video2'
name='video2'
src='http://{forum-url}/player.swf'
width='470'
height='320'
bgcolor='#000000'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=http://{param}'
/></object>
to customize your player options, go to the JW Player Setup Wizard (http://www.longtailvideo.com/support/jw-player-setup-wizard)
dallouleh_s
05-15-2010, 06:23 PM
thank you
how do i make the stretching filled? it is not stretching
also how do i make it auto start?
ViciousCode
05-15-2010, 07:08 PM
go to the JW Player Setup Wizard, you can configure the options there. :)
here is the options, you add this after the {param} in the same line, in param tag and embed tag
&volume=100&autostart=true&stretching=fill
example
flashvars='file=http://{param}&volume=100&autostart=true&stretching=fill'
dhemitz
05-20-2010, 06:52 AM
not work in vbulletin 4.0.3 :(
ViciousCode
05-20-2010, 01:35 PM
did you try my code?
Xencored
06-05-2010, 10:05 PM
Am guessing WMV cant be played ?
Edit np i made one thanks anyway
JAFRI
06-07-2010, 09:18 AM
not work.
Bisha
06-07-2010, 11:51 PM
does it work with VIDEO TAG? if I add the same as vb have?
wheelingburn
06-08-2010, 01:21 PM
Click Edit button => Delete and
Sorry, my English no good! :P
Turn off automatically links in the message
123_y_321
06-09-2010, 10:28 PM
This is how I fix it.
Remove Tag If Empty
Yes
Disable BB Code Within This BB Code
Yes
Disable Smilies Within This BB Code
Yes
Disable Word Wrapping Within This BB Code
Yes
Disable Automatic Link Parsing Within This BB Code
Yes
ViciousCode
06-12-2010, 07:21 AM
Am guessing WMV cant be played ?
Edit np i made one thanks anyway
you need silverlight player to play wmv files.
hameedacpa
06-12-2010, 04:03 PM
Its not working
problem :
https://vborg.vbsupport.ru/attachment.php?attachmentid=115774&stc=1&d=1271274163
Help
I faced same problem and you have to make the following option to "yes"
Disable BB Code Within This BB Code : Yes
linuxututs
06-26-2010, 10:38 PM
I had/have a JW license and replaced the player and all works well with just changing the above directions with "Disable BB Code Within This BB Code : Yes" instead.
Example: AERO_VS_LINUX (http://www.linuxtuts.net/site-issues/250-upgrading-linuxtuts.html#post353)
Thanks,
bahattab
07-16-2010, 11:43 AM
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://{forum-url}/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=http://{param}'>
<embed
id='video2'
name='video2'
src='http://{forum-url}/player.swf'
width='470'
height='320'
bgcolor='#000000'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=http://{param}'
/></object>
hi
i changed :
http://{forum-url}/player.swf
to
http://www.**********.com/vb/video/player.swf
to my domain and it is working now but i have to delet http:// when i add the link Example :
http://content.longtailvideo.com/videos/flvplayer.flv
to
content.longtailvideo.com/videos/flvplayer.flv
and it will work
thanks
wisemasterchief
07-16-2010, 01:58 PM
I am using following video players inside Text/html widget: JW Player, Flowplayer, Open Vide Player..
Ahmet Turan
07-16-2010, 07:50 PM
not work .swf video
Working .FLV and MP4
How do I make this
dhemitz
07-18-2010, 08:21 AM
Great work for me....
but.... i can't post 2 or 3 media
any solutions...?
------------------####-----------
I'm sorry... solve with
https://vborg.vbsupport.ru/showthread.php?t=245105&highlight=flv+player
Rumpel
08-07-2010, 04:42 PM
Wow! Something I really need.. :)
Thank you
Big-Pete
08-29-2010, 11:45 AM
I only get:
when I try to put a Video, for example an .mp4 which is on my Webspace. Not the movie. Whats wrong ? :(
I Also get this, Did you manage to find a solution??
lubbie
09-08-2010, 04:17 PM
Got it working. Thx
wisemasterchief
09-08-2010, 04:25 PM
This is widget configs I use on my system.
Static HTML
vbcms_widget_static_page
<script type="text/javascript" src="localhost/vBulletin/mediaplayer/jquery.js"></script>
<script type="text/javascript" src="localhost/vBulletin/mediaplayer/playlist.js"></script>
<link rel="stylesheet" type="text/css" href="localhost/vBulletin/mediaplayer/playlist.css" />
<script type='text/javascript' src='./mediaplayer/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('./mediaplayer/player.swf','mpl','800','470','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.somedomain.com/videos/somefile.flv');
so.addVariable('backcolor','666666');
so.addVariable('frontcolor','330033');
so.addVariable('lightcolor','000000');
so.addVariable('screencolor','000000');
so.addVariable('autostart','true');
so.write('mediaspace');
</script>
lubbie
09-08-2010, 05:42 PM
Can anyone tell me why, after pressing the Playbutton, the player offers mit to download the vid?
I dont want the vid to be dled ;)
wisemasterchief
09-08-2010, 06:18 PM
in code sample: I changed location of flv file
the videos folder resides in vBulletin root.
I created videos file folder, placed all my media there, provided URL designating complete path
lubbie
09-08-2010, 06:35 PM
????
kf4eok
10-08-2010, 12:56 AM
What is everyone using for the editor button? Where can I find the image?
iyama
10-20-2010, 01:00 PM
I have downloaded the JP Player, buth no swfobject.js inside.
D4rk_Sh00t3r
10-23-2010, 07:46 PM
If this does not work for you, then that means your host does not provide ffmpeg
Fifth Dimension
10-24-2010, 10:29 PM
how can you make this autoplay?
voter
11-23-2010, 08:06 PM
Only one embeded video/audio per thread page is working because the script is buggy.
It is defining always the same id "mediaspace" for all videos and sending that variable to player. So after first video everythin else getting "This text will be replaced"
Gyaronn ids in same HTML page must be unique.
To make it work use this
<script type='text/javascript' src='video/swfobject.js'></script>
<div id='media_{param}'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('video/player.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','{param}');
so.addVariable('backcolor','CCCCFF');
so.addVariable('frontcolor','000000');
so.addVariable('lightcolor','000000');
so.addVariable('screencolor','000000');
so.write('media_{param}');
</script>
Mike Bucy
12-03-2010, 05:55 AM
Can this mode be done with a Category Widget?
I tried some things but was unable to get it to format right.
I'd like to have all the videos listed in a Category.
Thanks
basilrath
12-03-2010, 08:16 AM
do you mean scaled down to fit a sidebar or as i have on my front page ?
Mike Bucy
12-04-2010, 03:59 AM
I just want to list all the video links in a category on the left side bar under the section widget and links each title in the list to a page.
Like this:
__________________
Section Widget
About Us
Products
Services
Sample Videos (Click Here and get the categories be it the category widget or a custom one below)
__________________
Sample Videos
This video
That video
The Other Video
Some Video
etc
etc
etc
etc
___________________
Thanks
Big-Pete
01-23-2011, 10:27 AM
Anyone know how to add a flashvar for the snapshot plugin, watermark image and a skin? I've done it in Wordpress, it's easy with the WPlugin, But not sure how to add in this
<script type='text/javascript' src='/video/swfobject.js'></script>
<div id='mediaspace'></div>
<script type='text/javascript' src='flv/swfobject.js'></script>
<div id='media_{param}'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('flv/player.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','{param}');
so.addVariable('backcolor','CCCCFF');
so.addVariable('frontcolor','000000');
so.addVariable('lightcolor','000000');
so.addVariable('screencolor','000000');
so.write('media_{param}');
</script>
skooby
03-10-2011, 04:24 PM
Anyone have a problem with this working in Firefox, but not in IE or Chrome?
White Devil
03-28-2011, 01:30 PM
Can I use it on vb 3.6.12 pl2 ?
hsh72
04-25-2011, 02:40 PM
i have vbulletin 3.8.4
how i use this player for my homepage?
Please help me
Greets hsh72
Poker Face
06-06-2011, 04:51 AM
Anyone able to get this to work with 4.1.3?
I've tried every combination throughout this thread and have not had any success getting it to work...
Any updates, would be greatly appreciated!
Edge83
09-19-2011, 04:10 AM
I am interested in jwplayer on my forum but is it possible to set this in a way that only certain usergroups can use the bbcode for it (without disabling all vbcode for them entirely)? Thanks
Mondi
02-22-2012, 07:59 PM
Hi -
Got this to work nicely, using this replacement:
<script type='text/javascript' src='/video/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('/video/player.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','{param}');
so.addVariable('backcolor','CCCCFF');
so.addVariable('frontcolor','000000');
so.addVariable('lightcolor','000000');
so.addVariable('screencolor','000000');
so.write('mediaspace');
</script>
If' I'd like to give the player one of JW's skins - say it's called 'Schoon' - what/where does need changing/added in this code?
Thanks heaps!
Mondi
Please, and for jwplayer 6 ?? Thanks.
baytalha
11-24-2013, 06:30 PM
Thanks man its a work
thetechgenius
07-13-2014, 12:12 AM
Yeah, but this only works if the Video file is hosted locally on your web server. That means other users will not be able to use the bbcode.
adelsayed
07-05-2015, 12:01 AM
No it can play any file ended with mp4 but other extensions no
files without extension will not work also
solution is very simple by changing the BBcode
you can see here (http://www.sama3almelouk.org/forum/showpost.php?p=64215&postcount=6) I use jwplayer as attachment player which means .attach extension
also here (http://www.sama3almelouk.org/forum/showthread.php?t=17348) I use it for broadcasting .attach also
best regards
Adel
Yeah, but this only works if the Video file is hosted locally on your web server. That means other users will not be able to use the bbcode.
CreativeIT
12-14-2015, 03:57 AM
Here's a slight variation on the original video code along with several more ...
Works with VB 3+ and 4
JW Player 5+
Video
<div align="center">
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://YOURDOMAIN.com/jwplayer/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file={param}&frontcolor=#cc0018&start=0'>
<embed
id='video2'
name='video2'
src='http://YOURDOMAIN.com/jwplayer/player.swf'
width='470'
height='320'
bgcolor='#000000'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file={param}&backcolor=#252626&frontcolor=#E8ECED&start=0'
/></object>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="{param}">{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>
Audio
<div align="center">
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='25' id='video1' name='video1'>
<param name='movie' value='http://YOURDOMAIN.com/jwplayer/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file={param}'>
<embed
id='video2'
name='video2'
src='http://YOURDOMAIN.com/jwplayer/player.swf'
width='470'
height='24'
bgcolor='#000000'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file={param}&backcolor=#252626&frontcolor=#E8ECED&start=0'
/></object>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="{param}">{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>
Liveleak
<div align="center">
<object width='470' height='320'>
<param name='movie' value='http://www.liveleak.com/e/{param}'>
<param name='wmode' value='transparent'>
<param name='allowscriptaccess" value='always'>
<embed
src='http://www.liveleak.com/e/{param}'
type='application/x-shockwave-flash'
allowfullscreen='true'
wmode='transparent'
allowscriptaccess='always'
width='470'
height='320'
/></object>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="http://www.liveleak.com/view?i={param}">http://www.liveleak.com/view?i={param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>
HuffPost
<div align="center">
<iframe src="http://embed.live.huffingtonpost.com/HPLEmbedPlayer/?segmentId={param}&autoPlay=false" width="470" height="320" frameBorder="0" scrollable="no"></iframe>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="http://live.huffingtonpost.com/r/segment/{param}">http://live.huffingtonpost.com/r/segment/{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>
DailyMotion
<div align="center">
<iframe frameborder="0" width="470" height="320" src="http://www.dailymotion.com/embed/video/{param}"></iframe>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="http://www.dailymotion.com/video/{param}">http://www.dailymotion.com/video/{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>
Google Maps
<div align="center">
<iframe width="470" height="370" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&spn=0,0&output=embed"></iframe>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="{param}">http://maps.google.com/maps/ms?msid=...</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>
FreeWaLLe
07-13-2017, 12:40 AM
Türkçe anlatım sunabilirmisiniz ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.