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.

see demo

download source code github


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -