-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtemplates.tmp
1 lines (1 loc) · 2.99 KB
/
templates.tmp
1
angular.module("ng-youtube-upload").run(["$templateCache", function($templateCache) {$templateCache.put("/templates/ng_youtube_upload.html","<div class=\"post-sign-in\">\r\n <div>\r\n <div class=\'row\' style=\"padding-top: 15px;\">\r\n <div class =\'col-md-12\'>\r\n <div class=\"form-group drop-box\" style=\"padding-top: 10px;height:100px;\"\r\n ngf-drop\r\n data-ng-model=\"videoFiles\"\r\n ngf-accept=\"\'video/*\'\"\r\n ngf-drag-over-class=\"dragover\"\r\n ngf-multiple=\"false\"\r\n >\r\n <p>Choose a video from your computer: .MOV, .MPEG4, MP4, .AVI, .WMV, .MPEGPS, .FLV, 3GPP, WebM</p>\r\n </div>\r\n <div ngf-no-file-drop>File Drag/drop is not supported</div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"btn-group-vertical\">\r\n <div class=\"input-group\">\r\n <span class=\"input-group-btn\">\r\n <span class=\"btn btn-primary btn-file\" >\r\n <span class=\"glyphicon glyphicon-folder-open\"></span> Browse <input type=\"file\" id=\"file\" class=\"file\" accept=\"video/*\" onchange=\"angular.element(this).scope().fileNameChanged(this)\">\r\n </span>\r\n </span>\r\n <input type=\"text\" name=\"videoName\" class=\"form-control\" readonly value=\"{{videoName}}\">\r\n </div>\r\n <button type=\"button\" id=\"uploadButton\" class=\"btn btn-success\" ng-disabled=\"videoName == \'\'\"><span class=\"glyphicon glyphicon-upload\"></span> Upload Video</button>\r\n </div>\r\n\r\n <div class=\"during-upload\">\r\n <div class=\"progress\">\r\n <div id=\"transferred\" class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"{{progress.percentTransferred}}\"\r\n aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:100%\">\r\n {{progress.percentTransferred}}% Complete (success)\r\n </div>\r\n </div>\r\n\r\n <div align=\"center\" class=\"embed-responsive embed-responsive-16by9\">\r\n <video controls ngf-src=\"videoFile\" ngf-accept=\"\'video/*\'\"></video>\r\n </div>\r\n </div>\r\n <p><small id=\"disclaimer\">* By uploading a video, you certify that you own all rights to the content or that you are\r\n authorized by the owner to make the content publicly available on YouTube, and that it otherwise complies\r\n with the YouTube Terms of Service located at <a href=\"http://www.youtube.com/t/terms\" target=\"_blank\">http://www.youtube.com/t/terms</a>\r\n </small></p>\r\n </div>\r\n\r\n <script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js\"></script>\r\n <script src=\"//apis.google.com/js/client:plusone.js\"></script>\r\n</div>");}]);