[]
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
[up主专用,视频内嵌代码贴在这]
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
记录下我升级 7.2 以后得解决方式:
12345root@syz918:\x7e# ls /usr/local/etc/nginx/sites-enabledserver.pkg-static.Calendar-3924706297.conf server.webstation-vhost.conf webservice_portal_a16487b6-84b9-42dd-aca4-c5c166bd5461server.ReverseProxy.conf webservice_portal_054eea18-9d6d-4681-b9db-aec7d0aad911 webservice_portal_d646bea2-fe42-4618-a39b-e2b35230b5d3server.syno-app-portal.MailClient.conf webservice_portal_34024f1f-1931-48ff-b521-bb6089bf56f1server.webstat ...
仅适用于hexo-theme-anzhiyu,其他请自行测试
打开博客根目录目录 依次打开 /themes/anzhiyu/source/js 里面有一个utils.js 打开它 按ctrl+f搜索 getCustomPlayList: function ()
文件参数是这样的 修改const userId = 你歌单的id 如果想修改歌单音乐服务商就改const userServer = netease或tencent或kugou,或xiami或 baidu 这样访问 /music/接可以了,不用在后面加?id=歌单id&server=音乐服务商



