summaryrefslogtreecommitdiff
path: root/js/jw_player/wmvVideo.php
diff options
context:
space:
mode:
authorBrian Holland <windmillway2@gmail.com>2010-06-10 01:22:31 +0000
committerBrian Holland <windmillway2@gmail.com>2010-06-10 01:22:31 +0000
commit53fb8e1878336f03daac72320b78c42b53631fe4 (patch)
tree900771c5083412b5c556d54c9c39b7c33b193353 /js/jw_player/wmvVideo.php
parentfa4399675fea981e83a94dddb87b86aba19b1393 (diff)
downloadwebtrees-53fb8e1878336f03daac72320b78c42b53631fe4.tar.gz
webtrees-53fb8e1878336f03daac72320b78c42b53631fe4.tar.bz2
webtrees-53fb8e1878336f03daac72320b78c42b53631fe4.zip
Fix problems with jw_player
Diffstat (limited to 'js/jw_player/wmvVideo.php')
-rw-r--r--js/jw_player/wmvVideo.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/js/jw_player/wmvVideo.php b/js/jw_player/wmvVideo.php
index 024363180d..0a815522bb 100644
--- a/js/jw_player/wmvVideo.php
+++ b/js/jw_player/wmvVideo.php
@@ -30,13 +30,13 @@
* @author Brian Holland
*/
?>
-<html xmlns="http://www.w3.org/1999/xhtml" <?php echo i18n::html_markup(); ?>>
+<html xmlns="http://www.w3.org/1999/xhtml" <?php // echo i18n::html_markup(); ?>>
<head>
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<title>JW Player for Windows Media Videos</title>
- <script type="text/javascript" src="js/jw_player/silverlight.js"></script>
- <script type="text/javascript" src="js/jw_player/wmvplayer.js"></script>
+ <script type="text/javascript" src="silverlight.js"></script>
+ <script type="text/javascript" src="wmvplayer.js"></script>
</head>
<body bgcolor="#000000">
<center>
@@ -44,18 +44,19 @@
<?php
global $pid, $GEDCOM ;
global $wmvVideo;
-$wmvVideo=decrypt(safe_GET('wmvVideo'));
+// $wmvVideo=decrypt(safe_GET('wmvVideo'));
+$wmvVideo=$_GET['wmvVideo'];
?>
<div id="myplayer">The player will be placed here</div>
<script type="text/javascript">
var elm = document.getElementById("myplayer");
- var src = 'js/jw_player/wmvplayer.xaml';
+ var src = 'wmvplayer.xaml';
var cfg = {
file:'<?php echo $wmvVideo; ?>',
<?php if (preg_match("/\.mp3$/i", $wmvVideo)) { ?>
- logo:'js/jw_player/audio.png',
+ logo:'audio.png',
<?php } ?>
autostart:'true',
overstretch:'true',