Product Updates
Joomla 5.2.3 Compatibility for JA Templates, Bug Fixes, and More

Dear Team,

If I create a Menu/Blog Layout and want to include a Article in Article Detail style 14 (also 3,4,13,15,16), no video being displayed. Not even the thubnail picture is being shown.


If I change to other Article Style like 10 it works.

https://www.teddy-knight.at/umbaublog/arbeiten-2022/test-der-dash-elektronik-verkabelung-und-signalanbindung-beginnt-das-compass-board

Please support to make related Article design available.

Thanks

    Hi teddy-knight,
    Currently, some styles do not support displaying the video. To include a video, you will need to customize the PHP file and add the necessary CSS code to ensure it fits with the article's style.

    I have added the following code to the /templates/ja_blockk/html/mod_jacontentlisting/details/default-14/index.php file, line 66:

              <?php if ($content_type == 'video') :?>
                    <div class="content-type-video">
      					<!-- Media Show -->
    					<?php if ($params->get('access-view')) : ?>
    						<?php echo LayoutHelper::render('joomla.content.full_image', $this->item); ?>
    					<?php endif ;?>
    					<!-- // Media Show -->
                    </div>
              <?php endif ;?> 

    And add the following CSS code to the local/css/custom.css file:

    .content-type-video {
        z-index: 10;
        position: relative;
        margin-top: -512px;     
    }
    
    @media (max-width: 991.98px) {
      .content-type-video {
         margin: -192px -32px 0;
      }
    }
    
    @media (max-width: 575.98px) {
      .content-type-video {
          margin: -144px -32px 0;
      }
    }
    Write a Reply...
    You need to Login to view replies.