在Blog挂载Bilibili视频哟!
效果查看:http://blog.diego.plus:2000/archives/315/

先上CSS

/*视频挂载*/

.iframe_video {
    position: relative;
    width: 100%;
}

@media only screen and (max-width: 767px) {
    .iframe_video {
        height: 15em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .iframe_video {
        height: 20em;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .iframe_video {
        height: 30em;
    }
}

@media only screen and (min-width: 1200px) {
    .iframe_video {
        height: 40em;
    }
}

.iframe_cross {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%
}

.iframe_cross iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0
}
  • 具体添加方式:自定义CSS中粘贴
  • Cuckoo添加方式:将CSS复制到Cuckoo/assets/css/cuckoo.min.css中即可

在B站视频找到嵌入代码然后复制
536144707.png
添加class="iframe_video"

<iframe class="iframe_video" src="//player.bilibili.com/player.html?aid=752860673&bvid=BV1Dk4y1R7yF&cid=180022793&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

此样式由[@iBoy](http://120.79.194.69/)提供