concerto_remote_video 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5868fc4aca5a043fc7b8f1e1d5e0ebd15261f63
4
- data.tar.gz: de1a4d150612aa8373f51dcd32e3cec4ce226e43
3
+ metadata.gz: cd860e85e57b9698c9de3aa0dca3b9ecc122fe2c
4
+ data.tar.gz: 22b5e79948fdc06769cfebf44d79a18dbe938f88
5
5
  SHA512:
6
- metadata.gz: 54562155e83ff243bf8a93779c980a132c52ff2d36bf32fa9f13576dad00cd077e24a5c973fe72214b354171acedc87e6df3c7d94087c04a01ee08ef12a7145e
7
- data.tar.gz: 03791a1c0cac4bc5fc8d242efdb071ee54d824bbaef709998c775363c6817c9e94380a20aaa1c10d6697236ec28596d424f86ac92fadb089611fa22221e254f5
6
+ metadata.gz: 50186f34dc3b82ff34d6b599294e4ce40685735d5826973eebe8e74f2bb502015d441565b149f04931433d9d2e0d808484aa05cd6f70c84e3ebe6ced4ff988d7
7
+ data.tar.gz: 4709a047a36f8851c4d65db4e8cc97fd82bc211078e8c273405df82f8d6cec11f986cf405e52929186d728272f9bd2e9ea135e768128c44f17b4942e3305efe3
@@ -0,0 +1,45 @@
1
+ <!--
2
+ The `concerto-remote-video` element provides embedded video
3
+ -->
4
+ <dom-module id="concerto-remote-video">
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ width: 100%;
9
+ height: 100%;
10
+ }
11
+
12
+ #video {
13
+ width: 100%;
14
+ height: 100%;
15
+ }
16
+ </style>
17
+
18
+ <template>
19
+ <iframe id="video" frameBorder="0"></iframe>
20
+ </template>
21
+
22
+ <script>
23
+ ConcertoRemoteVideo = Polymer({
24
+ is: "concerto-remote-video",
25
+
26
+ behaviors: [ConcertoBehaviors.BaseContent],
27
+
28
+ properties: {
29
+ baseUrl: String,
30
+ path: {
31
+ type: String,
32
+ observer: 'pathChanged'
33
+ },
34
+ config: Object
35
+ },
36
+
37
+ pathChanged: function() {
38
+ this.$.video.src = this.path;
39
+ }
40
+ });
41
+ </script>
42
+ </dom-module>
43
+ <script>
44
+ ConcertoBehaviors.ContentFactory.registerContent("concerto-remote-video", "ConcertoRemoteVideo");
45
+ </script>
@@ -1,45 +1,5 @@
1
- <!--
2
- The `concerto-remote-video` element provides embedded video
3
- -->
4
- <dom-module id="concerto-remote-video">
5
- <style>
6
- :host {
7
- display: block;
8
- width: 100%;
9
- height: 100%;
10
- }
11
-
12
- #video {
13
- width: 100%;
14
- height: 100%;
15
- }
16
- </style>
17
-
18
- <template>
19
- <iframe id="video" frameBorder="0"></iframe>
20
- </template>
21
-
22
- <script>
23
- ConcertoRemoteVideo = Polymer({
24
- is: "concerto-remote-video",
25
-
26
- behaviors: [ConcertoBehaviors.BaseContent],
27
-
28
- properties: {
29
- baseUrl: String,
30
- path: {
31
- type: String,
32
- observer: 'pathChanged'
33
- },
34
- config: Object
35
- },
36
-
37
- pathChanged: function() {
38
- this.$.video.src = this.path;
39
- }
40
- });
41
- </script>
42
- </dom-module>
43
- <script>
44
- ConcertoBehaviors.ContentFactory.registerContent("concerto-remote-video", "ConcertoRemoteVideo");
45
- </script>
1
+ <% content_for :head do %>
2
+ <!-- from concerto-remote-video -->
3
+ <%= tag "link", rel: "import", href: asset_path("concerto_remote_video/concerto-remote-video.html") %>
4
+ <!-- end from concerto-remote-video -->
5
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module ConcertoRemoteVideo
2
- VERSION = "0.5"
2
+ VERSION = "0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concerto_remote_video
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: '0.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Michalski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-22 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -49,6 +49,7 @@ files:
49
49
  - LICENSE
50
50
  - README.md
51
51
  - Rakefile
52
+ - app/assets/html/concerto_remote_video/concerto-remote-video.html
52
53
  - app/assets/javascripts/concerto_remote_video/application.js
53
54
  - app/assets/javascripts/concerto_remote_video/remote_video.js
54
55
  - app/assets/stylesheets/concerto_remote_video/application.css
@@ -121,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
122
  version: '0'
122
123
  requirements: []
123
124
  rubyforge_project:
124
- rubygems_version: 2.2.3
125
+ rubygems_version: 2.4.5
125
126
  signing_key:
126
127
  specification_version: 4
127
128
  summary: Remotely hosted video for Concerto 2