Skip to content

Commit

Permalink
Fix #6: No more codes below the video.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelzangl committed Apr 30, 2018
1 parent 028adf8 commit dde16cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ task dist(type: Zip, dependsOn: 'getUpdateChecker') {
include 'languages/*'
include 'preview/.htaccess'
include 'preview/preview.php'
include 'preview/guzzle/**'
}
from(file("${buildDir}/plugin-update-checker")) {
into('plugin-update-checker')
}
}
}
1 change: 1 addition & 0 deletions video-embed-privacy.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
}
.video-wrapped-clicked {
background: transparent;
background-image: none !important;
}

.video-wrapped .video-wrapped-nojs {
Expand Down
2 changes: 0 additions & 2 deletions video-embed-privacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ function video_embed_privacy_translate($text, $url, $atts) {
$embedText = $settings['textFixer']($embedText);
}

$embedText .= video_embed_privacy_option('key') . $id . '/' . $v;

$s = hash('sha256', video_embed_privacy_option('key') . $id . '/' . $v);
$preview = plugins_url("preview/$id/$v.jpg?s=$s", __FILE__);
$class .= ' video-wrapped-video video-wrapped-' . $id;
Expand Down

0 comments on commit dde16cd

Please sign in to comment.