Update Revolution Slider Plugin

5 replies · opened May 6, 2021

YyoelacevedoMay 6, 2021

Hello, I know that Revolution Slider is a 3rd party plugin but I would like to know if I have any way to get the latest update to version 5 of Jquery which is the one you include.

The following happens to me, I am using youtube videos as a background with Revolution Slider - TypeWriter and they work many times but not others, and sometimes it never comes out either.

I was looking at the source code of revolution.extension.video.js and it tells me that it is version 2.2.0 and that I have update to the minimum 2.2.2 to avoid errors, and I wanted to see if that is the problem for which I did not they load the videos sometimes.

The error that appears to me is:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube-nocookie.com') does not match the recipient window's origin ('http://afstg.digitalcornucopia.com') .

But sometimes this error does not appear and it still does not play the video.

Greetings and thanks.

SSemicolon WebSTAFFMay 7, 2021

Hello,

Apologies for the Inconveniences caused. Unfortunately, the Plugin Authors have not released any update as of yet to address this issue. We will follow up with them to check what is the future of the jQuery Version of Revolution Slider and will then take an appropriate call on this.

Meanwhile, can you consider replacing the following code in your Page:
[ch_pre]data-videoattributes="version=3&enablejsapi=1&html5=1&hd=1&wmode=opaque&showinfo=0&ref=0"[/ch_pre]

with the following:
[ch_pre]data-videoattributes="version=3&enablejsapi=1&html5=1&hd=1&wmode=opaque&showinfo=0&ref=0&origin=https://afstg.digitalcornucopia.com"[/ch_pre]

and see if this fixes the issue? Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

YyoelacevedoMay 10, 2021

Hello,
I have tried:
1 - data-videoattributes = "version = 3 & enablejsapi = 1 & html5 = 1 & hd = 1 & wmode = opaque & showinfo = 0 & ref = 0 & origin = https: //afstg.digitalcornucopia.com"
2 - data-origin = "https://afstg.digitalcornucopia.com"

And neither of the 2 variants works.

Now I was trying to use Canvas Slider with a YouTube video as background because I suppose that this plugin you do keep it updated and when the cover is gone the video loads and stays paused. I have no active sound, I have mute true and volume 0 and nothing.

 <div class = "video-wrap">
                    <div class = "yt-bg-player nomargin"
                         data-quality = "hd1080"
                         data-start = "0"
                         data-stop = "10"
                         data-volume = "0"
                         data-mute = "true"
                         data-autoplay = "true"
                         data-fullscreen = "true"
                         data-video = "https://youtu.be/X2KUUYEbMjY">
                    </div>
  </div>

I need to put yes or yes youtube videos as background in the slider, if you have a suggestion please tell me.

Thanks!

SSemicolon WebSTAFFMay 10, 2021

Hello,

Apologies for the Inconveniences caused!

Any chances you could provide us with a Live URL so that we can check this out? The Live Previews for this Example: http://themes.semicolonweb.com/html/canvas/slider-canvas.html appears to be working perfectly fine for us. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

YyoelacevedoMay 11, 2021

Hello,

Testing the youtube videos in bg in Canvas Slider I found the following:
1 - They only reproduce when I put them after the first slide and I would like to put them on the first slide.
2 - I don't know how to add a cover image.
3 - Sometimes the video hangs and plays again. (even the one in the example they sent)

If I could solve the previous points I would like to see some documentation or example of how I can interact with these videos by JS to be able to Play, Pause, etc.

Thanks!

SSemicolon WebSTAFFMay 12, 2021

Hello,

Thanks for more details on your experience with the Youtube Bg Player on Canvas Swiper Slider.

  1. We have made some improvements in the Codes to ensure that Video plays correctly on First Slides. There is a delay in displaying the Youtube Bg Video but on further tests it appears this is due to the Youtube API and not our codes.

  2. This is not available in the Default Codes in the Package but we have added this option in the Updated Codes. You can use the data-cover-image Attribute on the .yt-bg-player Element to set your Cover Image.

  3. This due to the stopMovieOnBlur Setting set to true which pauses the Video when the Element/Window is not in focus. We have disabled it.

Update the existing js/plugins.min.js File with the new file attached to this reply.

You can find more JS Settings here: https://github.com/pupunzi/jquery.mb.YTPlayer/wiki . To interact with the Active Video, use the following code:
[ch_pre type="js"]$('.swiper-slide-active').find('.yt-bg-player.mb_YTPlayer:not(.customjs)').YTPPlay();[/ch_pre]

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard