vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - CinVin Inline Media Hack for vBGallery (https://vborg.vbsupport.ru/showthread.php?t=160867)

KW802 10-21-2007 10:00 PM

CinVin Inline Media Hack for vBGallery
 
Note: This is an updated & enhanced version of my original 'Autoplay Media Files Inline' hack. :cool: 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.

aycan555 10-22-2007 08:32 PM

thanx verry much...

yoyoyoyo 10-22-2007 08:40 PM

very cool

MR.BOSS 10-22-2007 09:03 PM

thanks for this hack,

can i play media files, without having vbgallery?

imean play media files in threads

thanks

KW802 10-22-2007 09:09 PM

Quote:

Originally Posted by MR.BOSS (Post 1366237)
thanks for this hack,

can i play media files, without having vbgallery?

imean play media files in threads

thanks

No, sorry... this hack is specifically for vBGallery. If you search the forums though there are few different embedded media hacks for playing media in posts. :)

MR.BOSS 10-22-2007 10:09 PM

Quote:

Originally Posted by KW802 (Post 1366241)
No, sorry... this hack is specifically for vBGallery. If you search the forums though there are few different embedded media hacks for playing media in posts. :)

thanks,

Rickeo 10-22-2007 10:11 PM

Is there any way in the world you can get this to work in profiles would be amazing been looking for something for so long where users can have music playing in there profile.

Thanks

Rick

KW802 10-22-2007 10:32 PM

Quote:

Originally Posted by Rickeo (Post 1366284)
Is there any way in the world you can get this to work in profiles would be amazing been looking for something for so long where users can have music playing in there profile.

Thanks

Rick

Any random music found in the gallery or only music that the user has uploaded? I'm always on the lookout for new ideas to play with so if you can narrow down the idea you have in mind I'll give it a thought at least. :)

EDIT: Thinking out loud for a moment... the current version of vBGallery has an add-on for displaying images that the user has upload in their profile screen. I don't think it'd take much effort to essentially duplicate that code but only select audio files and then to randomly select one and play it on their profile page. Before I touch any code though, let me know what you were envisioning.

projectego 10-23-2007 07:39 AM

Very cool! Thank you. :)

Subah 10-23-2007 09:12 AM

Thanks a lot it is great Hack , but i think i will wait for the full version ;)


All times are GMT. The time now is 05:44 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.01075 seconds
  • Memory Usage 1,748KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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