How to change the grey background into white ?

Q&A about the latest versions
Post Reply
micha22
Posts: 5
Joined: Wed Dec 29, 2010 12:54 am

Hello,

can anybody tell me how to change the grey backgrond of the player-window, wich is visible around the picture in fullscreen, into white ?

Best Michael
User avatar
Hopki
Gnome
Posts: 13022
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi
The following html will position the object in the centre of the page and with a white background when in fullscreen mode, the fullscreen code is also provided.
Regards
Hopki

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
      <title></title>
      <script type="text/javascript" src="p2q_embed_object.js">
      </script>
      <style type="text/css" title="Default">
         body, div, h1, h2, h3, span, p {
            font-family: Verdana,Arial,Helvetica,sans-serif;
            color: #000000; 
         }
         html, body {
            margin:0;
            padding:0;
            border:0;
            height:100%;
            overflow: hidden;
            font-size: 10pt;
            background : #ffffff; 
         }
         h1 {
            font-size: 18pt;
         }
         h2 {
            font-size: 14pt;
         }
         .warning {
            font-weight: bold;
         }
      </style>   
   </head>
   <body>
      <script type="text/javascript">
<!--
         if ((window.p2q_Version) && (window.p2q_Version>=2.0)) {
            // Check to see if the version meets the requirements for playback
            var flashvars="";
         p2q_EmbedFlash('object.swf','100%','100%','allowFullScreen','true','bgcolor','000000','trapallkeys','true','FlashVars');
            
            if (!DetectFlashVer(9,0,0)) {
               document.write('<p class="warning">This content requires Adobe Flash Player Version 9 or higher. '
                         + '<a href="http://www.adobe.com/go/getflash/">Get Flash<\/a><\/p>');
            }
         } else {
            document.writeln('<p class="warning">p2q_embed_object.js is not included or it is too old! Please copy this file into your html directory.<\/p>');
         }
//-->
      </script>
      
   </body>
</html>
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
micha22
Posts: 5
Joined: Wed Dec 29, 2010 12:54 am

Hello Hopki,
thanks a lot!!!!
I thought the backgound was part of the swf-file.

Best michael
Post Reply