change vimeo video to an embed facebook video

1 reply · opened Apr 10, 2019

BbladerogersApr 10, 2019

using the cafe theme, I am trying to make the revolution slider work with a facebook embedded video and can't figure out how to do it. At current the following code is in place:

<!-- LAYER NR. 10 -->
<div class="tp-caption tp-resizeme tp-videolayer" data-autoplay="off" data-end="bytrigger" data-hoffset="['0','0','0','0']" data-lasttriggerstate="reset" data-responsive_offset="on" data-start="bytrigger" data-transform_idle="o:1;" data-transform_in="z:0;rX:0;rY:0;rZ:0;sX:0.9;sY:0.9;skX:0;skY:0;opacity:0;s:1500;e:Power3.easeInOut;" data-transform_out="auto:auto;s:300;" data-videoattributes="title=0&byline=0&portrait=0&api=1" data-videoheight="['540px','405px','270px','203px']" data-videoloop="none" data-videowidth="['960px','720px','480px','360px']" data-vimeoid="142874198" data-voffset="['0','0','0','0']" data-volume="100" data-whitespace="nowrap" data-x="['center','center','center','center']" data-y="['middle','middle','middle','middle']" id="slide-898-layer-15" style="z-index: 14;"></div>

However, I wish to instead load an embedded facebook video when PLAY VIDEO is clicked. The embed code from facebook is as follows:

<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Fprairiepulling%2Fvideos%2F306497463356661%2F&show_text=0&width=560" width="560" height="315" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>

I am unaware of any div properties for facebook ID like this has for vimeoid. Any suggestions??

thanks!

SSemicolon WebSTAFFApr 10, 2019

Hello,

Unfortunately, Facebook Videos are not supported with the Revolution Sliders. Currently, you can only use Youtube/Vimeo and HTML5 Videos in the Layers: https://www.themepunch.com/revsliderjquery-doc/layer-content/#vimeo .

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