diff --git a/bump.php b/bump.php index 6259630..55d5de1 100644 --- a/bump.php +++ b/bump.php @@ -15,6 +15,10 @@ $bump_embed = str_replace("/watch?v=","/embed/",$data["bump_url"]); echo "\t\n"; } + if ($data["bump_url_type"]=="gdrive") { + $bump_embed = str_replace("/view","/preview",$data["bump_url"]); + echo "\t\n"; + } } else { echo "\t

Something's wrong. Please contact the sitemaster at khuxkm<at>tilde<dot>team.

\n"; }