Fix bug.
This commit is contained in:
parent
71917f80ae
commit
7b9727c501
|
@ -161,7 +161,7 @@ class AdBannersController < ApplicationController
|
||||||
"timeout" => (adbanner.timeout * 1000),
|
"timeout" => (adbanner.timeout * 1000),
|
||||||
"more" => "More",
|
"more" => "More",
|
||||||
"desc" => adbanner.title,
|
"desc" => adbanner.title,
|
||||||
"extra_brefore_html" => extra_before_html,
|
"extra_before_html" => extra_before_html,
|
||||||
"extra_after_html" => extra_after_html,
|
"extra_after_html" => extra_after_html,
|
||||||
"extra_ready_script" => "if (i == 0 && banner_wrap.find('.w-ad-banner__slide').index($(iframe).parents('.w-ad-banner__slide').eq(0))==0 && banner_wrap.find('[data-autoplay=1]').length != 0){
|
"extra_ready_script" => "if (i == 0 && banner_wrap.find('.w-ad-banner__slide').index($(iframe).parents('.w-ad-banner__slide').eq(0))==0 && banner_wrap.find('[data-autoplay=1]').length != 0){
|
||||||
event.target.mute().playVideo();
|
event.target.mute().playVideo();
|
||||||
|
|
Loading…
Reference in New Issue