diff options
author | dedeibel | 2017-12-10 18:02:48 +0100 |
---|---|---|
committer | dedeibel | 2017-12-10 18:27:05 +0100 |
commit | eed207f8dfd68117715518c83fc32d3ae9e1e094 (patch) | |
tree | a130f34fc994223d6daebb4863024ca34f1dc977 /index.php | |
parent | be515f5150f20c773371f680efad58f2d0fcaaf0 (diff) |
Allowed multi translation for embedding, fixed autoplay option
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -315,9 +315,7 @@ try { require('view/room.php'); } - // TODO use dynamic i18n parameter - // TODO change to no-autoplay query parameter? - else if(preg_match('@^embed/([^/]+)/(hd|sd|audio|slides)/(native|translated|translated2|stereo)(/no-autoplay)?$@', $route, $m)) + else if(preg_match('@^embed/([^/]+)/(hd|sd|audio|slides)/(native|stereo|[^/]+)(/no-autoplay)?$@', $route, $m)) { $_GET = array( 'room' => $m[1], |