Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #42  
Old 08-07-2010, 04:42 PM
Rumpel Rumpel is offline
 
Join Date: Jun 2010
Location: Heinsberg/NRW/Germany
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow! Something I really need..

Thank you
Reply With Quote
  #43  
Old 08-29-2010, 11:45 AM
Big-Pete Big-Pete is offline
 
Join Date: May 2009
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tlwwolfseye View Post
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??
Reply With Quote
  #44  
Old 09-08-2010, 04:17 PM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it working. Thx
Reply With Quote
  #45  
Old 09-08-2010, 04:25 PM
wisemasterchief's Avatar
wisemasterchief wisemasterchief is offline
 
Join Date: Nov 2009
Location: Chicago, IL
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is widget configs I use on my system.
Static HTML
vbcms_widget_static_page



Code:
			<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>
Reply With Quote
  #46  
Old 09-08-2010, 05:42 PM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #47  
Old 09-08-2010, 06:18 PM
wisemasterchief's Avatar
wisemasterchief wisemasterchief is offline
 
Join Date: Nov 2009
Location: Chicago, IL
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #48  
Old 09-08-2010, 06:35 PM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

????
Reply With Quote
  #49  
Old 10-08-2010, 12:56 AM
kf4eok's Avatar
kf4eok kf4eok is offline
 
Join Date: Sep 2009
Location: Jacksonville, Florida
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is everyone using for the editor button? Where can I find the image?
Reply With Quote
  #50  
Old 10-20-2010, 01:00 PM
iyama iyama is offline
 
Join Date: Sep 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have downloaded the JP Player, buth no swfobject.js inside.
Reply With Quote
  #51  
Old 10-23-2010, 07:46 PM
D4rk_Sh00t3r D4rk_Sh00t3r is offline
 
Join Date: Jun 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If this does not work for you, then that means your host does not provide ffmpeg
Reply With Quote
Reply

Thread Tools

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 11:01 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.05756 seconds
  • Memory Usage 2,332KB
  • 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
  • (1)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