Support » Plugin: Video Slider - Slider Carousel » Video autostart not working

  • Hi, I updated to version 1.2.7 but the video will not autostart playing. I’m using “Simple Video Slider 1” with General Options Autoplay set to On.

    I cleared the website & browser cache. What could be wrong?

    Thanks in advance for your help.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author richteam

    (@richteam)

    Dear mediafluent.

    Do you want that the video is played immediately after opening the page or after clicking on the picture? Please can you specify?

    Thank You.

    Plugin Author richteam

    (@richteam)

    Dear mediafluent.

    If you want that the video plays right away then find the Widget.php file. After 8806 lines add this code

    jQuery(document).ready(function(){
    function RIch_Web_SVS_Play_Video(VSlider_ID, Rich_Web_SVS_AP)
    {
    jQuery(‘.RichWeb_SVS_’+VSlider_ID+’ iframe’).css(‘z-index’,’30’);
    jQuery(‘.RichWeb_SVS_’+VSlider_ID+’ .Rich_Web_VSlider_SVS_PlayIcon’).fadeOut();
    jQuery(‘#Rich_Web_VS_SVS_’+VSlider_ID+’ a’).each(function(){
    if(jQuery(this).hasClass(‘iis-current-slide’) && Rich_Web_SVS_AP==”on”)
    {
    jQuery(‘.RichWeb_SVS_’+VSlider_ID+’ iframe’).attr(‘src’,jQuery(this).attr(‘data-src-2x’)+’?autoplay=1&mute=1&enablejsapi=1′);
    }
    if(jQuery(this).hasClass(‘iis-current-slide’) && Rich_Web_SVS_AP==” “){
    jQuery(‘.RichWeb_SVS_’+VSlider_ID+’ iframe’).attr(‘src’,jQuery(this).attr(‘data-src-2x’)+’?&rel=0&amp’);
    }
    })
    }
    if(‘<?php echo $Rich_Web_VSlider_Eff[0]->Rich_Web_SVS_AP;?>’==”on”){
    RIch_Web_SVS_Play_Video(<?php echo $Rich_Web_Video?>, ‘on’);
    }
    if(‘<?php echo $Rich_Web_VSlider_Eff[0]->Rich_Web_SVS_AP;?>’==” “){
    RIch_Web_SVS_Play_Video(<?php echo $Rich_Web_Video?>, ‘ ‘);
    }
    });

    Thank You.

    Yes, I want the video to autostart right away. I put the code into Rich-Web-Video-Slider-Widget.php after line 8806 and it did not work; so I tried on line 8806 and it did not work. To be clear, here’s what I see at 8806

    8805 <script type=”text/javascript”>
    8806 var IdealImageSlider = (function() {
    8807 “use strict”;
    8808 var _requestAnimationFrame = function(win, t) {

    So I restored the original file. Could you tell me more specific where code should go so it works?

    Thanks for your help.

    Plugin Author richteam

    (@richteam)

    Dear mediafluent.

    Did You put the code after this? : <script type = “text / javascript”>

    Please take a look and tell us.

    Thank You.

    I did try that. I have re-inserted the code so you can see the result. I’ve tested on latest Firefox & Chrome.

    Plugin Author richteam

    (@richteam)

    Dear mediafluent.

    Today we will do an update. Please, make the same changes in the new version. It will work for you well.

    Dear richteam,

    I deactivated plugin, updated to version 1.2.8 and then reactivated and inserted the code above but it is still not working. I cleared website cache & browser cache. Still not working. What next?

    Thanks.

    Plugin Author richteam

    (@richteam)

    Dear mediafluent.

    Excuse me. But autoplay works. When you click on a picture after that, your video does not show?

    mediafluent

    (@mediafluent)

    Did you look at the page I need help at the top of this thread? Using the code you provided, the slideshow is gone and I get 3 large image thumbnails stacked on top of each other with a play button in the middle thumb that doesn’t work. Code is not working and I’ve cleared cache on server and browsers Chrome & Firefox. Please see it for yourself.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Video autostart not working’ is closed to new replies.