vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Fluid YouTube/Vimeo BBcodes (auto-created) (https://vborg.vbsupport.ru/showthread.php?t=321658)

MarkFL 01-29-2016 10:00 PM

Fluid YouTube/Vimeo BBcodes (auto-created)
 
1 Attachment(s)
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:

https://vborg.vbsupport.ru/attachmen...1&d=1454173076

A YouTube video in a post:

https://vborg.vbsupport.ru/attachmen...1&d=1454173076

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.

https://vborg.vbsupport.ru/attachmen...1&d=1454173076

Support for this product can be found here:

lange 12-23-2016 12:57 AM

Thanks, I will test it.

nw-fotografie 05-28-2017 09:29 AM

Hi Mark,

our vb is on ssl! Does that cause, that the mod is not working and still showing an empty window?

MarkFL 05-28-2017 10:50 AM

Quote:

Originally Posted by nw-fotografie (Post 2587044)
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.:)

nw-fotografie 05-28-2017 01:47 PM

Nope, Mark!

nw-fotografie 05-28-2017 01:49 PM

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>

MarkFL 05-28-2017 04:23 PM

I don't have an SSL vB 3.8.x site on which to test, but it works fine on my dev site.

nw-fotografie 05-28-2017 08:38 PM

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.

CQ2 07-05-2017 02:18 PM

Added today :) Thanks. Just a few minor adjustments to optimize the gadget. :up:

blind-eddie 10-01-2017 12:17 PM

DJ's AME died with no fix to be found. Thank you for sharing, works great!


All times are GMT. The time now is 03:39 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.01864 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_code_printable
  • (1)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
  • (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