好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

angular 播放视频

  html  :  <embed embed-src="..."> 

app.directive( 'embedSrc', function () { return { restrict: 'A', link: function (scope, element, attrs) { var current = element; scope. $watch( function () { return attrs.embedSrc; }, function () { var clone = element . clone() .attr( 'src', attrs.embedSrc); current.replaceWith( clone); current = clone; }); } }; })

查看更多关于angular 播放视频的详细内容...

  阅读:33次