From 2154e74d966dfdd3ad25ae1cca51ca4da4c0c3f4 Mon Sep 17 00:00:00 2001 From: Hristo Stefanov Date: Sat, 7 Nov 2015 05:31:22 +0200 Subject: [PATCH 1/3] Added player for the video streams on the front page --- front-page.php | 253 +++++++++++++++++++++++++++++++++++++++++++++++++ functions.php | 6 ++ 2 files changed, 259 insertions(+) diff --git a/front-page.php b/front-page.php index abb23f3..15f087c 100644 --- a/front-page.php +++ b/front-page.php @@ -1,4 +1,257 @@ + + + + + + +
+

Streaming | всички зали

+

+

+

+ +

+

+ RTMP | HLS +

+

+

+
+ + +
+ +
diff --git a/functions.php b/functions.php index c3c2a7c..d56b5bb 100644 --- a/functions.php +++ b/functions.php @@ -335,4 +335,10 @@ if (function_exists("pll_register_string")) { pll_register_string('hall3','G1'); pll_register_string('hall4','Пловдив'); pll_register_string('hall5','Бургас'); + pll_register_string('bulgaria_hall','BULGARIA_HALL'); + pll_register_string('chamber_hall','CHAMBER_HALL'); + pll_register_string('music_hall','MUSIC_HALL'); + pll_register_string('low_quality','LOW_QUALITY'); + pll_register_string('normal_quality','NORMAL_QUALITY'); + pll_register_string('high_quality','HIGH_QUALITY'); } -- 2.40.1 From 6ea910cd53c84e6c931d7116ec6d03b255a8e645 Mon Sep 17 00:00:00 2001 From: Hristo Stefanov Date: Sat, 7 Nov 2015 05:50:46 +0200 Subject: [PATCH 2/3] fixed escaping of strings when passed from php to javascript --- front-page.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/front-page.php b/front-page.php index 15f087c..c861d02 100644 --- a/front-page.php +++ b/front-page.php @@ -14,24 +14,24 @@
-

Streaming | всички зали

+

Streaming |

diff --git a/functions.php b/functions.php index d56b5bb..4cc3b5a 100644 --- a/functions.php +++ b/functions.php @@ -341,4 +341,5 @@ if (function_exists("pll_register_string")) { pll_register_string('low_quality','LOW_QUALITY'); pll_register_string('normal_quality','NORMAL_QUALITY'); pll_register_string('high_quality','HIGH_QUALITY'); + pll_register_string('all_streams','ALL_STREAMS'); } -- 2.40.1