Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Fluid YouTube/Vimeo BBcodes (auto-created) Details »»
Fluid YouTube/Vimeo BBcodes (auto-created)
Version: 1.4, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 01-29-2016 Last Update: Never Installs: 16
DB Changes Uses Plugins
Translations  
No support by the author.

Overview:

This product creates 2 new BBCodes that will allow your users to post YouTube/Vimeo videos in fluid containers, i.e., containers that will dynamically resize if the browser window is resized to always maintain a 16:9 aspect ratio and to maintain left/right margins based on a defined percentage of the parent element's width.

Once installed, instruct your users that they merely need to include the video identifiers within the BBCode tags. For example:

Code:
[MYOUTUBE]xjglB04TOno[/MYOUTUBE]

[MVIMEO]22439234[/MVIMEO]
Features:
  • Upon installation, your database is edited to create the two new BBCodes thereby eliminating the need for you to go through the tedious process of manually adding them yourself.
  • A button for each BBCode is added to your editor's toolbar.
  • The CSS of the video elements is configurable via the product settings.

The BBCode buttons in the editor toolbar:



A YouTube video in a post:



Upon clicking the BBCode buttons in the editor toolbar, you simply need to enter the video's identifier between the generated tags.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder to your root directory. This is the image files for the BBCode buttons.
  3. In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
  5. Click "Import"

Visit the product's settings to configure the CSS (there are default values, so the product will run without having to initially set the settings). Each setting has an explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Fluid Youtube-Vimeo Video BBCodes v1.4.zip (6.0 KB, 140 views)

Screenshots

File Type: jpg markfl_fv_post.jpg (75.3 KB, 0 views)
File Type: png markfl_fv_editor.png (23.8 KB, 0 views)
File Type: png markfl_fv_acp.png (60.4 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 12-23-2016, 12:57 AM
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
Location: Montreal (Canada)
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I will test it.
Reply With Quote
  #3  
Old 05-28-2017, 09:29 AM
nw-fotografie nw-fotografie is offline
 
Join Date: Mar 2016
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mark,

our vb is on ssl! Does that cause, that the mod is not working and still showing an empty window?
Reply With Quote
  #4  
Old 05-28-2017, 10:50 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nw-fotografie View Post
Hi Mark,

our vb is on ssl! Does that cause, that the mod is not working and still showing an empty window?
Try editing the Vimeo and Youtube BBCodes and replace "http" with "https" and let me know if that works.
Reply With Quote
  #5  
Old 05-28-2017, 01:47 PM
nw-fotografie nw-fotografie is offline
 
Join Date: Mar 2016
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, Mark!
Reply With Quote
  #6  
Old 05-28-2017, 01:49 PM
nw-fotografie nw-fotografie is offline
 
Join Date: Mar 2016
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have a youtube bbcode, that is working with this code:

<object width="425" height="350"><param name="movie" value="https://www.youtube.com/v/{param}"></param><embed src="https://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

And this is for Vimeo videos:

<iframe src="https://player.vimeo.com/video/{param}" width="540" height="380" frameborder="0"></iframe>
Reply With Quote
  #7  
Old 05-28-2017, 04:23 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have an SSL vB 3.8.x site on which to test, but it works fine on my dev site.
Reply With Quote
  #8  
Old 05-28-2017, 08:38 PM
nw-fotografie nw-fotografie is offline
 
Join Date: Mar 2016
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mark, but SSL ist important for us and our customers! And i think that the most business sites have to use it or have to switch to SSL.
Reply With Quote
  #9  
Old 07-05-2017, 02:18 PM
CQ2 CQ2 is offline
 
Join Date: Feb 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added today Thanks. Just a few minor adjustments to optimize the gadget. :up:
Reply With Quote
  #10  
Old 10-01-2017, 12:17 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DJ's AME died with no fix to be found. Thank you for sharing, works great!
Reply With Quote
Благодарность от:
MarkFL
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 11:45 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.04679 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete