diff options
author | MaZderMind | 2015-04-06 00:28:03 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-06 00:28:03 +0200 |
commit | 8f14dd9084b10c223508bc9948c5724fc2c9eb63 (patch) | |
tree | 9ff0ef30da4a08b7a6f50a3d91afee83ea01479a /index.php | |
parent | ac263c7672d78151ffdf2990dd98127cee572717 (diff) |
Audio & Video-Player Embeding
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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(); |