angularjs - Video in preview mode from backend response -


i have done video in view mode source available file extesnsion using igniteui-directives . samething if trying response server getting video format not supported. need assistance or anyother method view response video in preview or play mode.

code :

    <script src="http://igniteui.com/js/modernizr.min.js"></script> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script> <script src="http://igniteui.com/js/angular.min.js"></script> <script src="http://cdn-na.infragistics.com/igniteui/latest/js/infragistics.core.js"></script> <script src="http://cdn-na.infragistics.com/igniteui/latest/js/infragistics.lob.js"></script> <script src="http://cdn-na.infragistics.com/igniteui/latest/js/extensions/igniteui-angular.js"></script> <link href="http://cdn-na.infragistics.com/igniteui/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet"></link> <link href="http://cdn-na.infragistics.com/igniteui/latest/css/structure/infragistics.css" rel="stylesheet"></link>  <div ng-app="sampleapp">         <ig-video-player id="video1" width="700px" height="400px">             <sources>                 <source>http://dl.infragistics.com/pg/2011-1/web/shared/videoplayer/videos/infragistics_presentation_lowres_1.h264.mp4</source>   <!--this works fine-->                 <source>http://192.168.0.118:8080/groupzfs/download?id=12</source>   <!--this't doesn works , backend response->              </sources>         </ig-video-player>     </div> 

js:

$(function () { var sampleapp = angular.module('sampleapp', ['igniteui-directives']); }); 

backend response url : http://192.168.0.118:8080/groupzfs/upload

http://192.168.0.118:8080/groupzfs/download?id=12

my plunker : http://jsfiddle.net/u7zm4r82/9/


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -