<md-dialog> <form ng-clock> <md-toolbar> <div class='md-toolbar-tools'> <h2><swaplang code="SW013234">Upload Video</swaplang></h2> <span flex></span> <md-button ng-click='close()'> <i class='fa fa-times'></i> </md-button> </div> </md-toolbar> <md-dialog-content> <div class='row'> <div class='col-xs-12 col-sm-12 col-md-12'> <md-input-container class='md-block fullwidth'> <label class='control-label'>url video</label> <input type='text' ng-model='uploadobj.video.inputvideo' ng-blur='previewVideo()'/> </md-input-container> </div> </div> <div class='row' ng-if='uploadobj.video.previewstatus'> <div class='col-xs-12 col-sm-12 col-md-12'> <center> <iframe class='video-preview' ng-src='{{ uploadobj.video.videolink }}' frameborder='0' allowfullscreen></iframe> <!-- <iframe class='video-preview' src='https://www.youtube.com/embed/H3samZDs0ak' frameborder='0' allowfullscreen></iframe> --> </center> </div> </div> <div class='row'> <div class='col-xs-12 col-sm-12 col-md-12'> <center> <!-- <a class='btn btn-primary' ng-click='checkValue()'><i class='fa fa-upload'></i></a> <a class='btn btn-primary'><i class='fa fa-trash-o'></i></a> --> </center> </div> </div> </md-dialog-content> </form> </md-dialog>