为了账号安全,请及时绑定邮箱和手机立即绑定

angular能够获取视频和音频地址,但是不能播放,怎么解决?

angular能够获取视频和音频地址,但是不能播放,怎么解决?

慕工程0101907 2018-09-05 13:14:04
使用angular渲染页面时,能够获取`页面html<div class="other">    <img  ng-bind-template="{{store.sub[index].attachment}}" ng-src="{{store.sub[index].attachment|trustAsResourceUrl}}" class="image"/>    <video  width='100%' height="auto" class="video" controls="controls" autoplay="autoplay">        <source  ng-bind-template="{{store.sub[index].attachment}}" ng-src="{{store.sub[index].attachment|trustAsResourceUrl}}">    </video>    <audio class="audio" width='100%' height="auto" controls="controls" autoplay="autoplay" >        <source  ng-bind-template="{{store.sub[index].attachment}}" ng-src="{{store.sub[index].attachment|trustAsResourceUrl}}">    </audio>`</div>能够获取到的url地址![图片描述][1]
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1378 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信