media-element-logo-plugin 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +15 -3
- data/lib/media-element-logo-plugin/version.rb +1 -1
- data/media-element-logo-plugin.gemspec +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MediaElement Logo Plugin
|
2
2
|
|
3
|
-
This gem displays a logo on the scrubber bar. Some of the code here is
|
3
|
+
This gem displays a logo on the scrubber bar. Some of the code here is derived from [MediaElement.js Plugins](https://github.com/hark/mediaelement-plugins).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,8 +18,20 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Add javascript plugin and styling to the page:
|
22
22
|
|
23
|
+
```
|
24
|
+
<%= javascript_include_tag 'me-logo' %>
|
25
|
+
<%= stylesheet_link_tag 'me-logo' %>
|
26
|
+
```
|
27
|
+
|
28
|
+
Add these options to MediaElement:
|
29
|
+
|
30
|
+
```
|
31
|
+
logoAction: 'popup',
|
32
|
+
logoURL: 'http://www.something.com',
|
33
|
+
logoTitle: 'View on Something.com'
|
34
|
+
```
|
23
35
|
## Contributing
|
24
36
|
|
25
37
|
1. Fork it ( https://github.com/[my-github-username]/media-element-logo-plugin/fork )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: media-element-logo-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -64,7 +64,7 @@ dependencies:
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ! '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: 3.2.3
|
70
70
|
type: :runtime
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: 3.2.3
|
78
78
|
description: The logo on the scrubber bar opens a window or links back to the original
|