1 回答

TA貢獻(xiàn)1943條經(jīng)驗(yàn) 獲得超7個(gè)贊
代碼缺少一個(gè)"接近尾聲
$('.entry-body').each(function() {
var hplink = ($(this).find('.entry-title').find("a").prop('href'));
if (hplink.toLowerCase().match(/\.(webm)/g)) {
$(this).find('.entry-byline').after('<div class="beforeembed"></div><div class="hpembed hpembedMW"><video controls><source src="'+hplink+'" type="video/webm" codecs="vp8, vorbis" style="width: 100%; height: auto;"></video></div>');
}
alert(hplink);
});
在“高度:自動(dòng);”之后
添加回答
舉報(bào)