Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
phuongdh committed Dec 16, 2013
1 parent c080b73 commit e43a0c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in mediaelement-skin-avalon.gemspec
gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
$.extend(MediaElementPlayer.prototype, {
buildtitle: function(player, controls, layers, media) {
if (player.isVideo && player.options.title != null ) {
$('<div class="mejs-overlay mejs-overlay-title"><a href="' + title + '">' + player.options.titleLink + '</a></div>').appendTo(player.layers)
$('<div class="mejs-overlay mejs-overlay-title"><a href="' + player.options.titleLink + '">' + player.options.title + '</a></div>').appendTo(layers)
}
}
});
})(mejs.$);
style="color: white; display: block; font-weight: bold; font-size: 15pt; margin: 10px 15px; text-shadow: 0px 0px 2px rgb(0, 0, 0);">
style="width: 100%; z-index: 999"
4 changes: 2 additions & 2 deletions app/assets/stylesheets/mediaelement-title/mejs-title.css.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
mejs-overlay-title {
.mejs-overlay-title {
width: 100%;
z-index: 999;
}

mejs-overlay-title a {
.mejs-overlay-title a {
color: white;
display: block;
font-weight: bold;
Expand Down
4 changes: 2 additions & 2 deletions lib/mediaelement-title.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "mediaelement-skin-avalon/engine"
require "mediaelement-title/engine"

module Mediaelement
module Skinavalon
module Title
# Your code goes here...
end
end

0 comments on commit e43a0c6

Please sign in to comment.