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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd860e85e57b9698c9de3aa0dca3b9ecc122fe2c
|
4
|
+
data.tar.gz: 22b5e79948fdc06769cfebf44d79a18dbe938f88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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 %>
|
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.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-
|
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.
|
125
|
+
rubygems_version: 2.4.5
|
125
126
|
signing_key:
|
126
127
|
specification_version: 4
|
127
128
|
summary: Remotely hosted video for Concerto 2
|