Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • bowman999 Friend
    #185230

    Finally 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-joomla

    3. 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


    1. responsive-videos1
    2. responsive-videos2
    L John Friend
    #501694

    “.item-main”

    Where does this go in Joomla 3.x ?
    There is no Plugins settings to change.

    studio204 Friend
    #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 Friend
    #508937

    Anyone figure out a workaround for “”.item-main”” in joomla 3?

    giusti2 Friend
    #694628

    I 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 Friend
    #750349

    I 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 Moderator
    #694641

    By 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 Moderator
    #750362

    By 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.

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