vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   BB Code Enhancements - JW video player (https://vborg.vbsupport.ru/showthread.php?t=238990)

gyaronn 03-23-2010 10:00 PM

JW video player
 
1 Attachment(s)
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


silverfox_uw 03-25-2010 07:18 AM

did not work for me

gyaronn 03-25-2010 02:53 PM

what was the problem be more spasefic

napy8gen 04-13-2010 04:10 PM

also not working for me I think its a bug for vb4.0.3

Ahmet Turan 04-14-2010 06:42 PM

1 Attachment(s)
Its not working

problem :

https://vborg.vbsupport.ru/external/2010/06/61.jpg

Help

basilrath 04-14-2010 07:12 PM

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

jkcerda 04-15-2010 03:15 PM

is there a way to skin this with a logo?

adeel80 04-15-2010 09:10 PM

Quote:

Originally Posted by napy8gen (Post 2020615)
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?

basilrath 04-16-2010 06:39 AM

1 Attachment(s)
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

gyaronn 04-16-2010 01:39 PM

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

Simonn 04-23-2010 12:03 PM

Does it work with youtube videos?

basilrath 04-23-2010 01:02 PM

well notsure why you would want that given you can add them straight in to a widget or embed via vb4 structure?

Simonn 04-24-2010 08:53 AM

Quote:

Originally Posted by basilrath (Post 2025941)
well notsure why you would want that given you can add them straight in to a widget or embed via vb4 structure?

Did you talk to me? Well. I want to play youtube through it since then there will be no ads.
I used to be on a forum with JW Player working with youtube.

auctionguy 04-24-2010 05:53 PM

I wonder if an uploader with a flv convertor tool could be installed somehow to be used to allow the uploading of videos from within a users profile or area with it as well?

Nice job on this! The RTMP possibilities are very cool...

nervous 04-25-2010 07:35 AM

i can't post 2 or 3 media.
same problem
https://vborg.vbsupport.ru/external/2010/06/61.jpg

nguyentrongphuc 04-26-2010 08:49 AM

Quote:

Originally Posted by pramid (Post 2021324)

Quote:

Originally Posted by nervous (Post 2026913)
i can't post 2 or 3 media.
same problem
https://vborg.vbsupport.ru/external/2010/06/61.jpg

Click Edit button => Delete [url] and [/url]

Sorry, my English no good! :P

Flyte 04-28-2010 12:13 AM

Will the jw player allow for having a freeze frame / screen shot of the video when the video is not being played?

Thanks!

Preech 04-30-2010 01:55 PM

Never mind. Once I tried it, it work fine.

Preech 04-30-2010 03:04 PM

I visited the JW Player website. I also got this to work on my test server using the viral version.

tlwwolfseye 05-04-2010 09:53 AM

I only get:

Quote:

THIS TEXT WILL BE REPLACED
when I try to put a Video, for example an .mp4 which is on my Webspace. Not the movie. Whats wrong ? :(

basilrath 05-04-2010 02:56 PM

I use the other version and mp4 are very iffy on a good day

tlwwolfseye 05-04-2010 03:25 PM

Quote:

Originally Posted by basilrath (Post 2031647)
I use the other version and mp4 are very iffy on a good day

So what you're saying is that the whole thing is not really a stable thing with the files it "claims" to be handling.

dallouleh_s 05-11-2010 06:36 PM

i am really confused... i didn't understand... whicj files i should upload? and where dod i put the path of my video?

thank you

ViciousCode 05-14-2010 02:13 AM

i suggest using an object embed coding instead of a script coding, and remove the word wrapping and parse text as links inside the bbcode, for the video to work

here is the embed version

Code:

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://{forum-url}/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=http://{param}'>
<embed
  id='video2'
  name='video2'
  src='http://{forum-url}/player.swf'
  width='470'
  height='320'
  bgcolor='#000000'
  allowscriptaccess='always'
  allowfullscreen='true'
  flashvars='file=http://{param}'
/></object>

to customize your player options, go to the JW Player Setup Wizard

dallouleh_s 05-15-2010 06:23 PM

thank you
how do i make the stretching filled? it is not stretching
also how do i make it auto start?

ViciousCode 05-15-2010 07:08 PM

go to the JW Player Setup Wizard, you can configure the options there. :)

here is the options, you add this after the {param} in the same line, in param tag and embed tag

Code:

&volume=100&autostart=true&stretching=fill

example
Code:

flashvars='file=http://{param}&volume=100&autostart=true&stretching=fill'

dhemitz 05-20-2010 06:52 AM

not work in vbulletin 4.0.3 :(

ViciousCode 05-20-2010 01:35 PM

did you try my code?

Xencored 06-05-2010 10:05 PM

Am guessing WMV cant be played ?

Edit np i made one thanks anyway

JAFRI 06-07-2010 09:18 AM

not work.

Bisha 06-07-2010 11:51 PM

does it work with VIDEO TAG? if I add the same as vb have?

wheelingburn 06-08-2010 01:21 PM

Quote:

Originally Posted by nguyentrongphuc (Post 2027476)
Click Edit button => Delete [url] and [/url]

Sorry, my English no good! :P

Turn off automatically links in the message

123_y_321 06-09-2010 10:28 PM

This is how I fix it.

Quote:

Remove Tag If Empty
Yes

Disable BB Code Within This BB Code
Yes

Disable Smilies Within This BB Code
Yes

Disable Word Wrapping Within This BB Code
Yes

Disable Automatic Link Parsing Within This BB Code
Yes

ViciousCode 06-12-2010 07:21 AM

Quote:

Originally Posted by Animemike (Post 2048955)
Am guessing WMV cant be played ?

Edit np i made one thanks anyway

you need silverlight player to play wmv files.

hameedacpa 06-12-2010 04:03 PM

Quote:

Originally Posted by pramid (Post 2021324)

I faced same problem and you have to make the following option to "yes"

Disable BB Code Within This BB Code : Yes

linuxututs 06-26-2010 10:38 PM

I had/have a JW license and replaced the player and all works well with just changing the above directions with "Disable BB Code Within This BB Code : Yes" instead.

Example: AERO_VS_LINUX

Thanks,

bahattab 07-16-2010 11:43 AM

Quote:

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://{forum-url}/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=http://{param}'>
<embed
id='video2'
name='video2'
src='http://{forum-url}/player.swf'
width='470'
height='320'
bgcolor='#000000'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=http://{param}'
/></object>

hi

i changed :

http://{forum-url}/player.swf

to

http://www.**********.com/vb/video/player.swf

to my domain and it is working now but i have to delet http:// when i add the link Example :

[JW]http://content.longtailvideo.com/videos/flvplayer.flv[/JW]

to

[JW]content.longtailvideo.com/videos/flvplayer.flv[/JW]


and it will work


thanks

wisemasterchief 07-16-2010 01:58 PM

I am using following video players inside Text/html widget: JW Player, Flowplayer, Open Vide Player..

Ahmet Turan 07-16-2010 07:50 PM

not work .swf video

Working .FLV and MP4

How do I make this

dhemitz 07-18-2010 08:21 AM

Great work for me....

but.... i can't post 2 or 3 media

any solutions...?
------------------####-----------

I'm sorry... solve with
Code:

https://vborg.vbsupport.ru/showthread.php?t=245105&highlight=flv+player


All times are GMT. The time now is 02:23 AM.

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.02827 seconds
  • Memory Usage 1,843KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete