Paste di dalam <head> (pilih diantara <head> sampai dengan </head>)
<style type='text/css'>
.comment_body iframe {
width: 100%!important;
height: 400px;
}
@media screen and (max-width:960px) {
.comment_body iframe {
max-height: 90%
}
}
@media screen and (max-width:768px) {
.comment_body iframe {
max-height: 75%
}
}
@media screen and (max-width:600px) {
.comment_body iframe {
max-height: 60%
}
}
@media screen and (max-width:480px) {
.comment_body iframe {
height: auto!important;
max-height: auto!important
}
}
</style>
Paste di atas </body> (didalam body)
<script type='text/javascript'>
//<\[\/iframe\]/gi, "<iframe width='420' height='315' src='$1' frameborder='0'></iframe>")), $('iframe.video:not([src*="youtube.com/embed"])').removeAttr("src").css("background", "#900 url(error.png) no-repeat 50% 50%")
}), $("#comments p, #comments dd").each(function () {
$('b[rel^="h"]', this).nextAll().filter("br").remove(), $('i[rel="pre"]', this).replaceWith(function () {
return $("<pre></pre>").append($(this).contents())
}), $('i[rel="image"]', this).replaceWith(function () {
return $("<img />").attr("src", $(this).text())
}), $('b[rel="h3"]', this).replaceWith(function () {
return $("<h3></h3>").append($(this).contents())
}), $('b[rel="quote"]', this).replaceWith(function () {
return $("<blockquote></blockquote>").append($(this).contents())
}), $('i[rel="code"]', this).contents().unwrap().wrap("<code></code>")
});
//]]>
</script>
Menyisipkan Kode : <i rel="code">Kode Anda</i> atau <i rel="pre">Kode Anda</i> Judul : <b rel="h3">Judul Anda.</b> Catatan : <b rel="quote">Catatan.</b> Gambar : <i rel="image">Masukan URL Image Kalian Disini</i> Video : [iframe]Masukan Url Embed Video Anda Disini[/iframe]




0 comments:
Posting Komentar