• I want to increase the delay in the start of the video to 5 or 6 seconds, is this possible?

    What file and where should it be modified?. I’ve looked at the code and can not find it.

    I would also like to know how to increase the time the fade effect both at the beginning and end of the video.

    thanks

    https://wordpress.org/plugins/wpmbytplayer/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pupunzi

    (@pupunzi)

    Hi,
    Actually there’s no way to set a delay other than working via javascript.
    If you are skilled you can create a short script on your javascript file where you start the video after a defined timeout. You should configure the video setting the “autostart” to false; on the javascript hand, after the document ready :

    setTimeout(function(){
    jQuery("#bgndVideo_home").playYTP();
    },yourTime);

    where “#bgndVideo_home” is the ID of the homepage background video (it could be “#bgndVideo1” if on a generic page and yourTime is the time in milliseconds you want to delay.

    For the fade timing you can change on the jquery.mb.YTPlayer.js at line:
    397, 449, 657, 658, 732, 759, 766,777, 826, 1036…

    Bye,
    Matteo

    Thread Starter piratecom

    (@piratecom)

    Ok,

    I´ll try it.

    Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It is possible to set delay to video start?’ is closed to new replies.