From dde16cd43fea6c5a9b0ea34afcf53e80aabc17d2 Mon Sep 17 00:00:00 2001 From: Michael Zangl Date: Mon, 30 Apr 2018 23:04:39 +0200 Subject: [PATCH] Fix #6: No more codes below the video. --- build.gradle | 3 ++- video-embed-privacy.css | 1 + video-embed-privacy.php | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 1c4e86e..3a541e8 100644 --- a/build.gradle +++ b/build.gradle @@ -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') } -} \ No newline at end of file +} diff --git a/video-embed-privacy.css b/video-embed-privacy.css index 3150e08..0256e91 100644 --- a/video-embed-privacy.css +++ b/video-embed-privacy.css @@ -10,6 +10,7 @@ } .video-wrapped-clicked { background: transparent; + background-image: none !important; } .video-wrapped .video-wrapped-nojs { diff --git a/video-embed-privacy.php b/video-embed-privacy.php index d058139..e13d5c1 100644 --- a/video-embed-privacy.php +++ b/video-embed-privacy.php @@ -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;