Upload via GUI (182 Dateien)

This commit is contained in:
2026-08-13 21:22:55 +00:00
parent 3d0c7ce557
commit 681ff4c9eb
45 changed files with 1111 additions and 614 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,167 @@
/*
* Verwaltungsseite "Menü-Links" (Backend)
*/
.mm-menu-links-admin .mm-liste {
max-width: 1200px;
}
/* --- Zeilen --- */
.mm-menu-links-admin .mm-liste-zeile {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 12px;
padding: 14px;
margin-bottom: 10px;
border: 1px solid #dcdcde;
border-left: 4px solid #c3c4c7;
border-radius: 5px;
background: #fff;
}
.mm-menu-links-admin .mm-liste-zeile:hover {
border-left-color: #2271b1;
}
/* --- Symbolvorschau --- */
.mm-menu-links-admin .mm-vorschau {
flex: 0 0 auto;
width: 30px;
height: 30px;
font-size: 22px;
line-height: 30px;
text-align: center;
color: #50575e;
background: #f0f0f1;
border-radius: 4px;
margin-bottom: 2px;
}
/* --- Felder --- */
.mm-menu-links-admin .mm-spalte {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1 1 150px;
min-width: 0;
}
.mm-menu-links-admin .mm-spalte-breit { flex: 2 1 240px; }
.mm-menu-links-admin .mm-spalte-schmal { flex: 0 0 110px; }
.mm-menu-links-admin .mm-spalte > span {
font-size: 12px;
font-weight: 600;
color: #50575e;
}
.mm-menu-links-admin .mm-spalte input[type="text"],
.mm-menu-links-admin .mm-spalte select {
width: 100%;
box-sizing: border-box;
}
.mm-menu-links-admin .mm-checkbox {
align-items: flex-start;
}
.mm-menu-links-admin .mm-checkbox input {
margin: 6px 0 0;
}
/* --- Entfernen --- */
.mm-menu-links-admin .mm-liste-entfernen {
flex: 0 0 auto;
padding: 0;
margin-bottom: 6px;
color: #b32d2e;
background: none;
border: none;
line-height: 1;
cursor: pointer;
}
.mm-menu-links-admin .mm-liste-entfernen:hover,
.mm-menu-links-admin .mm-liste-entfernen:focus {
color: #8a2424;
}
.mm-menu-links-admin .mm-liste-entfernen .dashicons {
width: 20px;
height: 20px;
font-size: 20px;
}
/* --- Hinzufügen-Knopf: "+" sauber auf der Textlinie --- */
.mm-menu-links-admin .mm-liste-hinzufuegen {
display: inline-flex !important;
align-items: center;
gap: 7px;
}
.mm-menu-links-admin .mm-liste-hinzufuegen .mm-plus {
display: inline-block;
font-size: 16px;
font-weight: 600;
line-height: 1;
transform: translateY(-1px);
}
/* --- Hinweis bei leerer Liste --- */
.mm-menu-links-admin .mm-leer {
padding: 16px;
border: 1px dashed #c3c4c7;
border-radius: 5px;
color: #787c82;
font-style: italic;
max-width: 1200px;
}
/* --- Symbolliste --- */
.mm-menu-links-admin .mm-icon-liste {
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
max-width: 1200px;
margin: 0;
}
.mm-menu-links-admin .mm-icon-liste li {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
background: #fff;
border: 1px solid #dcdcde;
border-radius: 4px;
margin: 0;
}
.mm-menu-links-admin .mm-icon-liste code {
cursor: pointer;
background: #f0f0f1;
}
.mm-menu-links-admin .mm-icon-liste code:hover {
background: #dbe8f5;
}
.mm-menu-links-admin .mm-icon-name {
color: #787c82;
font-size: 12px;
}
/* --- Schmale Bildschirme --- */
@media (max-width: 782px) {
.mm-menu-links-admin .mm-liste-zeile {
flex-direction: column;
align-items: stretch;
}
.mm-menu-links-admin .mm-spalte-schmal { flex: 1 1 auto; }
.mm-menu-links-admin .mm-liste-entfernen {
align-self: flex-end;
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,17 @@
/* Alex Brush lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Alex Brush';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('alex-brush-latin-ext-a484545f.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Alex Brush';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('alex-brush-latin-74823526.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@@ -0,0 +1,17 @@
/* Allura lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Allura';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('allura-latin-ext-cf553651.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Allura';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('allura-latin-f2f253e0.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@@ -0,0 +1,49 @@
/* Archivo lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('archivo-latin-ext-20ba07dc.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('archivo-latin-79dc5e10.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('archivo-latin-ext-20ba07dc.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('archivo-latin-79dc5e10.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('archivo-latin-ext-20ba07dc.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('archivo-latin-79dc5e10.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@@ -0,0 +1,9 @@
/* Cookie lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Cookie';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('cookie-latin-cedd2798.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@@ -0,0 +1,49 @@
/* Dancing Script lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Dancing Script';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('dancing-script-latin-ext-438f68b6.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Dancing Script';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('dancing-script-latin-958aab68.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Dancing Script';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('dancing-script-latin-ext-438f68b6.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Dancing Script';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('dancing-script-latin-958aab68.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Dancing Script';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('dancing-script-latin-ext-438f68b6.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Dancing Script';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('dancing-script-latin-958aab68.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@@ -0,0 +1,49 @@
/* Fira Sans lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('fira-sans-latin-ext-48f6df01.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('fira-sans-latin-28978245.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('fira-sans-latin-ext-e7f40dd9.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('fira-sans-latin-4be51a37.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('fira-sans-latin-ext-ad62430c.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('fira-sans-latin-f7b89b6b.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@@ -0,0 +1,17 @@
/* Great Vibes lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Great Vibes';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('great-vibes-latin-ext-e5a62ade.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Great Vibes';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('great-vibes-latin-1402a25d.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@@ -0,0 +1,49 @@
/* Inter lokal gehostet (DSGVO). Generiert, nicht manuell bearbeiten. */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('inter-latin-ext-39529051.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('inter-latin-56724408.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('inter-latin-ext-39529051.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('inter-latin-56724408.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('inter-latin-ext-39529051.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('inter-latin-56724408.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

+4 -2
View File
@@ -4,13 +4,15 @@ Theme URI: https://git.viper.ipv64.net/M_Viper/Minecraft-Modern-Theme
Author: M_Viper Author: M_Viper
Description: Ein modernes Gaming-Theme mit konfigurierbarem Header-Slider. Description: Ein modernes Gaming-Theme mit konfigurierbarem Header-Slider.
Author URI: https://M-Viper.de Author URI: https://M-Viper.de
Version: 2.3 Version: 2.4
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minecraft-modern-theme Text Domain: minecraft-modern-theme
*/ */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&display=swap'); /* Schriften werden lokal aus /fonts/<slug>/font.css geladen (DSGVO: kein Aufruf
von fonts.googleapis.com, keine Übertragung der Besucher-IP an Google).
Eingebunden über mm_enqueue_local_font() in functions.php nicht hier per @import. */
/* === DARK / LIGHT MODE VARIABLEN === */ /* === DARK / LIGHT MODE VARIABLEN === */
:root { :root {
+5
View File
@@ -7,6 +7,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
echo "=== YouTube API Key Test ===\n\n"; echo "=== YouTube API Key Test ===\n\n";
// Hole API Key aus Customizer // Hole API Key aus Customizer
+5
View File
@@ -6,6 +6,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
echo "=== Test API-basiertes Livestream-System ===\n\n"; echo "=== Test API-basiertes Livestream-System ===\n\n";
// 1. Check Customizer Settings // 1. Check Customizer Settings
@@ -2,6 +2,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
echo "=== Testing Direct Stream URL ===\n\n"; echo "=== Testing Direct Stream URL ===\n\n";
$profile_url = 'https://www.youtube.com/@NashvilleBirdCam'; $profile_url = 'https://www.youtube.com/@NashvilleBirdCam';
@@ -2,6 +2,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
echo "=== Testing YouTube Video ID Extraction ===\n\n"; echo "=== Testing YouTube Video ID Extraction ===\n\n";
$url = 'https://www.youtube.com/@NashvilleBirdCam/streams'; $url = 'https://www.youtube.com/@NashvilleBirdCam/streams';
+5
View File
@@ -2,6 +2,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
echo "=== Debug: Livestream Filtering ===\n\n"; echo "=== Debug: Livestream Filtering ===\n\n";
$args = array( $args = array(
+5
View File
@@ -2,6 +2,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
$urls = array( $urls = array(
'https://www.youtube.com/@NashvilleBirdCam/live', 'https://www.youtube.com/@NashvilleBirdCam/live',
'https://www.youtube.com/channel/UClOWy1mPxNB1D3cpmmxqGEg/live', 'https://www.youtube.com/channel/UClOWy1mPxNB1D3cpmmxqGEg/live',
+5
View File
@@ -2,6 +2,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
echo "=== Testing Livestream Rendering ===\n\n"; echo "=== Testing Livestream Rendering ===\n\n";
// Query für Videos mit Livestream // Query für Videos mit Livestream
+5
View File
@@ -7,6 +7,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
$video_id = 'kWRhLLbLFE0'; $video_id = 'kWRhLLbLFE0';
echo "=== Testing Video ID: $video_id ===\n\n"; echo "=== Testing Video ID: $video_id ===\n\n";
+5
View File
@@ -2,6 +2,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
echo "=== Testing YouTube Livestream Data ===\n\n"; echo "=== Testing YouTube Livestream Data ===\n\n";
$profile_url = 'https://www.youtube.com/@NashvilleBirdCam'; $profile_url = 'https://www.youtube.com/@NashvilleBirdCam';
@@ -6,6 +6,11 @@
define('WP_USE_THEMES', false); define('WP_USE_THEMES', false);
require('../../../wp-load.php'); require('../../../wp-load.php');
if ( php_sapi_name() !== 'cli' && ! current_user_can( 'manage_options' ) ) {
http_response_code( 403 );
exit( 'Forbidden: Admin-Login erforderlich.' );
}
$video_url = 'https://www.youtube.com/watch?v=kWRhLLbLFE0'; $video_url = 'https://www.youtube.com/watch?v=kWRhLLbLFE0';
$post_id = 17512; // DreamTripspk Post ID $post_id = 17512; // DreamTripspk Post ID