pageflow-embedded-video 0.1.0 → 0.1.1
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 +8 -8
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/app/assets/javascript/pageflow/embedded_video/page_type.js +3 -1
- data/app/assets/stylesheets/pageflow/embedded_video.css.scss +13 -0
- data/app/views/pageflow/embedded_video/page.html.erb +5 -1
- data/pageflow-embedded-video.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzA1NjdjZGVhZjMyNzMxZWE5ZGVjOGRmNjJiMWU4MWJiN2RlYjAyZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTkzMWIzNGU1Yzg1NGNiNTM0OWYyM2M1ZjBlMjdmMTYyZDRhMjMyNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2NiMDJhYjViOTkzOTY0YzcwZmYxNTQyYTc2NWE4YjQ0YWE0OTQ2MjkwYTEy
|
10
|
+
Nzc5YTZjZDcxNGUyNGExMzFiZGQ2YmMwY2VkOGUzNzE3YjRlNGJjN2ZmNTg1
|
11
|
+
ZjI1N2Q3ZjE1NTA0MzdmNzM1ZmVjMjNlZjkzMzA0MzNmMDlhNDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWYyN2M3NTBiNDdjMzE3NzQ5MTMwZGMzMWQwMWEyMTljOTYzNGRlMWRmZjI2
|
14
|
+
MWZhODM0ODg3OGU4NTZjNDA1YzJjMzhjMTkyNWEwMWVmMjk4M2Q1MjU0NjJj
|
15
|
+
NmNjMzQzMWZiMTc1MTg3ZTZhMGY0YjQ5ODY0YTA2NDM3MTVmZmQ=
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -28,10 +28,10 @@ Include javascript/stylesheets:
|
|
28
28
|
# app/assets/javascripts/pageflow/editor.js
|
29
29
|
//= require pageflow/embedded_video/editor
|
30
30
|
|
31
|
-
# app/assets/stylesheets/pageflow/application.scss
|
31
|
+
# app/assets/stylesheets/pageflow/application.css.scss;
|
32
32
|
@import "pageflow/embedded_video";
|
33
33
|
|
34
|
-
# app/assets/stylesheets/pageflow/editor.scss
|
34
|
+
# app/assets/stylesheets/pageflow/editor.css.scss;
|
35
35
|
@import "pageflow/embedded_video/editor";
|
36
36
|
|
37
37
|
|
@@ -6,6 +6,8 @@ pageflow.pageType.register('embedded_video', _.extend({
|
|
6
6
|
enhance: function(pageElement, configuration) {
|
7
7
|
var that = this;
|
8
8
|
|
9
|
+
pageElement.addClass('hide_content_with_text');
|
10
|
+
|
9
11
|
if (pageflow.features.has('mobile platform')) {
|
10
12
|
pageElement.find('.close_button, .iframe_container').click(function(event) {
|
11
13
|
event.stopPropagation();
|
@@ -367,4 +369,4 @@ pageflow.pageType.register('embedded_video', _.extend({
|
|
367
369
|
}
|
368
370
|
return hash;
|
369
371
|
}
|
370
|
-
}, pageflow.commonPageCssClasses));
|
372
|
+
}, pageflow.commonPageCssClasses));
|
@@ -1,6 +1,19 @@
|
|
1
1
|
@include pageflow-page-type(embedded_video);
|
2
2
|
|
3
3
|
.embedded_video_page {
|
4
|
+
/*
|
5
|
+
HACK: We need to set the hide_content_with_text css class on the
|
6
|
+
page's section, to make the menu button and hide text text
|
7
|
+
indicator disappear on mobile. But this also causes the content
|
8
|
+
to be hidden, which we undo in the following. This should be
|
9
|
+
decoupled in the pageflow gem.
|
10
|
+
*/
|
11
|
+
.content {
|
12
|
+
visibility: visible !important;
|
13
|
+
opacity: 1 !important;
|
14
|
+
pointer-events: all !important;
|
15
|
+
}
|
16
|
+
|
4
17
|
.contentText {
|
5
18
|
margin-top: 40px;
|
6
19
|
}
|
@@ -25,7 +25,11 @@
|
|
25
25
|
</div>
|
26
26
|
</div>
|
27
27
|
<div class="iframe_container">
|
28
|
-
<div class="close_button" tabindex="4" title="<%= t('.close_title') %>"
|
28
|
+
<div class="close_button" tabindex="4" title="<%= t('.close_title') %>">
|
29
|
+
<div class="label">
|
30
|
+
<%= t('.close') %>
|
31
|
+
</div>
|
32
|
+
</div>
|
29
33
|
<div class="iframe_wrapper"></div>
|
30
34
|
<% if configuration['video_caption'].present? %>
|
31
35
|
<div class="video_caption"><%= configuration['video_caption'] %></div>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "pageflow-embedded-video"
|
5
|
-
spec.version = "0.1.
|
5
|
+
spec.version = "0.1.1"
|
6
6
|
spec.authors = ["Stefan Schöttelndreyer"]
|
7
7
|
spec.email = ["sschoettelndreyer@codevise.de"]
|
8
8
|
spec.summary = "Pagetype for embedded youtube/vimeo videos"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-embedded-video
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Schöttelndreyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pageflow
|