Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
BB Code for FLV files/ FLV URLs Details »»
BB Code for FLV files/ FLV URLs
Version: 1.1, by NAZIA NAZIA is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.6 Rating:
Released: 04-25-2008 Last Update: 12-25-2009 Installs: 51
Supported
Re-useable Code Code Changes  

I am sharing This BB Custom Code with all members...
Hope you will like my this effort...
By this BB Code you can Write the Direct link of any .FLV file video.
It will envelope the Video automatically with the Player.
And movie will run within the site..

. So why are you waiting.
Come on..
What is new:

  • Multi Videos per thread allowed
  • Download the attachment..
  • Upload flv folder and all subfiles in the main folder of your site. [By FTP]
  • Now go to your admin CP of the forum.
  • In Admincp >> Custom BB Codes >> Add New BB Code
OR
http://You_site_name/admincp/bbcode.php?do=add

Here
Add following informations...
TITLE: Nazia's FLV Player
TAG: FLV
Replacement:

Code:
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="520" height="420">
        <param name="movie" value="flv/player.swf" />
        <param name="allowfullscreen" value="true" />
        <param name="allowscriptaccess" value="always" />
        <param name="flashvars" value="file={param}&image=flv/preview.jpg" />
        <embed
            type="application/x-shockwave-flash"
            id="player2"
            name="player2"
            src="flv/player.swf" 
            width="520" 
            height="420"
            allowscriptaccess="always" 
            allowfullscreen="true"
            flashvars="file={param}&image=flv/preview.jpg" 
        /></object>



EXAMPLE:
[FLV]http://almuslameen.info/speeches/Sheikh-Touseef-ur-Rahman/Do_not_Celebrate_Festival_of_Non_muslims_6.flv[/FLV]
Button Image: Write the URL of the flv/flv.gif image..

and save all..
Description: The pasted link of your FLV video will automatically embedded with the BZUpages FLV player

NOTE: No need to replace any replacement code



--------------
Upgrade history:
27 December 2009
Multi Videos per thread allowed
FLV editor icon changed
Can be used for VB 3.8.x


20 November 2009
You have to do no modification in BBD code, Just upload (replace) latest version of JW FLV Player , after downloading the attachment.


Resources:
I have used JW FLV MEDIA PLAYER for playing video.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-26-2008, 02:41 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may want to install a additional modification that limits the use of BBcode to usergroups and not let usergroups you don't trust be able to embed flash onto your forum. It can have potentially disasterous security results
Reply With Quote
  #3  
Old 04-26-2008, 08:40 PM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
You may want to install a additional modification that limits the use of BBcode to usergroups and not let usergroups you don't trust be able to embed flash onto your forum. It can have potentially disasterous security results
Oh!
I see.
Thanks for your info.
Actually I have made this code for my forum. That is why I have shared this with all friends.
If you don't like ,so that do not create this BB Code.
Moreover. If is there any security problem regarding to my this code.
Admin/ Modi you can delete this thread, Because I am newbee and have little knowledge.
ThAnKs
Reply With Quote
  #4  
Old 06-12-2008, 10:38 PM
knezzaghy knezzaghy is offline
 
Join Date: Jun 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

When I get insert it, it tells me that I need to "upgrade your flash player to at least version 8 to view this video content." I have upgraded and am able to view the video on other pages. Is there something that needs to be modified with the code?

karen
Reply With Quote
  #5  
Old 06-21-2008, 02:34 PM
jailer jailer is offline
 
Join Date: Jun 2006
Location: Manchester, UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's big gaps in the first script (example: Onload is Onloa d)
Not installed.
Second one works fine, but security does need to be addressed.
Reply With Quote
  #6  
Old 06-21-2008, 02:45 PM
nirvana43's Avatar
nirvana43 nirvana43 is offline
 
Join Date: Oct 2007
Location: Pune, India
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry but does it allow us to directly paste youtube video url in threads and so that videos will play inline in threads???
Reply With Quote
  #7  
Old 06-21-2008, 03:47 PM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jailer View Post
There's big gaps in the first script (example: Onload is Onloa d)
Not installed.
Second one works fine, but security does need to be addressed.

Here are the Demo Links..
http://bzupages.com/f15/video-of-fin...b-w-it-ts-348/
http://bzupages.com/f5/flv-player-bu...he-editor-350/

Thanks for the gap discussed actually when I have pasted, It automatically appeares.
what sort of security you are saying. wana explain?




Quote:
Originally Posted by nirvana43 View Post
sorry but does it allow us to directly paste youtube video url in threads and so that videos will play inline in threads???
Sorry dear nirvana. It only works with .flv urls...
Reply With Quote
  #8  
Old 06-21-2008, 03:59 PM
jailer jailer is offline
 
Join Date: Jun 2006
Location: Manchester, UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Flash files can be hiding places for security exploits such as redirects.
It's a good idea to use BB Code permissions to make sure untrusted usergroups don't post dangerous flash files.

Maybe have a read here: http://eyeonsecurity.org/papers/flas...m#_Toc18055083
Reply With Quote
  #9  
Old 06-21-2008, 04:39 PM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jailer View Post
Flash files can be hiding places for security exploits such as redirects.
It's a good idea to use BB Code permissions to make sure untrusted usergroups don't post dangerous flash files.

Maybe have a read here: http://eyeonsecurity.org/papers/flas...m#_Toc18055083
Is there any option in VB that by which we restrict the user group to use the BB codes?
Sorry to say that
Quote:
Originally Posted by Nazia Jabeen
I don't have any idea about this.
As you are saying that member can share dangerous flv files. hmm flv videos not flash files.. Similarly by BB code for Utube video people can share the dang videos..
If that BB code have any restriction you can apply those cases with this code.

Now any confusion?
Reply With Quote
  #10  
Old 06-21-2008, 04:45 PM
jailer jailer is offline
 
Join Date: Jun 2006
Location: Manchester, UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YouTube aren't likely to have dangerous files on their servers though.
They may do, I don't know, but I'd say they're pretty secure.
FLV, SWF or any HTML - it's a bad idea to allow.

No, no option in VB but you can try this.
https://vborg.vbsupport.ru/showthread.php?p=1555453
Not currently working for me (3.7.1) so I don't have this hack installed right now until someone can help.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04540 seconds
  • Memory Usage 2,302KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete