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 +4 -4
- data/app/views/frontend/_concerto_remote_video.html +32 -24
- data/lib/concerto_remote_video/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5868fc4aca5a043fc7b8f1e1d5e0ebd15261f63
|
4
|
+
data.tar.gz: de1a4d150612aa8373f51dcd32e3cec4ce226e43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
<
|
7
|
-
<
|
8
|
-
|
9
|
-
:
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
16
|
-
|
17
|
-
|
12
|
+
#video {
|
13
|
+
width: 100%;
|
14
|
+
height: 100%;
|
15
|
+
}
|
16
|
+
</style>
|
18
17
|
|
19
|
-
|
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
|
-
|
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
|
-
</
|
35
|
-
<script>
|
36
|
-
|
42
|
+
</dom-module>
|
43
|
+
<script>
|
44
|
+
ConcertoBehaviors.ContentFactory.registerContent("concerto-remote-video", "ConcertoRemoteVideo");
|
37
45
|
</script>
|
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
|
+
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-
|
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.
|
124
|
+
rubygems_version: 2.2.3
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: Remotely hosted video for Concerto 2
|