From d0a9d8b2b0d28dbef209c7cbcbfd56eaeac24d9b Mon Sep 17 00:00:00 2001 From: Andreas Hubel Date: Sun, 7 Jun 2020 21:36:10 +0200 Subject: hacky netcut integration --- template/page.phtml | 7 +++++ template/relive-player-netcut.phtml | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 template/relive-player-netcut.phtml (limited to 'template') diff --git a/template/page.phtml b/template/page.phtml index ccd5ea8..4c05008 100644 --- a/template/page.phtml +++ b/template/page.phtml @@ -62,12 +62,19 @@ + + if(isset($GLOBALS['netcut']) && $GLOBALS['netcut'] === true): ?> + + + + else: ?> + endif ?> if(isset($subtitles) && $subtitles->isEnabled()): ?> diff --git a/template/relive-player-netcut.phtml b/template/relive-player-netcut.phtml new file mode 100644 index 0000000..7cdde6c --- /dev/null +++ b/template/relive-player-netcut.phtml @@ -0,0 +1,52 @@ +
Beware! This is an unprocessed streamdump, the final release was released at =h(parse_url($talk['release_url'], PHP_URL_HOST))?>.
+