concerto_remote_video 0.8 → 0.9
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: 489fd7baecc81d3c04f48c314bec38ddfeff6f06
|
4
|
+
data.tar.gz: bf52131f108cfb9aafabd7750f5cfc4d3a6b75de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6187be24326e160e6faae9ab3473e4f0d911b7ebf5103c320c90c1f6205b305cce6b4f5aafa2c5768c57137141609dfd17b1eaf0bdda786adddd0fffe444b2c4
|
7
|
+
data.tar.gz: edf820f770edac18a260bcdb8e3d47e232e382906a2016242fcc26994f24c2e75a43b4de6876af5115e9bd47ad9f7616ac439fc9a63142348a542e82894bfca4
|
@@ -35,7 +35,17 @@ The `concerto-remote-video` element provides embedded video
|
|
35
35
|
},
|
36
36
|
|
37
37
|
pathChanged: function() {
|
38
|
-
this
|
38
|
+
if (this.path.includes('http_video=true')) {
|
39
|
+
// Remove the <iframe> and use a <video> instead
|
40
|
+
this.$.video.remove();
|
41
|
+
var video = document.createElement('video');
|
42
|
+
video.id = 'video';
|
43
|
+
video.src = this.path;
|
44
|
+
video.autoplay = true;
|
45
|
+
this.appendChild(video);
|
46
|
+
} else {
|
47
|
+
this.$.video.src = this.path;
|
48
|
+
}
|
39
49
|
}
|
40
50
|
});
|
41
51
|
</script>
|
data/app/models/remote_video.rb
CHANGED
@@ -187,6 +187,7 @@ class RemoteVideo < Content
|
|
187
187
|
:autoplay => 1, # Autostart the video
|
188
188
|
:end => self.duration, # Stop it around the duration
|
189
189
|
:controls => 0, # Don't show any controls
|
190
|
+
:http_video => true # Pass http video
|
190
191
|
}
|
191
192
|
end
|
192
193
|
{:path => player_url(settings)}
|
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.9'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Michalski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.5.1
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Remotely hosted video for Concerto 2
|