Accordion

FAQ

您可以直接引用播放器代码到您的网站任何需要放置视频的地方

调用接口:

https://player.mozixi.com/player/?url=

如:https://player.mozixi.com/player/?url=你的视频地址这样就可以播放视频了。

几乎支持所有格式视频

你可以复制这段代码到你想要放置视频的即可,此代码是固定的播放器大小,记得修改你的视频地址

<iframe src="https://player.mozixi.com/player/?url=视频链接" allowfullscreen="" mozallowfullscreen="" msallowfullscreen="" oallowfullscreen="" webkitallowfullscreen="" width="100%" height="500px" frameborder="0"></iframe>

这个是几乎完美的自适应代码,纯css,支持16:9,4:3.(推荐使用)

<style type="text/css">
.video-container { display: block; position: relative; width: 100%; height: 0; overflow: hidden; box-sizing: border-box } .video-container iframe, .video-container video { position: absolute; top: 0; left: 0; border: none; width: 100%; height: 100% } .video-ratio-16by9 { padding-bottom: 56.25% /* 9/16 */ } .video-ratio-4by3 { padding-bottom: 75% /* 3/4 */ }
</style>
<div class="video-container video-ratio-16by9">
<iframe src="https://player.mozixi.com/player/?url=视频链接" allowfullscreen="" mozallowfullscreen="" msallowfullscreen="" oallowfullscreen="" webkitallowfullscreen="" frameborder="0"></iframe>
</div>

有些网站有自定义视频播放器地址、直接引用即可本站播放器接口即可。

https://player.mozixi.com/player/?url=

参数说明,功能一览表

https://player.mozixi.com/player/?url= //视频链接
https://player.mozixi.com/player/?id= //视频id
https://player.mozixi.com/player/?sid= //集数id
https://player.mozixi.com/player/?pic= //视频封面
https://player.mozixi.com/player/?title= //视频标题
https://player.mozixi.com/player/?next= //下一集链接