Version: 1.7, by MarkFL
Developer Last Online: Jun 2020
Category: New Posting Features -
Version: 4.x.x
Rating:
Released: 07-24-2015
Last Update: 12-31-2016
Installs: 42
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
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:
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.
Update: version 1.1
Added code so that CSS is rendered on the scripts necessary for the videos to display correctly when previewing a post or viewing in the topic review.
Update: version 1.2
Added the option to define a maximum width for the videos.
Upon clicking the BBCode buttons in the editor toolbar, you simply need to enter the video's identifier between the generated tags.
To Install:
Download and extract the attached .zip file.
Upload the contents of the "upload" folder to your root directory. This is the image files for the BBCode buttons.
In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.
Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
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.
However I already have an old bbcode for embedding YouTube so I get two buttons appearing in the new post editor. If I delete that old custom bbcode it'll break all previous embedded videos won't it? Instead, am I better just altering your bbcode to match the old tag? [myoutube] to [yt]
However I already have an old bbcode for embedding YouTube so I get two buttons appearing in the new post editor. If I delete that old custom bbcode it'll break all previous embedded videos won't it? Instead, am I better just altering your bbcode to match the old tag? [myoutube] to [yt]
Would that work or is there an easier solution?
TIA
Yes, if you change the "BB Code Tag Name" field of the new BBCode to YT then all the previously embedded YouTube videos will use the new HTML replacement.
Hello great mod and thanks for your hard work. just having one little problem i am running 4.2.3 and the youtube logo dose not appears but the space is blank but still works. I gather it is the path of the logo is off ?
Hello great mod and thanks for your hard work. just having one little problem i am running 4.2.3 and the youtube logo dose not appears but the space is blank but still works. I gather it is the path of the logo is off ?