Thyj
Thyj留言 | 贡献
HW
HW留言 | 贡献
 
(未显示同一用户的4个中间版本)
第12行: 第12行:
<div class="bilibili-player-link">'''[https://www.youtube.com/watch?v={{{YTID}}}&t={{{YTStart|0}}}s&list={{{YTPlaylist|}}} {{{YT标题|YouTube视频}}}] '''</div>
<div class="bilibili-player-link">'''[https://www.youtube.com/watch?v={{{YTID}}}&t={{{YTStart|0}}}s&list={{{YTPlaylist|}}} {{{YT标题|YouTube视频}}}] '''</div>
<div class="iframe-container">
<div class="iframe-container">
<htmltag tagname="iframe" class="iframe_video" src="//www.youtube.com/embed/{{{YTID}}}?start={{{YTStart|0}}}&list={{{YTPlaylist|}}}&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag>
<htmltag tagname="iframe" class="iframe_video" src="//www.youtube-nocookie.com/embed/{{{YTID}}}?start={{{YTStart|0}}}&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag>
</div>
</div>
</tabber>
</tabber>
第25行: 第25行:
<div class="bilibili-player-link">'''[https://www.youtube.com/watch?v={{{YTID}}}&t={{{YTStart|0}}}s&list={{{YTPlaylist|}}} {{{标题|YouTube视频}}}] '''</div>
<div class="bilibili-player-link">'''[https://www.youtube.com/watch?v={{{YTID}}}&t={{{YTStart|0}}}s&list={{{YTPlaylist|}}} {{{标题|YouTube视频}}}] '''</div>
<div class="iframe-container">
<div class="iframe-container">
<htmltag tagname="iframe" class="iframe_video" src="//www.youtube.com/embed/{{{YTID}}}?start={{{YTStart|0}}}&list={{{YTPlaylist|}}}&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag>
<htmltag tagname="iframe" class="iframe_video" src="//www.youtube-nocookie.com/embed/{{{YTID}}}?start={{{YTStart|0}}}&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag>
</div>
</div>


第34行: 第34行:


{{#css:
{{#css:
/* 通用链接样式(B站/YouTube通用) */
 
.bilibili-player-link {
.bilibili-player-link {
     text-align: center;
     text-align: center;
第48行: 第48行:
}
}


/* 视频容器样式(通用) */
.include-video {
.include-video {
margin: 0 auto;
    margin: 0 auto;
    overflow: hidden;
}
}


第58行: 第58行:
     width: 100%;
     width: 100%;
     height: 0;
     height: 0;
     padding-bottom: 75%;
     padding-bottom: 56.25%;
     margin: 0 auto;
     margin: 0 auto;
}
}
第64行: 第64行:
     position: absolute;
     position: absolute;
     width: 100%;
     width: 100%;
     height:60%;
     height: 100%;
     left: 0;
     left: 0;
     top: 0;
     top: 0;
}
}


/* 响应式适配 */
@media only screen and (max-width: 767px) {
@media only screen and (max-width: 767px) {
     .iframe-container {
     .iframe-container {
         padding-bottom: 65%;
         padding-bottom: 56.25%;
     }
     }
}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
@media only screen and (min-width: 768px) and (max-width: 991px) {
     .iframe-container {
     .iframe-container {
         padding-bottom: 70%;
         padding-bottom: 56.25%;
     }
     }
}
}
第104行: 第103行:
     color: #fff;
     color: #fff;
}
}
/* 隐藏默认的标签下划线 */
.tabberneue > ul > li.tabberneue-active > a {
.tabberneue > ul > li.tabberneue-active > a {
     border-bottom: none;
     border-bottom: none;
}
}
}}
}}


第131行: 第130行:
|YT标题=视频标题
|YT标题=视频标题
|YTStart=开始秒数(可选,默认0)
|YTStart=开始秒数(可选,默认0)
|YTPlaylist=播放列表ID(可选,对应分P)
}}
}}
</nowiki>
</nowiki>
第147行: 第145行:
|时间=B站开始秒数(可选)
|时间=B站开始秒数(可选)
|YTStart=YouTube开始秒数(可选)
|YTStart=YouTube开始秒数(可选)
|YTPlaylist=YouTube播放列表(可选)
}}
}}
</nowiki>
</nowiki>
</pre>
</pre>
</noinclude>
</noinclude>