![]() |
|
Mod Options |
![]() |
|||||||||||||||
OwnPlayer - Your own video player
![]() Developer Last Online: Jul 2017 ![]() ![]() ![]()
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:
Title: OwnPlayer Video BB Code Tag Name: ownplayer Replacement:
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 Show Your Support
No members have liked this post.
|
![]() |
||||
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 01:00 |
Comments |
#2
|
|||
|
|||
reserved.
No members have liked this post.
|
#3
|
|||
|
|||
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.
No members have liked this post.
|
#4
|
|||
|
|||
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.
No members have liked this post.
|
#5
|
|||
|
|||
![]()
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. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:07.