concerto_remote_video 0.8 → 0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa1163acafedcf020a37663807dc0941c92da332
4
- data.tar.gz: b85a77ad421841aa5bee9ce77c04b12d0de616e1
3
+ metadata.gz: 489fd7baecc81d3c04f48c314bec38ddfeff6f06
4
+ data.tar.gz: bf52131f108cfb9aafabd7750f5cfc4d3a6b75de
5
5
  SHA512:
6
- metadata.gz: 246236a1c0e11ddea65a8813fdb259b9952fc0e605385f2428ae1ad8ba6c985fbaf0c95fd28f328356e91bb540aa4e6b5b7e98a118de52dccdd208d7600ddfca
7
- data.tar.gz: be259490a7526f37a6413f0a17c7436eb1b6014c08fa876efd7440be4c2267eb3e7cbdaeba178abae197d43bee5d1ce950a27a5c3b4a8901fb5e064914904181
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.$.video.src = this.path;
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>
@@ -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)}
@@ -1,3 +1,3 @@
1
1
  module ConcertoRemoteVideo
2
- VERSION = "0.8"
2
+ VERSION = "0.9"
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.8'
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: 2015-12-15 00:00:00.000000000 Z
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.4.5.1
125
+ rubygems_version: 2.5.1
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Remotely hosted video for Concerto 2