Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
JW video player Details »»
JW video player
Version: 1.00, by gyaronn gyaronn is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.2 Rating:
Released: 03-23-2010 Last Update: Never Installs: 50
Additional Files Is in Beta Stage  
No support by the author.

this is the first time i post a mod so... i hope it is good :-)

JW Player? Overview

The JW 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 :
PHP Code:
<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 : [JW]http://www.yourdomain.com/video/video.flv[/JW]
Description : JW Player:Video Player
Use {option}: No
Button Image (Optional) : http://icons3.iconfinder.netdna-cdn....o-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'

PHP Code:
<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

Download Now

File Type: zip video.zip (304.5 KB, 1002 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 09-19-2011, 04:10 AM
Edge83 Edge83 is offline
 
Join Date: Aug 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #63  
Old 02-22-2012, 07:59 PM
Mondi Mondi is offline
 
Join Date: Sep 2006
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #64  
Old 11-26-2012, 05:29 PM
xony xony is offline
 
Join Date: Mar 2005
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please, and for jwplayer 6 ?? Thanks.
Reply With Quote
  #65  
Old 11-24-2013, 06:30 PM
baytalha baytalha is offline
 
Join Date: Aug 2012
Location: Konya
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man its a work
Reply With Quote
  #66  
Old 07-13-2014, 12:12 AM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #67  
Old 07-05-2015, 12:01 AM
adelsayed adelsayed is offline
 
Join Date: Apr 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 I use jwplayer as attachment player which means .attach extension

also here I use it for broadcasting .attach also
best regards
Adel


Quote:
Originally Posted by thetechgenius View Post
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.
Reply With Quote
  #68  
Old 12-14-2015, 03:57 AM
CreativeIT's Avatar
CreativeIT CreativeIT is offline
 
Join Date: Sep 2013
Location: South Australia
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a slight variation on the original video code along with several more ...

Works with VB 3+ and 4
JW Player 5+

Video
Code:
<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
Code:
<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
Code:
<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
Code:
<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
Code:
<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
Code:
<div align="center">
<iframe width="470" height="370" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&amp;spn=0,0&amp;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>
Reply With Quote
  #69  
Old 07-13-2017, 12:40 AM
FreeWaLLe FreeWaLLe is offline
 
Join Date: Jun 2010
Location: Turkey
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Türkçe anlatım sunabilirmisiniz ?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05156 seconds
  • Memory Usage 2,338KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete