「Widget:BilibiliVideo」の版間の差分
300行目: | 300行目: | ||
iframeContainer.toggle(); | iframeContainer.toggle(); | ||
if (selfbox.hasClass('onshow')) { | if (selfbox.hasClass('onshow')) { | ||
− | |||
− | |||
− | |||
$(this).text(window.widget.bilibili.i18n[i18nkey].hideVideo); | $(this).text(window.widget.bilibili.i18n[i18nkey].hideVideo); | ||
if (iframe.data('ready') === true) iframe.execAppend(); | if (iframe.data('ready') === true) iframe.execAppend(); | ||
$(window).resize(); | $(window).resize(); | ||
+ | } else { | ||
+ | $(this).text(window.widget.bilibili.i18n[i18nkey].showVideo); | ||
+ | selfbox.removeAttr('style'); | ||
} | } | ||
}); | }); |
2017年12月31日 (日) 14:12時点における版
Name: Bilibili Video Plugin
Author: 加大号的猫
Revised: Boxsnake
Re-revised: AnnAngela
Re-re-revised for HTML5: AnnAngela
Copyright agreement: MIT
Mobile support: XYZ指示物
Release date: 1st version on 2012/06/29, 2nd versionon on 2015/02/06, major update on 2016/11/29, HTML5 version on 2017/04/10
Release at: zh.moegirl.org/Widget:BilibiliVideo && zh.moegirl.org/Template:BilibiliVideo
Note: If there are any questions, please contact the author.
THIS WIDGET CAN NOT BE USED ALONE, PLEASE USE {{BilibiliVideo}}!