Skip to content

Commit

Permalink
Media Element Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
QbDesu committed Jan 17, 2025
1 parent 7a52c88 commit ce01d42
Show file tree
Hide file tree
Showing 80 changed files with 9,657 additions and 9,025 deletions.
2 changes: 0 additions & 2 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
*= require source-chooser/source-chooser
*= require speed/speed
*= require postroll/postroll
*= require skip-back/skip-back
*= require jump-forward/jump-forward
*= require chromecast/chromecast
*= require airplay/airplay
*= require playlist/playlist
Expand Down
2 changes: 0 additions & 2 deletions app/assets/stylesheets/embed.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
*= require source-chooser/source-chooser
*= require speed/speed
*= require skip-back/skip-back
*= require jump-forward/jump-forward
*= require timelens
Expand Down
5 changes: 4 additions & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
Rails.application.config.assets.paths << Rails.root.join("app", "assets", "fonts")
Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets')
Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'mediaelement')
Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'mediaelement-plugins')
# Add all immediate subdirectories under mediaelement-plugins to the assets paths
Dir.glob(Rails.root.join('vendor', 'assets', 'mediaelement-plugins', '*')).each do |path|
Rails.application.config.assets.paths << path if File.directory?(path)
end
Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'icomoon-font')

# Precompile additional assets.
Expand Down
Loading

0 comments on commit ce01d42

Please sign in to comment.