0
我在煩我引用<object>
jQuery的參考<object>
這是我有:
<div id="videoHolder1" style="display: none;">
<object id="video1" data="http://vimeo.com/..." type="application/x-shockwave-flash">
<param name="data" value="http://vimeo.com/..." />
<param name="src" value="http://vimeo.com/..." />
<param name="wmode" value="opaque" />
<param name="allowscriptaccess" value="always" />
</object>
</div>
我已經試過這些:
alert($(".video1 embed").attr('src')); // undefined
alert($("#video1").attr('src')); // undefined
alert($("#video1").get(0).attr('src')); // undefined