summaryrefslogtreecommitdiff
path: root/modules/JWplayer/flvVideo.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/JWplayer/flvVideo.php')
-rw-r--r--modules/JWplayer/flvVideo.php28
1 files changed, 27 insertions, 1 deletions
diff --git a/modules/JWplayer/flvVideo.php b/modules/JWplayer/flvVideo.php
index 80c2c842ff..31b1d31db8 100644
--- a/modules/JWplayer/flvVideo.php
+++ b/modules/JWplayer/flvVideo.php
@@ -45,8 +45,32 @@ global $pid, $GEDCOM ;
global $flvVideo, $SERVER_URL;
$flvVideo="../../".decrypt(safe_GET('flvVideo'));
$preview="";
+// echo "<font color=white>".$flvVideo."</font>";
?>
+ <!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
+ <!--
+ <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">
+ <param name="movie" value="player.swf" />
+ <param name="allowfullscreen" value="true" />
+ <param name="allowscriptaccess" value="always" />
+ <param name="flashvars" value="file=video.flv&image=preview.jpg" />
+ <embed
+ type="application/x-shockwave-flash"
+ id="player2"
+ name="player2"
+ src="player.swf"
+ width="400"
+ height="315"
+ allowscriptaccess="always"
+ allowfullscreen="true"
+ flashvars="file=http://www.youtube.com/watch?v=TF6cnLnEARo"
+ />
+ </object>
+ -->
+ <!-- END OF THE PLAYER EMBEDDING -->
+
+
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript">
var video = "<?php print $flvVideo; ?>";
@@ -57,7 +81,9 @@ $preview="";
s1.addParam("stretching","fill");
s1.addParam("flashvars","file=" +video+ "&image=" +preview+ "&autostart=true" );
s1.write("container");
- </script>
+ </script>
+
+
</center>
</body>