javascript - angularjs video upload with thumbnail -
i have tried creating directives is not working please if have please share video upload thumbnail code possible , thank u in advance
angular .module('chotamangoadmin') .directive('fileupload', filemodel); filemodel.$inject = [ '$parse' ]; ngthumb.$inject = ['$window']; function filemodel($parse) { return { scope:true, //create new scope link: function(scope, element, attrs) { element.bind('change', function(event){ var files = event.target.files; console.log(files.length); scope.$emit("fileselected", { images: files }); }); } }; }
jquery file upload demo angularjs version
file upload widget multiple file selection, drag&drop support, progress bars, validation , preview images, audio , video angularjs. supports cross-domain, chunked , resumable file uploads , client-side image resizing.
works server-side platform (php, python, ruby on rails, java, node.js, go etc.) supports standard html form file uploads.
Comments
Post a Comment