Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Saguaros Moderator
    #1041502

    Hi,

    If I got your message correctly, you want to customize the layout of this Top Videos module a bit by swapping the main video player to the left side instead of right side as default, is that right?

    If yes, you can go to the file: [root]/templates/ja_hotel/acm/videos/tmpl/featured.php

    Move this snippet of code:

        <div class="player-wrap col-md-6">
                <div id="ja-main-player">
                    <?php if (count($leading)): ?>
                        <?php echo JLayoutHelper::render('joomla.content.video_play', array('item' => $leading[0], 'context' => 'featured')); ?>
                    <?php endif ?>
                </div>
    
                <script type="text/javascript">
    
                    (function($){
                        $(document).ready(function(){
                            $('#ja-main-player').find('iframe.ja-video, video, .jp-video, .jp-jplayer').each(function(){
                                var container = $('#ja-main-player');
                                var width = container.outerWidth(true);
                                var height = container.outerHeight(true);
    
                                $(this).removeAttr('width').removeAttr('height');
                                $(this).css({width: width, height: height});
                            });
                        });
                    })(jQuery);
                &lt;/script&gt;
            </div>

    before the code rendering leading video items: http://prntscr.com/fj55et

    And you also need to style for it again.

    Regards

    litesvcs Friend
    #1041866

    Hi,
    It is very helpful the above. I can try it.

    The issues are:
    1) i need the layout of the menu Videos to be like the picture 2 which is the default and in your Demo and not like the layout in picture1 which i have now.

    2) I have broken Video Links at Hot Videos as you can see in picture 1. I can not find a the problem.

    Thank you

    litesvcs Friend
    #1041867

    I am sending now the pictures


    1. picture2
    2. picture1
    litesvcs Friend
    #1041876

    Hi, I found the problem which was Template Style in the Menu item Videos. That menu Videos was based on Template Style Default and not on the Template Style Home. But i still facing the problem of Broken Video Picture links as you see on Picture3.
    Can you check that please since i bring site offline now.?

    Thank you


    1. picture3
    litesvcs Friend
    #1041880

    I found the problem which was that, the Menu item was based on Template Style Default and not on the Template Style Home.

    But i still facing the problem of Broken Video Picture links as you see on Picture3.

    Can you check that please since i am having site offline now?


    1. picture3-1
    Saguaros Moderator
    #1041971

    Your site seems to be in offline mode now, could you share the credentials so I can check?

    litesvcs Friend
    #1041978
    This reply has been marked as private.
    Saguaros Moderator
    #1042058

    Hi,

    The account seems not working, kindly check again.

    litesvcs Friend
    #1042061
    This reply has been marked as private.
    litesvcs Friend
    #1042085

    Hi, Problem is solved
    Thank you

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  litesvcs 7 years, 5 months ago.

The topic ‘Broken Links of Hot Videos Video Layout’ is closed to new replies.