同步本地视频的标题

This commit is contained in:
Harvey committed 2019-11-15 12:03:47 +08:00
1 parent 04ea075cc4
commit ef5558e2d3
3 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -4125,7 +4125,8 @@
function localVideo(art) {
var proxy = art.events.proxy,
template = art.template,
player = art.player;
player = art.player,
option = art.option;
function loadVideo(file) {
if (file) {
@@ -4133,6 +4134,7 @@
if (canPlayType === 'maybe' || canPlayType === 'probably') {
var url = URL.createObjectURL(file);
option.title = file.name;
player.switchUrl(url, file.name);
} else {
errorHandle(false, 'Playback of this file format is not supported');