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
  #2  
Old 03-25-2010, 07:18 AM
silverfox_uw silverfox_uw is offline
 
Join Date: Dec 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did not work for me
Reply With Quote
  #3  
Old 03-25-2010, 02:53 PM
gyaronn's Avatar
gyaronn gyaronn is offline
 
Join Date: Dec 2009
Location: Poland
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what was the problem be more spasefic
Reply With Quote
  #4  
Old 04-13-2010, 04:10 PM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also not working for me I think its a bug for vb4.0.3
Reply With Quote
  #5  
Old 04-14-2010, 06:42 PM
Ahmet Turan Ahmet Turan is offline
 
Join Date: Dec 2006
Location: Mersin
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not working

problem :



Help
Attached Images
File Type: jpg webilgi.JPG (15.2 KB, 0 views)
Reply With Quote
  #6  
Old 04-14-2010, 07:12 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 04-15-2010, 03:15 PM
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to skin this with a logo?
Reply With Quote
  #8  
Old 04-15-2010, 09:10 PM
adeel80 adeel80 is offline
 
Join Date: Apr 2010
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by napy8gen View Post
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?
Reply With Quote
  #9  
Old 04-16-2010, 06:39 AM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

HTML Code:
<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('allowscriptaccess','always');so.addParam('allowfullscreen','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
Attached Files
File Type: zip player-object.zip (46.6 KB, 131 views)
Reply With Quote
  #10  
Old 04-16-2010, 01:39 PM
gyaronn's Avatar
gyaronn gyaronn is offline
 
Join Date: Dec 2009
Location: Poland
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 01:15 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.06521 seconds
  • Memory Usage 2,337KB
  • 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
  • (1)bbcode_html
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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