如何在特定的Wiki页面中添加标签?我知道这可能在Common.js或标头中包含广泛的js。但我需要在页面源代码中嵌入视频。怎么可能?标签是这个:
<div id="15897897929"><script type="text/JavaScript" src="https://www.aparat.com/embed/19bwT?data[rnddiv]=15897897929&data[responsive]=yes"></script></div>
Mediawiki具有EmbedVideo扩展名,但不支持此aparat服务。有什么办法可以将视频链接作为js嵌入到Wiki页面中?
aparat,或者也提供iframe。如果无法在页面中包含上述脚本,那么如何在Wiki页面中包含此iframe?
<style>.h_iframe-aparat_embed_frame{position:relative;}.h_iframe-aparat_embed_frame .ratio{display:block;width:100%;height:auto;}.h_iframe-aparat_embed_frame iframe{position:absolute;top:0;left:0;width:100%;height:100%;}</style><div class="h_iframe-aparat_embed_frame"><span style="display: block;padding-top: 57%"></span><iframe src="https://www.aparat.com/video/video/embed/videohash/19bwT/vt/frame" allowFullScreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe></div>