From 8f14dd9084b10c223508bc9948c5724fc2c9eb63 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 6 Apr 2015 00:28:03 +0200 Subject: Audio & Video-Player Embeding --- index.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 673183c..cfe0340 100644 --- a/index.php +++ b/index.php @@ -132,6 +132,16 @@ try { require('view/room.php'); } + else if(preg_match('@^embed/([^/]+)/(hd|sd|audio|slides)/(native|translated|stereo)$@', $route, $m)) + { + $_GET = array( + 'room' => $m[1], + 'selection' => $m[2], + 'language' => $m[3], + ); + require('view/embed.php'); + } + else { throw new NotFoundException(); -- cgit v1.2.3