Compare commits
No commits in common. "61131488c9862571b248fb4239fcb5de83c4dd2b" and "ff07893501cb63c5e92d93375742bd39ed9b849d" have entirely different histories.
61131488c9
...
ff07893501
@ -21,8 +21,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$optin = "";
|
$optin = "";
|
||||||
if (isset($_POST['optin-once'])) {
|
if (isset($_GET['optin-once'])) {
|
||||||
$_COOKIE['opt-in'] = $_POST['optin-once'];
|
$_COOKIE['opt-in'] = $_GET['optin-once'];
|
||||||
}
|
}
|
||||||
if (isset($_COOKIE['opt-in'])) {
|
if (isset($_COOKIE['opt-in'])) {
|
||||||
$opt = $_COOKIE['opt-in'];
|
$opt = $_COOKIE['opt-in'];
|
||||||
|
@ -132,7 +132,7 @@
|
|||||||
if (opted_in('y')) {
|
if (opted_in('y')) {
|
||||||
echo '<iframe width="100%" height="100%" src="' . $url . '" frameborder="0" allowfullscreen></iframe>';
|
echo '<iframe width="100%" height="100%" src="' . $url . '" frameborder="0" allowfullscreen></iframe>';
|
||||||
} else {
|
} else {
|
||||||
echo "<table border=0 style='height:100%;width:100%'><tr><td style='text-align:center;'>Embedded content has been disabled to protect your privacy.<br><br><br><strong><form action='' method='post'><input type='hidden' name='optin-once' value='y' /><input type='submit' value='Click here to load the videos on this site once,'/></form></strong><br><br><strong><a href='/?p=privacy-controls'>or click here to allow them permanently,</a><br><br><a href=\"" . $youtube['link'] . "\">" . "or click here to watch the video on YouTube:<br>" . $youtube['link'] . "</a></strong><br><br><br>Please note that by enabling this video, data is transferred <br>to YouTube LLC, and is subject to their privacy policy.</td></tr></table>";
|
echo "<table border=0 style='height:100%;width:100%'><tr><td style='text-align:center;'>Embedded content has been disabled to protect your privacy.<br><br><br><strong><a href='" . append_param("optin-once=y") . "'>Click here to load the videos on this site once,</a></strong><br><br><strong><a href='/?p=privacy-controls'>or click here to allow them permanently,</a><br><br><a href=\"" . $youtube['link'] . "\">" . "or click here to watch the video on YouTube:<br>" . $youtube['link'] . "</a></strong><br><br><br>Please note that by enabling this video, data is transferred <br>to YouTube LLC, and is subject to their privacy policy.</td></tr></table>";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO: HTML5 video
|
// TODO: HTML5 video
|
||||||
|
12
style.css
12
style.css
@ -124,18 +124,6 @@ content .videoframe {
|
|||||||
margin-left:16px;
|
margin-left:16px;
|
||||||
box-shadow: 0px 0px 3px white;
|
box-shadow: 0px 0px 3px white;
|
||||||
border: 1 px solid #f3f3f3;
|
border: 1 px solid #f3f3f3;
|
||||||
background-color: black;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
content .videoframe a {
|
|
||||||
color:lightblue;
|
|
||||||
}
|
|
||||||
content .videoframe input {
|
|
||||||
background: none;
|
|
||||||
border: none;
|
|
||||||
font-weight: bold;
|
|
||||||
cursor: pointer;
|
|
||||||
color:lightblue;
|
|
||||||
}
|
}
|
||||||
content vidcaption {
|
content vidcaption {
|
||||||
margin-left: 18px;
|
margin-left: 18px;
|
||||||
|
Loading…
Reference in New Issue
Block a user