• Resolved aymerics

    (@aymerics)


    Hi,

    How can I disable the download option on the video player of my slick slider ?

    • This topic was modified 5 years, 9 months ago by aymerics.
Viewing 1 replies (of 1 total)
  • Plugin Author richteam

    (@richteam)

    Dear aymerics.

    Follow the instructions, please.

    Please find the Rich-Web-Video-Slider-Widget.php file in the plugin. There find this code

    naxkinum – jQuery(‘.Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID; ?>_Iframe’).attr(‘src’,Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID;

    Please put your code in the place of this code.

    var video_link = Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID; ?>;
    if(video_link.indexOf(“mp4″) >= 0 === true){
    var iframe_body = jQuery(‘.Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID; ?>’).find(‘.Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID; ?>_Iframe’).contents().find(‘body’);
    jQuery(iframe_body).html(‘<video id=”videoId” controls controlsList=”nodownload” loop style=”height:100%; width:100%; position:absolute;left: 0;right: 0;margin: auto;top: 0;bottom: 0;outline:none” name=”media”><source src=”‘+Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID; ?>+'” type=”video/mp4″></video>’);
    }
    else{
    jQuery(‘.Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID; ?>_Iframe’).attr(‘src’,Rich_Web_VSldier_Src<?php echo $Rich_Web_VSlider_ID; ?>);
    }

    Our team in the next version will add this function.

    Thank You.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable download option on my slick slider’ is closed to new replies.