|
@@ -26,6 +26,11 @@ app.controller('cutCtrl', function ($scope, $http,video,notify) {
|
|
|
var video = document.getElementById("video");
|
|
var video = document.getElementById("video");
|
|
|
return video.currentTime;
|
|
return video.currentTime;
|
|
|
}
|
|
}
|
|
|
|
|
+ $scope.changeTime = function(t) {
|
|
|
|
|
+ if (t === undefined) return;
|
|
|
|
|
+ var video = document.getElementById("video");
|
|
|
|
|
+ video.currentTime=video.currentTime+t;
|
|
|
|
|
+ }
|
|
|
$scope.setEnd = function() {
|
|
$scope.setEnd = function() {
|
|
|
$scope.fin=getVideoTime();
|
|
$scope.fin=getVideoTime();
|
|
|
};
|
|
};
|