如何获取flashvars
属性的值?
<div>
<embed height="360"
src="//www.youtube.com/get_player?enablejsapi=1"
type="application/x-shockwave-flash"
width="100%"
allowfullscreen="true"
allowscriptaccess="always"
bgcolor="#fff"
scale="noScale"
wmode="opaque"
flashvars="fmt_list=34%2F640x336%2F9%2F0%2F115%2C5%2F426x224%2F7%2F0%2F0&fmt_stream_map=34%7Chttp%3A%2F%2Fredirector.googlevideo.com%2Fvideoplayback%3Fid%3Da067d9378dddd818%26itag%3D34%26source%3Dpicasa%26cmo%....">
</embed>
</div>
我getElementsByTagName
用来获取元素
var codedLink = content.document.getElementsByTagName('embed');
但是当我尝试时,codedLink.flashvars
我变得不确定。