我试过但脚本代码看起来像
<script>// <![CDATA[
$(function() {
if($("#bigframe").length>0){
vartitle=$(".single-post-title").text();
$("#titlevid").text(title);
var bigvideo = $("#bigframe").attr("src");
var videotag = '<iframe src="'+bigvideo+'"id="covervideo" frameborder="0"></iframe>';
$(videotag).appendTo("#myvideo");
$("#bigframe").remove();
}
else {
$("#myvideo").remove();
}
});// ]]></script>
网站在http://www.ytclips.in/2015/01/uttama-villain-kamal-haasan.html
我已经使用博客中的css将帧中心调整为左侧
任何人都可以帮助我将adsense添加到该播放器的右侧
博客模板在这里.. https://drive.google.com/file/d/0ByvUiH6qnOlJUXdOaVp6VHpjRUE/edit
答案 0 :(得分:0)
你在脚本中有一个脚本:
<script type='text/javascript'>
//<![CDATA[
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- responsive2 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7144942111468669"
data-ad-slot="3183216109"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
//]]>
</script>
将此代码编辑为:
<script>//<![CDATA[</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- responsive2 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7144942111468669"
data-ad-slot="3183216109"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
//]]>
</script>
应显示广告。