如何将开始按钮放在剪辑的中间 [英] Howto place the start button in the middle of the clip

查看:32
本文介绍了如何将开始按钮放在剪辑的中间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 http://www.videojs.com/ 上找到了设计器页面,您可以在那里更改开始按钮的位置要在剪辑的中间.

I found the designer page on http://www.videojs.com/ there you can change the position of the start button to be in the middle of your clips.

但我无法在 video.js 播放器上放置或使用此样式表.有人可以解释如何在播放器中使用它.例如,用一个额外的文件扩展现有的 css?或者如何更改现有的 css 以将按钮放置在左上角而不是中间?

But I am not able to place or use this stylesheets on the video.js player. Could some one explain how to use it in the player. E. G. to extend the existing css with an extra file? or how to change the existing css to place the button not on the left top but in the middle?

谢谢.卡塔桑

推荐答案

您可以将vjs-big-play-centric"添加到视频类.

You can add 'vjs-big-play-centered' to video class.

 <video id="player" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" width="700" height="450" poster="http://www.videojs.com/img/poster.jpg"><source src="" type="video/mp4"></video>

这篇关于如何将开始按钮放在剪辑的中间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆