aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRishabh04-02 <rishabh0402@gmail.com>2017-03-16 20:34:38 +0530
committerMarc Alexander <admin@m-a-styles.de>2017-04-18 20:38:02 +0200
commit72f7f6eff92346c3584da88c6d6ae750bdfd9412 (patch)
tree1705e4a531b107b80f6cc21b906812095cc8251e
parent2c66867126c060933e77b908bd3713ab7215225f (diff)
downloadforums-72f7f6eff92346c3584da88c6d6ae750bdfd9412.tar
forums-72f7f6eff92346c3584da88c6d6ae750bdfd9412.tar.gz
forums-72f7f6eff92346c3584da88c6d6ae750bdfd9412.tar.bz2
forums-72f7f6eff92346c3584da88c6d6ae750bdfd9412.tar.xz
forums-72f7f6eff92346c3584da88c6d6ae750bdfd9412.zip
[ticket/15125] Remove the function play_qt_file in forum_fn.js
PHPBB3-15125
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index f1d423d269..3f59709ac6 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -194,37 +194,6 @@ function selectCode(a) {
}
}
-/**
-* Play quicktime file by determining it's width/height
-* from the displayed rectangle area
-*/
-function play_qt_file(obj) {
- 'use strict';
-
- var rectangle = obj.GetRectangle();
- var width, height;
-
- if (rectangle) {
- rectangle = rectangle.split(',');
- var x1 = parseInt(rectangle[0], 10);
- var x2 = parseInt(rectangle[2], 10);
- var y1 = parseInt(rectangle[1], 10);
- var y2 = parseInt(rectangle[3], 10);
-
- width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
- height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
- } else {
- width = 200;
- height = 0;
- }
-
- obj.width = width;
- obj.height = height + 16;
-
- obj.SetControllerVisible(true);
- obj.Play();
-}
-
var inAutocomplete = false;
var lastKeyEntered = '';