vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - FLV Player for external FLV source with your logo (https://vborg.vbsupport.ru/showthread.php?t=197756)

ogameclub 11-30-2008 10:00 PM

FLV Player for external FLV source with your logo
 
1 Attachment(s)
Hi everybody,

New:
  • Your logo adding
  • Defauld vbulletin Screencolor
If you know full URL of FLV video, can use this code.
Tips: FLV Get! and Internet Download Manager can be detect a URL of FLV video from the web-player.

FLV player for this hack: The JW FLV Player is an easy and flexible way to add video and audio to your website. It supports playback of any format the Adobe Flash Player can handle (FLV, MP4, MP3, AAC, JPG, PNG and GIF). It also supports RTMP, HTTP and live streaming, various playlists formats, a wide range of settings and an extensive javascript API.

You can use noncommercial license.

Installation:

1- Upload attachments to forum root,

2- Custom BB Codes:

BB Code Tag Name:
HTML Code:

FLV
Example:
HTML Code:

[FLV]http://content.bitsontherun.com/videos/3ta6fhJQ.flv[/FLV]
Replacement (Please find http://www.ogameclub.com/images/editor/logo.gif and replace your logo URL):
HTML Code:

<script type="text/javascript" src="embed/swfobject.js"></script>  <div id="player">"Please refresh page for player"</div>  <script type="text/javascript"> var so = new SWFObject('embed/player.swf','mpl','640','480','9'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('flashvars','&file={param}&frontcolor=330033&screencolor=#E1E4F2&logo=http://www.ogameclub.com/images/editor/logo.gif');
so.write('player');
</script>

The other settings for the BBCode are:

Use {option}: -> No
Remove Tag If Empty -> Yes
Disable BB Code Within This BB Code -> No
Disable Smilies Within This BB Code -> No
Disable Word Wrapping Within This BB Code ->No

Demo

glorify 12-01-2008 08:48 PM

Great player, I have used it for awhile.

I may be wrong, but I thought you had to use the commercial even if you have adsense on your site.

beduino 12-02-2008 09:04 AM

hi
work with 3.7.x?
tks
beduino

zglows 12-02-2008 10:04 AM

i love this mod!

ogameclub 12-02-2008 06:05 PM

Quote:

Originally Posted by beduino (Post 1676936)
hi
work with 3.7.x?
tks
beduino

Probably works all version.

Mr.samy 12-02-2008 08:10 PM

very good .... installed

arauf 12-02-2008 09:52 PM

1 Attachment(s)
In Thread

its showing "Please Refresh Page for Player"

BB Code manager

Everything is done as explained

whats wrong !. ?

zglows 12-02-2008 10:20 PM

I get "please refresh page for player"
what is wrong ?

lonasdigital 12-03-2008 12:24 AM

teneis que ponerlo asi a los que os pasa eso :

Code:

<script type="text/javascript" src="embed/swfobject.js"></script>  <div id="player">"Please refresh page for player"</div>  <script type="text/javascript"> var so = new SWFObject('embed/player.swf','mpl','640','480','9'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('flashvars','&amp;file=http://content.bitsontherun.com/videos/3ta6fhJQ.flv'); so.write('player'); </script>

jerx 12-03-2008 08:05 AM

I think glorify is right. Every site with ads on it, will be classified as commercial and needs to purchase a license for € 30, which also allows you to remove branding.

ogameclub 12-03-2008 08:45 AM

1 Attachment(s)
arauf, check this bbcode and flv URL. A quick reply with video require refresh page.

lonasdigital, you are right, chanced. Thanks

lonasdigital 12-03-2008 03:55 PM

lo que me refiero es que a mi no me funcionaba y al quitar ese parametro ( / ) ya me funciono perfectamente,solo queria ayudar a otros usuarios con el mismo problema ya que algunos tenemos el foro en otra ruta diferente a la default.

un saludo

dbigras 12-15-2008 07:44 PM

When I try to play an mp4 video, I hear the audio, but I don't see the video.

ogameclub 12-24-2008 07:38 PM

Quote:

Originally Posted by dbigras (Post 1686112)
When I try to play an mp4 video, I hear the audio, but I don't see the video.

Can be codec problem...

Try this:
HTML Code:

[FLV]http://a9.video.blip.tv/1320000441107/2425tv-HowToRollABluntByCreep13PunxLaOnda974.mp4[/FLV]

ANGLICO 12-31-2008 12:27 AM

I've uploaded the player to the root of my cPanel

I've uploaded a flv file to my /public_html/forums/video/JONES_Title01.flv area.

Not really interested in playing publicly viewable videos. I just have a few late 60's film reels that have been converted to flv files for a restricted forum for veterans.

Will this work for me? I'm really ignorant about html. Can anyone suggest the specific code to enable this for a very old video (not audio)?

thanks

12/30 update - too old to party but still wishing everyone a healthy and happy 2009!

crkgb 01-04-2009 11:10 PM

Is it possible to make two instances of the player to play in the same post. Right now it does not work.

ANGLICO 01-07-2009 01:28 PM

I uploaded the flash player to my cPanel root along with the swf file to the forums. I only wanted to enable flash for me, but not the users.

The player worked great, the application for me was a swf image as the forum banner in the header. HOWEVER, several weeks ago I reported to vb.com that my website was "hanging up." They checked it out and couldn't duplicate it.

Time passes, I'm still having the problem.

Now two administrators in two different States, using three different computers with three ISP's duplicate the same problem of hanging up, usually after 30 or 45 minutes online, often while doing other things and not working on the site.

I've temporarily replaced the flash banner with a static banner, and so far no problems, so the problem is evidently either with the flash player downloaded from here, or with the swf image that was my banner in the header.

Just reporting, so you know. If anyone else has experienced this, please advise.

ckusmez 01-23-2009 06:02 AM

there is a weird mistake. if i add more than one video in a page. First video is shown no problem. Bu the others says refresh the page. i can't put more than one video in a page. what can i do ?

alex_vaa 01-28-2009 11:20 AM

If you want to place preview image you can create url like this
[FLV]http://domain.com/video/1.flv&image=/path/to/image.jpg[/FLV]

DoDe 01-30-2009 04:15 PM

I got a problem with integration of this mod into the Vbadvanced
When I post a news the video is ok...
On the second news with a video it tracks the first video and on the older news it's written: "Please refresh page for player"

Can anyone tell me how to solve this problem?

mavikumsal 01-31-2009 05:35 PM

Thanks and Teşekkürler...

DoDe 01-31-2009 08:33 PM

Quote:

Originally Posted by ckusmez (Post 1721963)
there is a weird mistake. if i add more than one video in a page. First video is shown no problem. Bu the others says refresh the page. i can't put more than one video in a page. what can i do ?

Hi,
I managed to solve this problem. Put {param }i nstead of id of the player.
I mean replace in the code the 'player' with '{param}' everywhere
Cheers

xixxon 02-01-2009 07:51 AM

That's great!!!
But it too large.. How can I resize it to smaller.

compact123 02-04-2009 09:16 PM

Thanks dude, nice work...

Dostum birde T?rk?e anlatabilirmsiin, eksik olma...

ogameclub 02-06-2009 05:39 PM

Quote:

Originally Posted by xixxon (Post 1730682)
That's great!!!
But it too large.. How can I resize it to smaller.

Find '640','480' and replace your size. May be '320','240'
Quote:

Originally Posted by compact123 (Post 1734645)
Thanks dude, nice work...
Dostum birde T?rk?e anlatabilirmsiin, eksik olma...

If you know full URL of FLV video, can use this code. Using this code is here.

Dostum İDM kullanıyorsan bilirsin, dış videolara download linki oluşur. Burada videolu anlatım var. Problem olursa bana PM at.
Quote:

Originally Posted by DoDe (Post 1730295)
Hi,
I managed to solve this problem. Put {param }i nstead of id of the player.
I mean replace in the code the 'player' with '{param}' everywhere
Cheers

Sorry, can you write your complete code?

powersilie 02-21-2009 11:26 AM

Hallo DoDe!

Please write your complete code here, because I'm also interested in. I have the same problem like others that only the first video is shown. If I put another FLV on the site, he tells me that flash player is required.

Thanks in advance ;)

Karin

powersilie 02-27-2009 08:50 PM

Quote:

Originally Posted by DoDe (Post 1730295)
Hi,
I managed to solve this problem. Put {param }i nstead of id of the player.
I mean replace in the code the 'player' with '{param}' everywhere
Cheers

Please could you write the complete code here?

Thank You
Karin

harisafp 03-06-2009 06:05 PM

That's simple code ....

Example :

Replacement :

PHP Code:

<script type="text/javascript" src="http://your-link.com/forum/swf/swfobject.js"></script>  <div id='{param}'>"Please Refresh Page for Player"</div>  <script type="text/javascript"> var so = new SWFObject('http://your-link.com/forum/swf/player.swf','mpl','320','240','9'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('flashvars','&file={param}&frontcolor=330033&screencolor=#E1E4F2&logo=http://hitech-lamongan.com/forum/swf/flv.gif');
so.write('{param}')
</
script

Discription

PHP Code:

Embed a FLVYou <b>only</bPut the Video Link in between the BBCode tags (<b>NOT</bThe Full URL !). Embedding <b>Must</bbe Enabled for the Video 

Best Regards.

Harisa FP

powersilie 03-07-2009 07:27 AM

THANKS A LOT, harisafp!!!

Now it works for me, great!

Best Regards
Karin

frank44 03-26-2009 01:38 AM

answered previously

TimberFloorAu 03-27-2009 03:01 AM

why would anyone want to add a huge flv advert with a pokey little logo of your site in top right hand corner. Seems pointless to me

J105C 04-04-2009 01:48 AM

Quote:

Originally Posted by TimberFloorAu (Post 1777994)
why would anyone want to add a huge flv advert with a pokey little logo of your site in top right hand corner. Seems pointless to me

I have a few FLV's :D

Thanks, installed & nominated!

DoDe 04-27-2009 08:01 PM

Sorry to write so late but maybe this will help you:

Code:

<script type='text/javascript' src='path_to_your_site/embed/swfobject.js'></script>
<div id='{param}'>"Please refresh page for player"</div>
<script type='text/javascript'>
var s1 = new SWFObject('path_to_your_site/embed/player.swf','mpl','352','201','9');
s1.addParam('allowscriptaccess','always');
s1.addParam('allowfullscreen','true');
s1.addParam('flashvars','&file={param}&frontcolor=#ffffff&screencolor=#000000&controlbar=over&backcolor=#003F86&logo=path_to_your_site/forums/logo2.png&image={param}.jpg');
s1.write('{param}');
</script>

So in the directory I put the video, I put also the picture I want to show when the video is in the stop mode. The name of the picture is the same as the movie with it's extension plus the .jpg . For exemple the movie name is: "your_movie.flv" and the pictures name is: "your_movie.flv.jpg"

Regards and to see it in action go: here

tijmen_4real 05-08-2009 01:54 PM

Hi,

Thanks for this great bb-code!! But i'm having some problems to get it working
A printscreen:

http://www.deorvanheemskerk.nl/journaal/bbcode_ps.JPG

I copy-pasted everything from the topic, but i don't see the example.
And, when i try to embed it in a post, there is no video too :(
I embed like:
Quote:

[FLV]http://www.deorvanheemskerk.nl/journaal/162009.flv[/FLV]
This FLV is on its location, but the player doesn't work at all. I just see my bbcode in my post, like text....

Please, will you help me out to get this working ???

DoDe 05-08-2009 03:01 PM

Are U sure that U uploaded the mod attachment or the latest files from http://www.longtailvideo.com/players/jw-flv-player/ in the exact location on your server?

tijmen_4real 05-08-2009 04:15 PM

Thanks, but it all the files seem to be in place.
I put all the files from the attachment (embed folder) on my server:

http://www.deorvanheemskerk.nl/journ...bbcode_ps2.JPG

Still i don't know what's wrong.
CMOD is 644 (default).
Got more ideas ??? :(

DoDe 05-08-2009 05:26 PM

Rember that the embed directory with this files should be placed in the forum root directory. If that's ok then I don't know what should be wrong. Based on the replacement I think you did everything OK

Navyr 08-08-2009 07:30 AM

Very nice
Only youtube videos is possible see.
With megavideo and other urls is not possible ( 0: Error #2048 )
What can is wrong ?

mr.ehab 08-08-2009 12:39 PM

thanks

PHILIPS-08 08-10-2009 08:15 AM

wowo good mod..


All times are GMT. The time now is 10:19 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.01365 seconds
  • Memory Usage 1,839KB
  • 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
  • (4)bbcode_html_printable
  • (2)bbcode_php_printable
  • (9)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