vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - [ Widgets ] CMS Player - Hosted Video - JW Player (https://vborg.vbsupport.ru/showthread.php?t=238755)

nextslit 03-20-2010 10:00 PM

[ Widgets ] CMS Player - Hosted Video - JW Player
 
1 Attachment(s)
Hello


I?m going to show you how to do a simple mod that you can use JW Player on your Vbulletin. This will allow you to have your own hosted player.



First you need to download JW Player: Flash Video Player
Quote:

Flash Video Player for FLV, H.264/MPEG-4, MP3
and YouTube Videos on your website

How to install :

1- Download JW flash player
2- unzip mediaplayer.zip
3- Upload swfobject.js to your js folder
4- Upload Player.swf and yt.swf to your home root
5- Creat a folder to upload you videos ( call it video )
6- Go to admincp/vbulletin CMS / Widgets / Creat new widget
7- Widget type : static HTML / Title : Player
8- Paste :

Code:

<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='js/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video/video.flv');
s1.write('preview');
</script>

and save .

9 - go to Layout manager and then add your Player widget to your page .

Note : you can use this HTML code to every page ( CMS post - Thread Post - Blogs and anywher ) just remember to allow HTML code .

Note : It should work with any version of vbulletin .

nextslit 03-21-2010 12:48 PM

1 Attachment(s)
Reserved.

basilrath 03-21-2010 03:13 PM

you can also use the following code to add some personalisation to your player

PHP Code:

&logo=http://www.yoursite.com/path-to-logo/flv-logo.png 

gives the display like this http://www.tabletennistalk.co.uk/for...p?136-stream-1

vividbreeze 03-21-2010 10:08 PM

What about making it private so only a certain usergroup can view the video? Is this possible to be placed in a threads private section?

betts02 03-21-2010 10:42 PM

sorry for not being up to scrath with vb as i am new, but i do not see a js. file, where is this ?
cheers

nextslit 03-22-2010 12:56 AM

Quote:

Originally Posted by basilrath (Post 2007598)
you can also use the following code to add some personalisation to your player

PHP Code:

&logo=http://www.yoursite.com/path-to-logo/flv-logo.png 

gives the display like this http://www.tabletennistalk.co.uk/for...p?136-stream-1

Thanks basilrath :up:

nextslit 03-22-2010 01:02 AM

1 Attachment(s)
Quote:

Originally Posted by vividbreeze (Post 2007797)
What about making it private so only a certain usergroup can view the video? Is this possible to be placed in a threads private section?



I don't have any idea how to make it private as widget :D , but you can use the HTML code to any template or page .


creat a custom ( like : tube.php ) page and hide the player from guest by using following code :

[HOW TO - vB4] Create a own vBulletin page



Code:

<vb:if condition="$show['guest']">
<div class="collapse wgo_block" style="text-align: center;">
<h2><span>Hello guest! </span></h2>
<div class="wgo_subblock" style="text-align: center;">               
<p>Player is disabled for guests!<br />
To be able to view this video, you must either <a href="register.php{vb:raw session.sessionurl_q}">{vb:rawphrase register}</a> or login. </p>       
</div>       
</div>
<vb:else />

JW _ Player Code here

                </vb:if>


nextslit 03-22-2010 01:26 AM

Quote:

Originally Posted by betts02 (Post 2007807)
sorry for not being up to scrath with vb as i am new, but i do not see a js. file, where is this ?
cheers

  • Creat a new folder ( Name the folder ?js? ) on Public_html
  • upload swfobject.js to js folder .

betts02 03-22-2010 07:50 PM

Totally lost with this, Probably something simple to many but a newbie like me,lol

I downloaded the file

Creatd a "js" file and placed in to public_html/

so its public_html/js

The "Upload Player.swf and yt.swf to your home root "

So these are placed at
public_html/ ?
or
Public_html/forums ?

The the "Videos" folder i need to create, where do i install this ?

And what code do i put in this ?

All i am trying to do is have a page with my videos on it, i have the page with all the header/footer/etc i just need the html code to place a video in it

Can someone please help me and others like me who are just starting out with vb ?

cheers

murekhalir 03-24-2010 04:03 AM

Is there any way you can integrate JW player with AME3?

I need to use AME3 (to detect youtube videos) then shove that youtube video INTO the JW player for threads and etc.

LMK. I'm willing to pay.

I ultimately want people to show off their youtube videos on my site. But I want to also brand the player over the YT video and and use my adtonomy pre roll ad.

gyaronn 03-24-2010 10:52 AM

Quote:

Originally Posted by basilrath (Post 2007598)
you can also use the following code to add some personalisation to your player

PHP Code:

&logo=http://www.yoursite.com/path-to-logo/flv-logo.png 

gives the display like this http://www.tabletennistalk.co.uk/for...p?136-stream-1

where should i add this line?

and buy the way the code as was written here does not work on 4.0.2

jkcerda 03-25-2010 02:26 AM

will try out

jkcerda 03-25-2010 04:10 AM

Quote:

Originally Posted by murekhalir (Post 2009162)
Is there any way you can integrate JW player with AME3?

I need to use AME3 (to detect youtube videos) then shove that youtube video INTO the JW player for threads and etc.

LMK. I'm willing to pay.

I ultimately want people to show off their youtube videos on my site. But I want to also brand the player over the YT video and and use my adtonomy pre roll ad.

sounds GOOD

12xbl 03-29-2010 01:17 PM

This works brilliantly as a block on the forum http://www.ecmrf.com/forum.php ..... many thanks !!

Professional2 03-29-2010 01:29 PM

why i don't have this?

6- Go to admincp/vbulletin CMS / Widgets / Creat new widget

AllinJac 04-02-2010 11:24 AM

Any chance this works on VB 3.8.4 or 3.8.5 ???

Sorry for the silly question as I know it is completely different then 3.8 / 4.0 that is but I was just hoping that it would work!

Thanks!

EDIT

Saw that it works on any forum or should work...

Now I was just talking to Jaxel the developer for Video Directory Remixed who is working on a 4.0 release of his MOD... But anyways, he was saying that if you upload the Videos to your server or where ever you want to upload them you could integrate the Player JW Player and set up a new host and use his solution... Which is graphically one of the best I have seen...

Not to familiar with AME personally but like the layout of Video Directory Remixed and the performance and capabilities of Media Pro... To bad someone could not put those two together, it would make one heck of a MOD!!!

Just random thoughts!

Elitefredy 04-05-2010 05:45 PM

the vBulletin Attachment is invalid and the given DL Link is down :S

murekhalir 04-06-2010 06:12 PM

Quote:

Originally Posted by jkcerda (Post 2009814)
sounds GOOD

But if anyone can do it? I'll pay $$$$

Nano_ 06-25-2010 09:58 PM

I'm not using with widget, but with bbcode.
Anyways, Mark as Installed.

adelsayed 07-04-2015 10:00 PM

jwplayer can be used also as attachment player as i done to my forum
and it will work only for members but i had another one for visitors

this one any one can hear it
http://www.sama3almelouk.org/forum/s...ad.php?t=17348

this one for members only
http://www.sama3almelouk.org/forum/s...86&postcount=2
best regards
Adel


All times are GMT. The time now is 05:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01250 seconds
  • Memory Usage 1,769KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete