-
AuthorPosts
-
bowman999 Friend
bowman999
- Join date:
- April 2007
- Posts:
- 119
- Downloads:
- 13
- Uploads:
- 7
- Thanks:
- 25
- Thanked:
- 14 times in 1 posts
February 23, 2013 at 1:18 pm #185230Finally worked out how to add YouTube and other videos to The Wall Intro Text (so they display and can be played on the home / front page like Pinterest). Thought I’d share with anyone who is interested. These videos will be re-sizable, just like any image you may add to the front page in a mobile or tablet situation:
Steps:
1. In the JA Wall template files, edit this file located here:
templatesja_walltemplate_tools.php
Find the following code inside this file:
static $allowtag = '<a><b><strong><br>';
Add an <iframe> tag into the allowable tags. Like so:
static $allowtag = '<iframe><a><b><strong><br><span>';
2. Download this cool Fitvid plugin from JoomlaBamboo. This makes your Intro videos re-sizable in specific containers.
http://www.joomlabamboo.com/blog/joomla-extensions/fitvids-responsive-video-for-joomla3. Install and enable the plugin, and in the plugin’s settings, add this into the Fitvid Selector field:
.item-main
4. Save the plugin.
5. Insert your embedded video code as you would normally do, BEFORE the “Read more”. For example:
<iframe src="http://www.youtube.com/embed/n_dZNLr2cME?rel=0&hd=1" frameborder="0" width="560" height="349"></iframe>
<hr id="system-readmore" />
<p>est Test Test Test</p>Use Ja Wall’s extended classes to select the video starting size (e.g, grid-double and grid-triple) or just leave it to display the default block width.
Now every time you enter embed video codes before the read more they will act responsively.You may have to add <iframe> as an allowable tag in your JCE or Tiny Mice default Joomla editor settings (or both).
Couple of images attached in desktop and mobile states.
Cheers,
John
-
L John Friend
L John
- Join date:
- September 2014
- Posts:
- 96
- Downloads:
- 3
- Uploads:
- 6
- Thanks:
- 30
- Thanked:
- 5 times in 1 posts
August 9, 2013 at 3:10 am #501694“.item-main”
Where does this go in Joomla 3.x ?
There is no Plugins settings to change.August 23, 2013 at 8:35 am #503239“3. Install and enable the plugin, and in the plugin’s settings, add this into the Fitvid Selector field:”
The problem is that there is absolutely NO configurable settings on the plugin page. Where to insert this code?
praguepost Friendpraguepost
- Join date:
- October 2013
- Posts:
- 35
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
October 14, 2013 at 11:43 am #508937Anyone figure out a workaround for “”.item-main”” in joomla 3?
giusti2 Friendgiusti2
- Join date:
- August 2012
- Posts:
- 117
- Downloads:
- 8
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
October 2, 2015 at 1:25 am #694628I import from youtube, but does not work for me.
Does someone know what this means? … You may have to add <iframe> as an allowable tag in your JCE or Tiny Mice default Joomla editor settings (or both).
giusti2 Friendgiusti2
- Join date:
- August 2012
- Posts:
- 117
- Downloads:
- 8
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
October 2, 2015 at 1:25 am #750349I import from youtube, but does not work for me.
Does someone know what this means? … You may have to add <iframe> as an allowable tag in your JCE or Tiny Mice default Joomla editor settings (or both).
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 2, 2015 at 2:39 am #694641By default, Joomla editor often strips some HTML tags like <iframe> here so you can check settings of these editors if they have options to allow your desired tags.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 2, 2015 at 2:39 am #750362By default, Joomla editor often strips some HTML tags like <iframe> here so you can check settings of these editors if they have options to allow your desired tags.
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 6 voices, and was last updated by Saguaros 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum