Starting in "browser fullscreen"
Tue, 07/27/2010 - 16:07
jonwaller
Offline
Last seen: 1 year 27 weeks ago
Joined: 07/27/2010
I've downloaded and set up the player using PHP. It works great - well done for your hard work!
It is currently a 550x400 box on my page. Is it possible to start the player in "fullscreen browser" mode, such as you get when clicking the button on the top right? I've nothing else on my page, and if possible want people to stay in this "browser fullscreen" mode.
Any suggestions? I'd love a parameter such as "startFullscreen = true" or something like that. :)
Thanks
Jonathan
Fri, 12/23/2011 - 11:34
#2
shantelle1109
Offline
Last seen: 4 weeks 1 day ago
Joined: 12/23/2011
The issue of overall quality
The issue of overall quality aside, OSS has four inherent advantages over proprietary software. First, open-source software is considerably less expensive than proprietary alternatives.-Randall Alifano




You will need to do this in code. Maybe something like this....
<?phpinclude("OSMPlayer.php");
$player = new OSMPlayer(array(
'playlist' => 'playlist.xml'
));
?>
<html>
<head>
<title>Open Standard Media (OSM) Player: PHP Demo</title>
<script type="text/javascript" src="jquery-ui/js/jquery.js"></script>
<?php print $player->getHeader(); ?>
</head>
<body>
<h2>Open Standard Media (OSM) Player</h2><br/>
<?php print $player->getPlayer(); ?>
<script type="text/javascript">
jQuery(document).ready(function() {
// make the player full screen at the start.
jQuery.media.players.player.node.player.fullScreen( true );
}
</script>
</body>
</html>
International Open Source Solutions
What can Alethia build for you?