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
  #22  
Old 05-04-2010, 02:56 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use the other version and mp4 are very iffy on a good day
Reply With Quote
  #23  
Old 05-04-2010, 03:25 PM
tlwwolfseye's Avatar
tlwwolfseye tlwwolfseye is offline
 
Join Date: Dec 2008
Location: Germany
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
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.
Reply With Quote
  #24  
Old 05-11-2010, 06:36 PM
dallouleh_s dallouleh_s is offline
 
Join Date: May 2010
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 05-14-2010, 02:13 AM
ViciousCode ViciousCode is offline
 
Join Date: Oct 2008
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Code:
<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
Reply With Quote
  #26  
Old 05-15-2010, 06:23 PM
dallouleh_s dallouleh_s is offline
 
Join Date: May 2010
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
how do i make the stretching filled? it is not stretching
also how do i make it auto start?
Reply With Quote
  #27  
Old 05-15-2010, 07:08 PM
ViciousCode ViciousCode is offline
 
Join Date: Oct 2008
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Code:
&volume=100&autostart=true&stretching=fill

example
Code:
flashvars='file=http://{param}&volume=100&autostart=true&stretching=fill'
Reply With Quote
  #28  
Old 05-20-2010, 06:52 AM
dhemitz dhemitz is offline
 
Join Date: Oct 2007
Location: INDONESIA
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not work in vbulletin 4.0.3
Reply With Quote
  #29  
Old 05-20-2010, 01:35 PM
ViciousCode ViciousCode is offline
 
Join Date: Oct 2008
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you try my code?
Reply With Quote
  #30  
Old 06-05-2010, 10:05 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am guessing WMV cant be played ?

Edit np i made one thanks anyway
Reply With Quote
  #31  
Old 06-07-2010, 09:18 AM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not work.
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 01:37 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.07939 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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