fix data-aksrt-video 属性
This commit is contained in:
1 parent
5a61e68a8c
commit
5fbcfa2b49
3 files changed
+27
-1
No files matched your search
@@ -35,7 +35,9 @@
|
||||
}
|
||||
|
||||
function initVideo(el) {
|
||||
if (!once(el, 'Video')) return;
|
||||
// 幂等标记落在 data-aksrt-widget-video;data-aksrt-video 是
|
||||
// AksrtVideoPlayer 的自动初始化契约,被扫到会在容器里再挂一个无源播放器。
|
||||
if (!once(el, 'WidgetVideo')) return;
|
||||
var fallback = el.querySelector('video');
|
||||
if (fallback) {
|
||||
fallback.addEventListener('error', function () {
|
||||
|
||||
Reference in new issue
Block a user