Fix Power Video player
parent
494dc65fcc
commit
213f391675
|
|
@ -131,7 +131,7 @@ $(document).ready(function(e){
|
|||
chartData.push({
|
||||
group: loadedTableGroupIds[monitorId],
|
||||
content: `<div timeline-video-file="${video.mid}${video.time}">
|
||||
${video.time}
|
||||
${formattedTime(video.time, 'hh:mm:ss AA, DD-MM-YYYY')}
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-danger" role="progressbar" style="width:0%;"><span></span></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ function createVideoLinks(video,options){
|
|||
video.ext = video.href.split('.')
|
||||
video.ext = video.ext[video.ext.length - 1]
|
||||
}
|
||||
video.filename = formattedTimeForFilename(video.time,null,`YYYY-MM-DDTHH-mm-ss`) + '.' + video.ext;
|
||||
video.filename = formattedTimeForFilename(convertTZ(video.time, serverTimezone),null,`YYYY-MM-DDTHH-mm-ss`) + '.' + video.ext;
|
||||
var href = getApiPrefix('videos') + '/'+video.mid+'/'+video.filename;
|
||||
video.actionUrl = href
|
||||
video.links = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue