Permalink
Browse files

removed object tags. I'm thinking to return to frameset...

  • Loading branch information...
1 parent 530c61a commit 6703e4af2d180df42a7ad05032f0dc2dac084fd4 bobopinna committed Aug 4, 2006
Showing with 0 additions and 32 deletions.
  1. +0 −32 mod/scorm/player.php
View
@@ -219,8 +219,6 @@
<?php
if ($result->prerequisites) {
if ($scorm->popup == 0) {
- if (strpos('MSIE',$_SERVER['HTTP_USER_AGENT']) === false) {
- /// Internet Explorer does not has full support to objects
?>
<iframe id="main"
class="scoframe"
@@ -229,18 +227,6 @@ class="scoframe"
src="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr ?>">
</iframe>
<?php
- } else {
-?>
- <object id="main"
- class="scoframe"
- width="<?php echo $scorm->width<=100 ? $scorm->width.'%' : $scorm->width ?>"
- height="<?php echo $scorm->height<=100 ? $scorm->height.'%' : $scorm->height ?>"
- data="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr ?>"
- type="text/html">
- <?php print_string('noobjectsupport', 'scorm'); ?>
- </object>
-<?php
- }
} else {
?>
<script lanuguage="javascript">
@@ -268,30 +254,12 @@ function openpopup(url,name,options,width,height) {
var main = openpopup(url, "<?php p($scorm->name) ?>", "<?php p($scorm->options) ?>", width, height);
</script>
<noscript>
-<?php
- if (strpos('MSIE',$_SERVER['HTTP_USER_AGENT']) === false) {
- /// Internet Explorer does not has full support to objects
-?>
<iframe id="main"
class="scoframe"
width="<?php echo $scorm->width<=100 ? $scorm->width.'%' : $scorm->width ?>"
height="<?php echo $scorm->height<=100 ? $scorm->height.'%' : $scorm->height ?>"
src="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr ?>">
</iframe>
-<?php
- } else {
-?>
- <object id="main"
- class="scoframe"
- width="<?php echo $scorm->width<=100 ? $scorm->width.'%' : $scorm->width ?>"
- height="<?php echo $scorm->height<=100 ? $scorm->height.'%' : $scorm->height ?>"
- data="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr ?>"
- type="text/html">
- <?php print_string('noobjectsupport', 'scorm'); ?>
- </object>
-<?php
- }
-?>
</noscript>
<?php
}

0 comments on commit 6703e4a

Please sign in to comment.