Showing: 1 - 4 of 4 Articles

Video height issue when set src from local storage

Hi, When you set video src from local storage, then please don’t load again that video tag. see below example for reference. $(‘#my-video’).html(”); var srcPath = cordova.file.documentsDirectory + FileName; $(‘#my-video’).html(‘<source src=’+srcPath+’ type=”video/mp4″></source>’ ); $(‘#my-video’).load(); so you need to remove last line, then your code would …

How to display ticking clock with differnce time from specific time (hours , minutes and seconds) in AngularJS?

Directive code : app.directive(‘clock’, [‘dateFilter’, ‘$timeout’, function (dateFilter, $timeout) { return { restrict: ‘E’, scope: { format: ‘@’, }, link: function (scope, element, attrs) { var updateTime = function () { //GET UTC DATE TIME BY USING MOMENT JS var now = moment(new Date()).utc().format(‘YYYY-MM-DD HH:mm:ss’) …