concerto_remote_video 0.4 → 0.5

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: caf9e3fc8733e9ce4f3bf12f9106c12ec940bb19
4
- data.tar.gz: 45a04bab69ebc87c2b0416853278d26f8607f455
3
+ metadata.gz: a5868fc4aca5a043fc7b8f1e1d5e0ebd15261f63
4
+ data.tar.gz: de1a4d150612aa8373f51dcd32e3cec4ce226e43
5
5
  SHA512:
6
- metadata.gz: fc8385b9186679c85d221bddd20a4d3e94d4120ba91c983abbb4fd10b5ca3cc93014770fc9c7b9dd1c7b22cfe9caa9c0cc1a8d7c1794110a316471341d96f12a
7
- data.tar.gz: 194518905108f1541db8f329ecdb7d6209f17530426e2e484ddb84bebe5bf32ef58ca008ac409045c23d5f8fe426553fb8d51295550a7a89a7aa97d34a51f89b
6
+ metadata.gz: 54562155e83ff243bf8a93779c980a132c52ff2d36bf32fa9f13576dad00cd077e24a5c973fe72214b354171acedc87e6df3c7d94087c04a01ee08ef12a7145e
7
+ data.tar.gz: 03791a1c0cac4bc5fc8d242efdb071ee54d824bbaef709998c775363c6817c9e94380a20aaa1c10d6697236ec28596d424f86ac92fadb089611fa22221e254f5
@@ -1,37 +1,45 @@
1
1
  <!--
2
- The `concerto-remote-video` element provides embedded video.
3
- @element concerto-content
4
- @status alpha
2
+ The `concerto-remote-video` element provides embedded video
5
3
  -->
6
- <polymer-element name="concerto-remote-video" attributes="path" constructor="ConcertoRemoteVideo" extends="concerto-content">
7
- <template>
8
- <style>
9
- :host {
10
- display: block;
11
- width: 100%;
12
- height: 100%;
13
- }
4
+ <dom-module id="concerto-remote-video">
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ width: 100%;
9
+ height: 100%;
10
+ }
14
11
 
15
- :host(.core-transition) {
16
- overflow: hidden;
17
- }
12
+ #video {
13
+ width: 100%;
14
+ height: 100%;
15
+ }
16
+ </style>
18
17
 
19
- #video {
20
- width: 100%;
21
- height: 100%;
22
- }
23
- </style>
18
+ <template>
24
19
  <iframe id="video" frameBorder="0"></iframe>
25
20
  </template>
26
21
 
27
22
  <script>
28
- Polymer({
29
- domReady: function() {
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() {
30
38
  this.$.video.src = this.path;
31
39
  }
32
40
  });
33
41
  </script>
34
- </polymer-element>
35
- <script>
36
- registerContentType("concerto-remote-video", "ConcertoRemoteVideo");
42
+ </dom-module>
43
+ <script>
44
+ ConcertoBehaviors.ContentFactory.registerContent("concerto-remote-video", "ConcertoRemoteVideo");
37
45
  </script>
@@ -1,3 +1,3 @@
1
1
  module ConcertoRemoteVideo
2
- VERSION = "0.4"
2
+ VERSION = "0.5"
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.4'
4
+ version: '0.5'
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-05-14 00:00:00.000000000 Z
11
+ date: 2015-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.2.2
124
+ rubygems_version: 2.2.3
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Remotely hosted video for Concerto 2