fix error
This commit is contained in:
parent
4b940daec0
commit
f257f24bd0
|
@ -43,6 +43,8 @@ en:
|
||||||
pause: Pause
|
pause: Pause
|
||||||
prev: Prev
|
prev: Prev
|
||||||
next: Next
|
next: Next
|
||||||
|
muted: Muted
|
||||||
|
unmuted: Unmuted
|
||||||
video: Video
|
video: Video
|
||||||
new_image: New Image or Video
|
new_image: New Image or Video
|
||||||
youtube: youtube embed URL
|
youtube: youtube embed URL
|
||||||
|
|
|
@ -40,6 +40,8 @@ zh_tw:
|
||||||
pause: 暫停播放
|
pause: 暫停播放
|
||||||
prev: 上一張
|
prev: 上一張
|
||||||
next: 下一張
|
next: 下一張
|
||||||
|
muted: 靜音
|
||||||
|
unmuted: 取消靜音
|
||||||
video: 影片
|
video: 影片
|
||||||
new_image: 新增圖片 或 影片
|
new_image: 新增圖片 或 影片
|
||||||
youtube: youtube網址嵌入
|
youtube: youtube網址嵌入
|
||||||
|
|
|
@ -32,10 +32,10 @@
|
||||||
<div class="w-ad-banner__pager-1 w-ba-banner__caption banner-pager banner_caption_{{subpart-id}}" data-list="images" data-level="0">
|
<div class="w-ad-banner__pager-1 w-ba-banner__caption banner-pager banner_caption_{{subpart-id}}" data-list="images" data-level="0">
|
||||||
<li><button title="Slide {{slide_number}}"><span style="display: none;">Slide {{slide_number}}</span></button></li>
|
<li><button title="Slide {{slide_number}}"><span style="display: none;">Slide {{slide_number}}</span></button></li>
|
||||||
</div>
|
</div>
|
||||||
<ul class="controlplay"><a href="javascript:;" class="resume-slide active" title="<%= I18n.t("resume") %>"><i aria-hidden="true" aria-label="<%= I18n.t("resume") %>"></i></a><a href="javascript:;" class="pause-slide" title="<%= I18n.t("pause") %>"><i aria-hidden="true" aria-label="<%= I18n.t("pause") %>"></i></a></ul>
|
<ul class="controlplay"><a href="javascript:;" class="resume-slide active" title="<%= I18n.t("ad_banner.resume") %>"><i aria-hidden="true" aria-label="<%= I18n.t("ad_banner.resume") %>"></i></a><a href="javascript:;" class="pause-slide" title="<%= I18n.t("ad_banner.pause") %>"><i aria-hidden="true" aria-label="<%= I18n.t("ad_banner.pause") %>"></i></a></ul>
|
||||||
<ul class="button-mid">
|
<ul class="button-mid">
|
||||||
<i class="fa fa-angle-left prev-button" aria-hidden="true" aria-label="<%= I18n.t("prev") %>"></i>
|
<i class="fa fa-angle-left prev-button" aria-hidden="true" aria-label="<%= I18n.t("ad_banner.prev") %>"></i>
|
||||||
<i class="fa fa-angle-right next-button" aria-hidden="true" aria-label="<%= I18n.t("next") %>"></i>
|
<i class="fa fa-angle-right next-button" aria-hidden="true" aria-label="<%= I18n.t("ad_banner.next") %>"></i>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
data-cycle-timeout="{{timeout}}"
|
data-cycle-timeout="{{timeout}}"
|
||||||
data-cycle-fx="{{ad_fx}}"
|
data-cycle-fx="{{ad_fx}}"
|
||||||
data-pager=".banner_caption_{{subpart-id}}"
|
data-pager=".banner_caption_{{subpart-id}}"
|
||||||
data-pager-template="<li><button></button></li>"
|
data-pager-template="<li><button title='pager'></button></li>"
|
||||||
data-pager-active-class="active-slide"
|
data-pager-active-class="active-slide"
|
||||||
data-cycle-youtube="true"
|
data-cycle-youtube="true"
|
||||||
data-cycle-youtube-autostart="false"
|
data-cycle-youtube-autostart="false"
|
||||||
|
@ -26,10 +26,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="ad-overlay w-ad-banner__overlay_{{subpart-id}}"></div>
|
<div class="ad-overlay w-ad-banner__overlay_{{subpart-id}}"></div>
|
||||||
<div class="w-ba-banner__caption w-ad-banner__pager-2 banner-pager banner_caption_{{subpart-id}}"></div>
|
<div class="w-ba-banner__caption w-ad-banner__pager-2 banner-pager banner_caption_{{subpart-id}}"></div>
|
||||||
<ul class="controlplay"><a href="javascript:;" class="resume-slide active" title="<%= I18n.t("resume") %>"><i aria-hidden="true" aria-label="<%= I18n.t("resume") %>"></i></a><a href="javascript:;" class="pause-slide" title="<%= I18n.t("pause") %>"><i aria-hidden="true" aria-label="<%= I18n.t("pause") %>"></i></a></ul>
|
<ul class="controlplay"><a href="javascript:;" class="resume-slide active" title="<%= I18n.t("ad_banner.resume") %>"><i aria-hidden="true" aria-label="<%= I18n.t("ad_banner.resume") %>"></i></a><a href="javascript:;" class="pause-slide" title="<%= I18n.t("ad_banner.pause") %>"><i aria-hidden="true" aria-label="<%= I18n.t("ad_banner.pause") %>"></i></a></ul>
|
||||||
<ul class="button-mid">
|
<ul class="button-mid">
|
||||||
<i class="fa fa-angle-left prev-button" aria-hidden="true" aria-label="<%= I18n.t("prev") %>"></i>
|
<i class="fa fa-angle-left prev-button" aria-hidden="true" aria-label="<%= I18n.t("ad_banner.prev") %>"></i>
|
||||||
<i class="fa fa-angle-right next-button" aria-hidden="true" aria-label="<%= I18n.t("next") %>"></i>
|
<i class="fa fa-angle-right next-button" aria-hidden="true" aria-label="<%= I18n.t("ad_banner.next") %>"></i>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,9 +46,9 @@
|
||||||
}else{
|
}else{
|
||||||
var audio_div;
|
var audio_div;
|
||||||
if ($self.hasClass('have-audio')){
|
if ($self.hasClass('have-audio')){
|
||||||
audio_div = $('<button class="jarallax-video-audio"><i class="fas fa-volume-up"></i></button>');
|
audio_div = $('<button title="<%= I18n.t("ad_banner.muted") %>" class="jarallax-video-audio"><i class="fas fa-volume-up"></i></button>');
|
||||||
}else{
|
}else{
|
||||||
audio_div = $('<button class="jarallax-video-audio"><i class="fas fa-volume-mute"></i></button>');
|
audio_div = $('<button title="<%= I18n.t("ad_banner.unmuted") %>" class="jarallax-video-audio"><i class="fas fa-volume-mute"></i></button>');
|
||||||
}
|
}
|
||||||
audio_div.click(function(event) {
|
audio_div.click(function(event) {
|
||||||
var currentTime = new Date();
|
var currentTime = new Date();
|
||||||
|
|
Loading…
Reference in New Issue