Styling browser-native video controls

前端 未结 5 829
长发绾君心
长发绾君心 2020-11-29 09:21

Is it possible to cross-browser style the controls of a browser-native video such as video from HTML5\'s video tag?

I do not understand if it is possible or not, I c

5条回答
  •  暖寄归人
    2020-11-29 09:38

    Since you can't style the controls in every browser (namely Firefox), using custom controls is the way to go.

    Writing your own is possible but takes some time and doesn't have the functionality that some other controls have.

    I recommend Flowplayer which is very easy to use and style. It also has other useful features such as allowing you to control how the video is loaded (which is very useful for us since AWS S3 charges per view of the file).

提交回复
热议问题