【问题标题】:Customize VideoJS with Ionic icons in NextJS在 NextJS 中使用 Ionic 图标自定义 VideoJS
【发布时间】:2022-02-03 21:59:08
【问题描述】:

我正在建立一个网站来提供视频,我正在寻找一种使用 Ionic 图标集 自定义 VideoJS 播放器的正确方法,但因为我使用<ion-icon/> 标签要将图标添加到页面,实现此目的的唯一方法是在自定义 CSS 中指定每个使用的图标 unicode

在 VideoJS 中使用 Ionicons 有什么更好、更简洁的方法?

【问题讨论】:

    标签: css next.js video.js ionicons


    【解决方案1】:

    一种方法是从 svg 文件夹中选择您的图标 > https://github.com/ionic-team/ionicons/tree/main/src/svg

    然后通过skin customization在videojs控制栏中插入图标​​

    【讨论】:

      猜你喜欢
      • 2018-09-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-11-22
      • 2020-06-02
      • 2020-08-21
      • 1970-01-01
      相关资源
      最近更新 更多