| 1 | <?xml version="1.0"?> |
|---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|---|
| 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|---|
| 5 | <head> |
|---|
| 6 | <script type="text/javascript" src="swfobject.js"></script> |
|---|
| 7 | <title>EngageMedia full screen</title> |
|---|
| 8 | <meta name="ROBOTS" content="ALL" /> |
|---|
| 9 | <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /> |
|---|
| 10 | <style type="text/css" title="currentStyle"> |
|---|
| 11 | html, object, embed { |
|---|
| 12 | width: 100%; |
|---|
| 13 | height: 100%; |
|---|
| 14 | margin: 0px; |
|---|
| 15 | padding: 0px; |
|---|
| 16 | } |
|---|
| 17 | body { |
|---|
| 18 | min-width: 120px; /* 2x LC width + RC width */ |
|---|
| 19 | height: 100%; |
|---|
| 20 | padding: 0px; |
|---|
| 21 | margin: 0px; |
|---|
| 22 | background-color: white; |
|---|
| 23 | } |
|---|
| 24 | #container { |
|---|
| 25 | padding-left: 0px; /* LC width */ |
|---|
| 26 | height: 100%; |
|---|
| 27 | } |
|---|
| 28 | #container .column { |
|---|
| 29 | position: relative; |
|---|
| 30 | float: left; |
|---|
| 31 | } |
|---|
| 32 | #center { |
|---|
| 33 | width: 100%; |
|---|
| 34 | height: 100%; |
|---|
| 35 | } |
|---|
| 36 | </style> |
|---|
| 37 | </head> |
|---|
| 38 | <body bgcolor="#CCCCCC"> |
|---|
| 39 | <div id="container"> |
|---|
| 40 | |
|---|
| 41 | <div id="center" class="column"> |
|---|
| 42 | This will be replaced by the player. |
|---|
| 43 | </div> |
|---|
| 44 | <script type="text/javascript"> |
|---|
| 45 | // <![CDATA[ |
|---|
| 46 | // parse config object from the URL |
|---|
| 47 | var regexS = "[\\?]config=([^#]*)"; |
|---|
| 48 | var regex = new RegExp(regexS); |
|---|
| 49 | var tmpURL = window.location.href; |
|---|
| 50 | var config = regex.exec(tmpURL)[1]; |
|---|
| 51 | var fo = new SWFObject("FlowPlayer.swf", "FlowPlayer", "100%", "100%", "7", "#ffffff", true); |
|---|
| 52 | // need this next line for local testing, it's optional if your swf is on the same domain as your html page |
|---|
| 53 | fo.addParam("AllowScriptAccess", "always"); |
|---|
| 54 | fo.addParam("flashVars", "config=" + config); |
|---|
| 55 | fo.write("center"); |
|---|
| 56 | // ]]> |
|---|
| 57 | </script> |
|---|
| 58 | |
|---|
| 59 | </div> |
|---|
| 60 | </body> |
|---|
| 61 | </html> |
|---|