Skip to Content
Menu
This question has been flagged
1 Reply
3868 Views

I have noticed that with Vimeo videos and some content full screen mode does not work very well.  Is there a way to disable fullscreen mode in ODOO eLearning module?

Avatar
Discard
Author Best Answer

Found the Answer!


Edit the following block.

_updateHref: function () {

        this.$(".o_wslides_js_slides_list_slide_link").each(function (){

            var href = $(this).attr('href');

            var operator = href.indexOf('?') !== -1 ? '&' : '?';

            $(this).attr('href', href + operator + "fullscreen=1");

        });

    }

});

Change the "fullscreen=1" to "fullscreen=0" then when the link is generated it will not try to populate fullscreen but will also not disable fullscreen mode.




Avatar
Discard