Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CinVin Inline Media Hack for vBGallery Details »»
CinVin Inline Media Hack for vBGallery
Version: 2.0.0 RC1, by KW802 KW802 is offline
Developer Last Online: Nov 2021 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 10-21-2007 Last Update: Never Installs: 30
Uses Plugins Auto-Templates
Is in Beta Stage  
No support by the author.

Note: This is an updated & enhanced version of my original 'Autoplay Media Files Inline' hack. As with all my publicly available vB add-ons it is being released under the CinVin branding. This is being released as an RC version so please provide any feedback or suggestions you may have so I can make improvements.

Description
Play media files (audio, video) inline when viewed in PhotoPost vBGallery instead of having to download first.

Supports most popular media players such as Windows Media Player, Quicktime, and Real Player. Also includes a method for playing flash video FLV files and even embedding YouTube videos!

DemoFeatures
This hack will play media files inline within your PhotoPost vBGallery instead of your visitor first having to download the file to their local PC. Some benefits of doing this are to (a) allow media files to be used as eCards which come out really nice looking and also to (b) make it a little bit harder for people to download your media files (will slow them down but not stop them) which hopefully means that a link to your site is what ends up being distributed instead of the actual media file itself.
  • Supports Windows Media Player, Flash, Adobe Acrobat, Real Audio Player, and Quicktime.
  • Supports embedded YouTube videos! By uploading a preview image with a specified prefix then the corresponding YouTube video will displayed embedded.
  • Supports up two two custom audio/video players. That allows you to add your own players without having to touch any PHP code.
  • Custom Audio/Video Player #1 comes pre-configured for playing Flash Video (FLV) files and MP3 files!
  • Completely template based so you can easily change the media player code.
  • ACP based settings allow you to easily turn on & off which media types you want to view inline, change media player file associations, and whether a download link should be shown to your visitors.
  • If your PHP installation supports recognizing file sizes of SWF & other file types then the media will be displayed proportionally to the actual size of the media. If your PHP installation does not recognize the media file sizes then the media will be displayed based upon the height & width settings in your vBGallery Filetypes maintenance screen. If you do not have a height & width specified in your vBGallery Filetypes maintenance screen then you can specify a default height & width for displaying the inline media.
Additional Info
The Flash video player that is pre-configured for playing FLV and MP3 files is from Jeroen Wijering. It is a CCL application and you can obtain the source file and more information about the player by visiting Jeroen's site.

Requirements
To use this product the following items are required...
  • vBulletin 3.6.x by Jelsoft
  • PhotoPost vBGallery
  • Ability to upload & edit files on your server
Version Info
Current Version: 2.0.0 RC1
Last Updated: 09-28-2007 10:35 PM

Support
Primary support will be provided at CinVin. Secondary support will be provided here vBulletin.org and in the PhotoPost support forums. To date those are the only communities that this hack has been released at and will be supported at.

This application can not be redistributed in any matter without the prior written approval of CinVin.

Show Your Support

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

Comments
  #22  
Old 11-16-2007, 12:41 AM
RaceJunkies RaceJunkies is offline
 
Join Date: Jun 2003
Location: Aruba
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802 View Post
Did you go through the ACP yet?
Haha ooopppsss.... Thnx for making me feel stupid.

Keep up the good work~! :up:
Reply With Quote
  #23  
Old 11-16-2007, 01:14 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RaceJunkies View Post
Haha ooopppsss.... Thnx for making me feel stupid.
That wasn't my intent, sorry if that was the result.
Reply With Quote
  #24  
Old 11-16-2007, 08:09 PM
pompaunpo pompaunpo is offline
 
Join Date: Nov 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good !!!!
but url file flv in flash player embed is wrong !!


HTML Code:
s1.addVariable("file","http://localhost/site/gallery/1/clip.flv");
correct is:

s1.addVariable("file","http://localhost/site/gallery/files/1/clip.flv");

is not the /files directory
Reply With Quote
  #25  
Old 12-06-2007, 01:18 PM
techhouse techhouse is offline
 
Join Date: Dec 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack. How i can add thumbnail for uploaded videos?
Reply With Quote
  #26  
Old 04-08-2008, 04:33 PM
ahayat ahayat is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice , but this needs to be update as;
variable $vba_options no longer exists in new gallery. and bit more just need to change in the text file provided ,
change $vba_options with $ppg_options ....

Now i have just one problem with real player , cant see the images.
thanks for hack.
Reply With Quote
  #27  
Old 07-31-2009, 05:26 AM
Chicago_VLNU_4s Chicago_VLNU_4s is offline
 
Join Date: Mar 2006
Location: Chicago
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works with 3.8.2
Reply With Quote
Reply


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 11:15 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.04183 seconds
  • Memory Usage 2,273KB
  • Queries Executed 21 (?)
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_html
  • (2)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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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