|
|
|
@ -680,10 +680,10 @@ if ($('#my-player').length > 0 && typeof(videojs) != 'undefined') {
@@ -680,10 +680,10 @@ if ($('#my-player').length > 0 && typeof(videojs) != 'undefined') {
|
|
|
|
|
|
|
|
|
|
for (var index in videos) { |
|
|
|
|
if (videos[index].id == ignoreId) {continue;} |
|
|
|
|
tmp = template.replace('{videoUrl}', getVideoUrl(videos[index].id, videos[index].path)); |
|
|
|
|
tmp = tmp.replaceAll('{title}', videos[index].filename); |
|
|
|
|
tmp = tmp.replaceAll('{videoId}', videos[index].id); |
|
|
|
|
tmp = tmp.replaceAll('{videoPath}', videos[index].path); |
|
|
|
|
tmp = template.replace(/\{videoUrl\}/ig, getVideoUrl(videos[index].id, videos[index].path)); |
|
|
|
|
tmp = tmp.replace(/\{title\}/ig, videos[index].filename); |
|
|
|
|
tmp = tmp.replace(/\{videoId\}/ig, videos[index].id); |
|
|
|
|
tmp = tmp.replace(/\{videoPath\}/ig, videos[index].path); |
|
|
|
|
|
|
|
|
|
html += tmp; |
|
|
|
|
} |
|
|
|
|