请教这种内嵌div怎么用js实现?
程序代码:
<div class="container-fluid" style="margin-top: 0px"> <div class="videolist" vpath="images/backgroud.png" ipath="文本字符串"> <div class="vtit">文本字符串</div> <video id="video"preload=Metadata width="480"height="272"controls="controls"loop="loop"> <source src="Views/视频文件.mp4"type="video/mp4"/ </video> </div> </div> </div>
请教这种怎么用js实现?