Video Editor using AngularJS

I just need to edit a video in my website with crop a video and add text. What method/library can I use? My website using HTML,CSS and AngularJS.

Anyone can advise. Ty so much

1 answer

  • answered 2018-02-13 03:44 Глеб Шалтаев

    FROM YouTube

    If you want play video from YouTube, than you can use: angular module: ng-youtube-embed

    CDN Link (2018-02 ✓): https://cdn.jsdelivr.net/npm/ng-youtube-embed@1.7.11/build/ng-youtube-embed.min.js

    or npm: npm install ng-youtube-embed --save

    angular dependency:

    var myApp = angular.module('myApp', ['ngYoutubeEmbed']);
    

    html part:

    <ng-youtube-embed 
        video="video-id-here" 
        autoplay="true"
        color="white"
        disablekb="true"
        end="20">
    </ng-youtube-embed>
    

    js controller:

    myApp.controller('myCtrl', ['$scope', function($scope) {
        $scope.video-id-here = 'https://www.youtube.com/watch?v=something-valid';
    }]);
    

    You should change video-id-here in html and controller to same id, if you have more then one video on page.

    And change youtube link to valid youtube video page.

    etc (tl;td)...

    or for html5 and more angular module: videogular