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)

Rumpel 08-07-2010 04:42 PM

Wow! Something I really need.. :)

Thank you

Big-Pete 08-29-2010 11:45 AM

Quote:

Originally Posted by tlwwolfseye (Post 2031562)
I only get:
when I try to put a Video, for example an .mp4 which is on my Webspace. Not the movie. Whats wrong ? :(

I Also get this, Did you manage to find a solution??

lubbie 09-08-2010 04:17 PM

Got it working. Thx

wisemasterchief 09-08-2010 04:25 PM

This is widget configs I use on my system.
Static HTML
vbcms_widget_static_page



Code:

                        <script type="text/javascript" src="localhost/vBulletin/mediaplayer/jquery.js"></script>
<script type="text/javascript" src="localhost/vBulletin/mediaplayer/playlist.js"></script>
<link rel="stylesheet" type="text/css" href="localhost/vBulletin/mediaplayer/playlist.css" />

<script type='text/javascript' src='./mediaplayer/swfobject.js'></script>
 
<div id='mediaspace'>This text will be replaced</div>
 
<script type='text/javascript'>
  var so = new SWFObject('./mediaplayer/player.swf','mpl','800','470','9');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','http://www.somedomain.com/videos/somefile.flv');

  so.addVariable('backcolor','666666');
  so.addVariable('frontcolor','330033');
  so.addVariable('lightcolor','000000');
  so.addVariable('screencolor','000000');
  so.addVariable('autostart','true');
  so.write('mediaspace');
</script>


lubbie 09-08-2010 05:42 PM

Can anyone tell me why, after pressing the Playbutton, the player offers mit to download the vid?
I dont want the vid to be dled ;)

wisemasterchief 09-08-2010 06:18 PM

in code sample: I changed location of flv file

the videos folder resides in vBulletin root.

I created videos file folder, placed all my media there, provided URL designating complete path

lubbie 09-08-2010 06:35 PM

????

kf4eok 10-08-2010 12:56 AM

What is everyone using for the editor button? Where can I find the image?

iyama 10-20-2010 01:00 PM

I have downloaded the JP Player, buth no swfobject.js inside.

D4rk_Sh00t3r 10-23-2010 07:46 PM

If this does not work for you, then that means your host does not provide ffmpeg

Fifth Dimension 10-24-2010 10:29 PM

how can you make this autoplay?

voter 11-23-2010 08:06 PM

Only one embeded video/audio per thread page is working because the script is buggy.

It is defining always the same id "mediaspace" for all videos and sending that variable to player. So after first video everythin else getting "This text will be replaced"

Gyaronn ids in same HTML page must be unique.

To make it work use this
Code:

<script type='text/javascript' src='video/swfobject.js'></script>
<div id='media_{param}'>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('media_{param}');
</script>


Mike Bucy 12-03-2010 05:55 AM

Can this mode be done with a Category Widget?

I tried some things but was unable to get it to format right.

I'd like to have all the videos listed in a Category.

Thanks

basilrath 12-03-2010 08:16 AM

do you mean scaled down to fit a sidebar or as i have on my front page ?

Mike Bucy 12-04-2010 03:59 AM

I just want to list all the video links in a category on the left side bar under the section widget and links each title in the list to a page.

Like this:

__________________
Section Widget
About Us
Products
Services
Sample Videos (Click Here and get the categories be it the category widget or a custom one below)
__________________
Sample Videos
This video
That video
The Other Video
Some Video
etc
etc
etc
etc
___________________

Thanks

Big-Pete 01-23-2011 10:27 AM

Anyone know how to add a flashvar for the snapshot plugin, watermark image and a skin? I've done it in Wordpress, it's easy with the WPlugin, But not sure how to add in this

HTML Code:

<script type='text/javascript' src='/video/swfobject.js'></script>
<div id='mediaspace'></div>
<script type='text/javascript' src='flv/swfobject.js'></script>
<div id='media_{param}'>This text will be replaced</div>
<script type='text/javascript'>
  var so = new SWFObject('flv/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('media_{param}');
</script>


skooby 03-10-2011 04:24 PM

Anyone have a problem with this working in Firefox, but not in IE or Chrome?

White Devil 03-28-2011 01:30 PM

Can I use it on vb 3.6.12 pl2 ?

hsh72 04-25-2011 02:40 PM

i have vbulletin 3.8.4
how i use this player for my homepage?
Please help me
Greets hsh72

Poker Face 06-06-2011 04:51 AM

Anyone able to get this to work with 4.1.3?

I've tried every combination throughout this thread and have not had any success getting it to work...

Any updates, would be greatly appreciated!

Edge83 09-19-2011 04:10 AM

I am interested in jwplayer on my forum but is it possible to set this in a way that only certain usergroups can use the bbcode for it (without disabling all vbcode for them entirely)? Thanks

Mondi 02-22-2012 07:59 PM

Hi -

Got this to work nicely, using this replacement:

<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>

If' I'd like to give the player one of JW's skins - say it's called 'Schoon' - what/where does need changing/added in this code?

Thanks heaps!

Mondi

xony 11-26-2012 05:29 PM

Please, and for jwplayer 6 ?? Thanks.

baytalha 11-24-2013 06:30 PM

Thanks man its a work

thetechgenius 07-13-2014 12:12 AM

Yeah, but this only works if the Video file is hosted locally on your web server. That means other users will not be able to use the bbcode.

adelsayed 07-05-2015 12:01 AM

No it can play any file ended with mp4 but other extensions no
files without extension will not work also
solution is very simple by changing the BBcode

you can see here I use jwplayer as attachment player which means .attach extension

also here I use it for broadcasting .attach also
best regards
Adel


Quote:

Originally Posted by thetechgenius (Post 2506554)
Yeah, but this only works if the Video file is hosted locally on your web server. That means other users will not be able to use the bbcode.


CreativeIT 12-14-2015 03:57 AM

Here's a slight variation on the original video code along with several more ...

Works with VB 3+ and 4
JW Player 5+

Video
Code:

<div align="center">
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://YOURDOMAIN.com/jwplayer/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file={param}&frontcolor=#cc0018&start=0'>
<embed
  id='video2'
  name='video2'
  src='http://YOURDOMAIN.com/jwplayer/player.swf'
  width='470'
  height='320'
  bgcolor='#000000'
  allowscriptaccess='always'
  allowfullscreen='true'
  flashvars='file={param}&backcolor=#252626&frontcolor=#E8ECED&start=0'
/></object>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="{param}">{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>


Audio
Code:

<div align="center">
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='25' id='video1' name='video1'>
<param name='movie' value='http://YOURDOMAIN.com/jwplayer/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file={param}'>
<embed
  id='video2'
  name='video2'
  src='http://YOURDOMAIN.com/jwplayer/player.swf'
  width='470'
  height='24'
  bgcolor='#000000'
  allowscriptaccess='always'
  allowfullscreen='true'
  flashvars='file={param}&backcolor=#252626&frontcolor=#E8ECED&start=0'
/></object>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="{param}">{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>


Liveleak
Code:

<div align="center">
<object width='470' height='320'>
<param name='movie' value='http://www.liveleak.com/e/{param}'>
<param name='wmode' value='transparent'>
<param name='allowscriptaccess" value='always'>
<embed
  src='http://www.liveleak.com/e/{param}'
  type='application/x-shockwave-flash'
  allowfullscreen='true'
  wmode='transparent'
  allowscriptaccess='always'
  width='470'
  height='320'
/></object>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="http://www.liveleak.com/view?i={param}">http://www.liveleak.com/view?i={param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>


HuffPost
Code:

<div align="center">
<iframe src="http://embed.live.huffingtonpost.com/HPLEmbedPlayer/?segmentId={param}&autoPlay=false" width="470" height="320" frameBorder="0" scrollable="no"></iframe>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="http://live.huffingtonpost.com/r/segment/{param}">http://live.huffingtonpost.com/r/segment/{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>


DailyMotion
Code:

<div align="center">
<iframe frameborder="0" width="470" height="320" src="http://www.dailymotion.com/embed/video/{param}"></iframe>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="http://www.dailymotion.com/video/{param}">http://www.dailymotion.com/video/{param}</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>


Google Maps
Code:

<div align="center">
<iframe width="470" height="370" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&amp;spn=0,0&amp;output=embed"></iframe>
<br />
<font size="1"><b>Source:</b> <a target="_blank" href="{param}">http://maps.google.com/maps/ms?msid=...</a></font>
<a target="_top" href="http://YOURDOMAIN.com/misc.php?do=bbcode#audio"><img src="http://YOURDOMAIN.com/extra/help_icon.png" width="12" height="12" border="0" alt="Video/Audio Embedding Codes" /></a>
</div>


FreeWaLLe 07-13-2017 12:40 AM

Türkçe anlatım sunabilirmisiniz ?


All times are GMT. The time now is 05:52 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.01396 seconds
  • Memory Usage 1,818KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)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
  • (28)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