Skip to content

Commit

Permalink
Display: Add custom icons based on mdi for mediaelementjs - refs BT#2…
Browse files Browse the repository at this point in the history
…1580
  • Loading branch information
AngelFQC committed May 9, 2024
1 parent 208a284 commit 4b50305
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
46 changes: 46 additions & 0 deletions assets/css/scss/libs/mediaelementjs/icons.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion assets/vue/composables/mediaElementLoader.js
@@ -1,10 +1,12 @@
import "mediaelement/build/mediaelementplayer.min.css"
import "mediaelement/full"

import iconSprite from "../../css/scss/libs/mediaelementjs/icons.svg"

const videoSelector = "video:not(.skip), audio:not(.skip)"

const mejsOptions = {
iconSprite: "/build/libs/mediaelement/mejs-controls.svg",
iconSprite,
}

function newVideosCallback(newVideo) {
Expand Down

0 comments on commit 4b50305

Please sign in to comment.