Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
OwnPlayer - Your own video player Details »
OwnPlayer - Your own video player
Mod Version: 1.0, by Nano_ (Coder) Nano_ is offline
Developer Last Online: Jul 2017 I like it Show Printable Version Email this Page

vB Version: 4.1.5 Rating: (2 votes - 5.00 average) Installs: 6
Released: 14 Oct 2011 Last Update: Never Downloads: 0
Not Supported Additional Files Re-usable Code Translations Is in Beta Stage  

This BBCode allows you create an own video player.


Instructions:

1) Download JWPlayer (Free or Pro, you choose) here.

2) Unzip to temp folder and send to your host, following the instructions below:
2.1) Create a folder inside of your forum root folder, called ownplayer
2.2) Inside this ownplayer folder, create other 3 folders called js, skins and videos
2.3) Put jwplayer.js and swobject.js inside js folder
2.4) Put player.swf in your FORUM ROOT FOLDER
2.5) If you find any skins do you like, put this zip in skins folder (i use this)
3) Go to your AdminCP > Custom BB Codes > Add New BB Code.

Title: OwnPlayer Video
BB Code Tag Name: ownplayer
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Use {option}: NO
Remove Tag If Empty: NO
Disable BB Code Within This BB Code: YES
Disable Smilies Within This BB Code: YES
Disable Word Wrapping Within This BB Code: YES
Button Image (Optional): Attachment 133806


4) Change "UA-GOOGLEANALYTICSHERE" to your Google Analytics ID. If you don't have one, just delete this "'plugins=gapro-1&gapro.accountid=UA-GOOGLEANALYTICSHERE'"

5) Put your logo in ownplayer folder, with logo.png name (140px x 56px)

6) Put your:
Videos
in path/to/your/forum/ownplayer/videos;
Skins in path/to/your/forum/ownplayer/skins and change bold blue in code.


Example: [ownplayer]example.flv[/ownplayer]

Attachment 133807

--
+ Know Problems:
- Works only with one video per page (it's a JW Player's limitation, i think).

+ Notes:
- Tested in 4.0 to 4.1.5 PL1;
- Sorry for my poor english;
- I made this code because I needed it for my forums. I'm not a programmer.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	ownplayer.jpg
Views:	674
Size:	70.9 KB
ID:	133807  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin CMS Widgets [ Widgets ] CMS Player - Hosted Video - JW Player nextslit vBulletin 4.x Add-ons 19 05 Jul 2015 00:00

Comments
  #2  
Old 14 Oct 2011, 19:41
Nano_ Nano_ is offline
 
Join Date: May 2006
reserved.
__________________

Reply With Quote
  #3  
Old 25 Oct 2011, 00:08
dvL-den dvL-den is offline
 
Join Date: Sep 2011
Ok, this bbcode is working perfect, but one question... how I can turn off the video menu? I don't want this option in the video player.
Reply With Quote
  #4  
Old 10 Oct 2012, 14:32
cbiweb cbiweb is offline
 
Join Date: May 2004
This needs to be changed because JWPlayer is different now. For one thing, there is no swobject.js file anymore, making the bbcode not work.
Reply With Quote
  #5  
Old 25 Nov 2012, 19:11
Smiler2009 Smiler2009 is offline
 
Join Date: Apr 2009
Lightbulb

This is the code I use for JWPlayer6. I'm using JWPlayer6 Pro but the free version will work identically.

<script src="/jwplayer/jwplayer.js"></script>

<div id='my-video'></div>
<script type='text/javascript'>
jwplayer('my-video').setup({
file: 'path/to/your/video/folder/{param}',
width: '480',
height: '270'
});
</script>

{param} is the filename of the video/audio file to be passed to the code.
All you need do is to make sure the video is uploaded into the folder you specify in the code, type the filename in a forum post, highlight it and click the icon.

Works very well indeed. If you reduce the height to 30 the player will switch into audio mode and display the audio control bar so you can also add an [AUDIO] tag if you wish.

Hope this helps

Jeff.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:36.

Layout Options | Width: Wide Color: