rocketwheel-command 1.0.8 → 1.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.
@@ -1,5 +1,5 @@
1
1
  module Rocketwheel
2
2
  module Command
3
- VERSION = '1.0.8'
3
+ VERSION = '1.0.9'
4
4
  end
5
5
  end
@@ -6,27 +6,35 @@ version: <%= version %>
6
6
  # bucket: s3 bucket
7
7
  # path: path/to/s3/folder
8
8
 
9
- # playlist:
10
- # - image: 'images/com-project-poster-thumb.jpg'
11
- # title: 'Title'
12
- # description: 'Description'
13
- # duration: 60
14
- # levels:
15
- # - file: 'videos/video1.mp4'
9
+ playlist:
10
+ - image: 'images/com-project-poster-thumb.jpg'
11
+ title: 'Title'
12
+ description: 'Description'
13
+ duration: 60
14
+ levels:
15
+ - file: 'videos/video1.mp4'
16
16
 
17
- # player:
18
- # autostart: false
19
- # width: 1280
20
- # height: 720
17
+ player:
18
+ autostart: false
19
+ width: 1280
20
+ height: 720
21
21
 
22
- # meta:
23
- # company: 'com'
24
- # project: 'pro'
25
- # description: 'description'
22
+ meta:
23
+ company: 'com'
24
+ project: 'pro'
25
+ description: 'description'
26
+ page-title: 'page title'
27
+ share-title: 'share this title'
28
+ share-url: 'http://www.'
29
+ share-image: 'http://www.'
30
+ share-description: 'share this description'
31
+ share-sitename: 'share this sitename'
32
+ share-pub-id: 'b9f8cca1-6dd1-42d9-b354-0ae0088e96cc'
33
+ ga-tracking-id: 'UA-xxxxxxx-x'
26
34
 
27
35
  # transloadit:
28
36
  # key: transloadit key
29
37
  # secret: transloadit secret
30
38
  #
31
39
  # # Custom transloadit steps
32
- # steps:
40
+ # steps:
@@ -1,18 +1,18 @@
1
1
  <!DOCTYPE HTML>
2
2
  <html>
3
3
  <head>
4
- <title> <%= meta %> </title>
5
- <meta property="og:title" content="Title" />
4
+ <title><%= meta['page-title']%></title>
5
+ <meta property="og:title" content="<%= meta['share-title']%>" />
6
6
  <meta property="og:type" content="Sharing Widgets" />
7
- <meta property="og:url" content="http://www." />
8
- <meta property="og:image" content="" />
9
- <meta property="og:description" content="Description" />
10
- <meta property="og:site_name" content="" />
7
+ <meta property="og:url" content="<%= meta['share-url']%>" />
8
+ <meta property="og:image" content="<%= meta['share-image']%>" />
9
+ <meta property="og:description" content="<%= meta['share-description']%>" />
10
+ <meta property="og:site_name" content="<%= meta['share-sitename']%>" />
11
11
  <link rel="stylesheet" href="demoplayer/stylesheets/player.css" type="text/css" media="screen">
12
12
  <script src="demoplayer/javascripts/player.js" type="text/javascript"></script>
13
13
  <script type="text/javascript">
14
14
  var _gaq = _gaq || [];
15
- _gaq.push(['_setAccount', 'UA-xxxxxxx-x']);
15
+ _gaq.push(['_setAccount', '<%= meta["ga-tracking-id"]%>']);
16
16
  _gaq.push(['_trackPageview']);
17
17
  (function() {
18
18
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
@@ -36,7 +36,7 @@
36
36
  {{#view Player.View styles="inline"}}
37
37
  {{view Player.PlayerView}}
38
38
  {{view Player.PlaylistView}}
39
- <img src="images/" style="padding-top: 10px; padding-left: 5px; padding-bottom: 5px;" />
39
+ <img src="images/<%= meta['company']%>-logo.png" style="padding-top: 10px; padding-left: 5px; padding-bottom: 5px;" />
40
40
  <div class="share">
41
41
  <span class='st_linkedin_large' ></span>
42
42
  <span class='st_twitter_large' ></span>
@@ -51,7 +51,7 @@
51
51
  <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
52
52
  <script type="text/javascript">
53
53
  stLight.options({
54
- publisher:'b9f8cca1-6dd1-42d9-b354-0ae0088e96cc',
54
+ publisher:'<%= meta["share-pub-id"]%>',
55
55
  onhover:false
56
56
  });
57
57
  </script>
@@ -36,7 +36,7 @@
36
36
  {{#view Player.View styles="inline"}}
37
37
  {{view Player.PlayerView}}
38
38
  {{view Player.PlaylistView}}
39
- <img src="images/" style="padding-top: 10px; padding-left: 5px; padding-bottom: 5px;" />
39
+ <img src="images/<%= meta['company']%>-logo.png" style="padding-top: 10px; padding-left: 5px; padding-bottom: 5px;" />
40
40
  <div class="share">
41
41
  <span class='st_linkedin_large' ></span>
42
42
  <span class='st_twitter_large' ></span>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocketwheel-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: