#player-fluid下source节点如何选到最后一个

求助
获赞:2    评论:2    查看:507
<video id="player-fluid" controls preload="none" poster="/media/videos/tmb/000/000/656/player.jpg">   <source src="https://www.xuexiwang.com/filev.php?id=656&amp;file_id=1619&amp;server=2&amp;hash=0f93b8bf629f57d9d76c&amp;expire=1621558102&amp;file=/mp4/656_480p.mp4" type="video/mp4" title="480p">   <source src="https://www.xuexiwang.com/filev.php?id=656&amp;file_id=1620&amp;server=2&amp;hash=a824bf96948d5a805c1e&amp;expire=1621558102&amp;file=/mp4/656_720p.mp4" type="video/mp4" title="720p">   <p class="text-center">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video!</a></p>  </video> 

不同视频可选清晰度不一样,有的有 3 种可选,有的有 2 种,#player-fluid&&source 只能选到第一个,怎么写能选最后也是最清晰那个?请各位大佬发功。

Yurnero
七彩人生
回复(2)
发表话题
  • 积分
    31
  • 注册排名
    3933