Personal tools
CPCC Home eLearning Orientation → Module One Module One Lecture
Document Actions

Module One Lecture

last modified 2006-11-01 06:30

Click here to get the file

Size 8.8 kB - File type text/html

File contents

<html>
	<head>
		<title></title>
<meta name="keywords" content="PowerPoint to Flash,Convert PowerPoint to flash,Flash Presentations,Flash Presentation,PowerPoint Flash,PPT to SWF Converter,PowerPoint to Macromedia Flash Converter,Flash Slideshow,PowerPoint Flash,PowerPoint to SWF,PowerPoint in Flash,PPT to Flash."/>
<meta name="description" content="SameShow - PowerPoint to Flash Converter to help you convert your PowerPoint to flash"/>
<meta name="Robots" Content="index,follow"/>
<meta name="Presentation Title" content="Module1_Lecture_v2"/>
<meta name="Video Name" content="Module1_Lecture_v2.wmv"/><meta name="Video Duration" content="00:04:47.091"/><meta name="PowerPoint Duration" content="00:04:47.091"/>
<meta name="Total Slides" content="10"/>

		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</head>
	<body>
		<table align="center" bgcolor="#ffffff"  border="0" width="764" align="center" cellpadding="0"
			cellspacing="0" ID="Table1">
			
			<script>			
					function redirect()
					{ //Function changed by Amit to differentiate the flow on HTTP anf File Protocol
						//alert(document.protocol);
						var PlayLocation = document.protocol;
						if(PlayLocation == "HyperText Transfer Protocol")
						{
							location.replace("preloader.html");
						}
						else
						{
							location.replace("frame.html");
						}
						//To buffer all the slides first
						//location.replace("frame.html");		
						//location.replace("preloader.html");
					}	
			
			//check if user has IE 5.5 or above installed.
			function detectBrowser()
			{
				version=0;
				if ((navigator.appVersion.indexOf("MSIE")!=-1)&&(navigator.userAgent.indexOf("Opera")==-1))
				{
				temp=navigator.appVersion.split("MSIE")
				version=parseFloat(temp[1])
				}
				
				if (version>=5.5) //NON IE browser will return 0
				{
					
					return true;
				}
				else
				{
					return false;
				} 

			}			
			//Detect ActiveX Architecture on Both IE and on Gecko
			//Defer to plugin architecture for other browsers

			function detectWMP()
			{
				var wmpInfo = 
				{
					installed: false,
					scriptable: false,
					type: null,
					versionInfo: null
				};
				var wmp64 = "MediaPlayer.MediaPlayer.1";
				var wmp7 = "WMPlayer.OCX.7";
				if((window.ActiveXObject && navigator.userAgent.indexOf('Windows') != -1) || window.GeckoActiveXObject)
				{
					wmpInfo.type = "ActiveX";
					var player = createActiveXObject(wmp7);
					if(player)
					{
						wmpInfo.installed = true;
						wmpInfo.scriptable = true;
						wmpInfo.versionInfo = player.versionInfo;
						return wmpInfo;						
					}
					else
					{
						player = createActiveXObject(wmp64);
						if(player)
						{
							wmpInfo.installed = true;
							wmpInfo.scriptable = true;
							wmpInfo.versionInfo = "6.4";
							return wmpInfo;							
						}
						else
						{
							wmpInfo.versionInfo = "none";
							return wmpInfo;
						}
					}
				}
				else if(navigator.mimeTypes)
				{
					wmpInfo.type = "NetscapePlugin";
					var player = navigator.mimeTypes['application/x-mplayer2'].enabledPlugin;
					if(player)
					{	
						
						wmpInfo.installed = true;
						wmpInfo.versionInfo = "PluginVersion";
						return wmpInfo;
						alert(wmpInfo.versionInfo )
					}
					return wmpInfo;
				}
				
			}
			function createActiveXObject(id)
			{
			var error;
			var control = null;

			try
			{
				if (window.ActiveXObject)
				{
				control = new ActiveXObject(id);
				}
				else if (window.GeckoActiveXObject)
				{
				control = new GeckoActiveXObject(id);
				}
			}
			catch (error)
			{
				;
			}
			return control;
			}
				
			//To check the compatibility of the system 
			function checkCompatibility()
			{
			   	var browserType = detectBrowser();
				if(!browserType)
				{	
					document.write("<br><br><br><br><br><table width='390' border='0' cellpadding='0' cellspacing='0' align='center' valign='center'> <tr><td height='50' colspan='3'><strong><font face='Arial, Helvetica, sans-serif'>You need Microsoft Internet Explorer 5.5 or above to view Windows Media Presentations</font></strong></td> </tr>  <tr>  <td width='0'>&nbsp;</td>    <td colspan='2' height='25'><strong>To check the version of Internet Explorer</strong></td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td> >> Click on Help on Internet Explorer's main menu</td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>>> Select 'About Internet Explorer' option</td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td width='500'> >> Verify the version of Internet Explorer. It should be 5.5 or higher.</td>  </tr>  <tr>    <td>&nbsp;</td>    <td colspan='2' height='25'><strong>To Open Windows Media Presentations using Internet Explorer</strong></td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>>> Right Click on index.html file in the Presentation folder</td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>>> Click on 'Open With' option</td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>>> Select Microsoft Internet Explorer from the list.</td>  </tr>  <tr>    <td>&nbsp;</td>    <td colspan='2' height='25'><strong>To Set Microsoft Internet Explorer as your default browser</strong></td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>>> Right Click on any html file</td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>> >Click on 'Open With' option</td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>>> Select Microsoft Internet Explorer from the list</td>  </tr>  <tr>    <td colspan='2'>&nbsp;</td>    <td>>> Click on the checkbox adjacent to Always Use the Selected program to open these type of files option.</td>  </tr></table> ");
					
				}
				else 
				{
					var detectionResults = detectWMP();
					majorVer = new String(detectionResults.versionInfo);
					ver = Number(majorVer.substr(0,2));
					if((detectionResults.installed) && (detectionResults.scriptable) && (ver >= 8))
					{
						redirect();
					}
					else 
					{
					
						document.write("<br>");
						document.write("<br>");
						document.write("<br>");
						document.write("<br>");
						document.writeln("<tr height='60'>");
						document.write('<td align="left" font size="20" valign="center" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>You need minimum Windows Media Player 8 to view HTML output.</b></td>');
						document.writeln("</tr>");
						document.write("<br>");
						document.writeln("<tr height='60'>");
						document.write('<td align="left" valign="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Your present configuration is ..........</b></td>');
						document.writeln("</tr>");
						document.writeln("<tr>");
						document.write('<td align="left" valign="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Browser architecture supports:......................................................................<b> '+ detectionResults.type + '</b></td>');
						document.writeln("</tr>");
						document.writeln("<tr >");
						document.write('<td align="left" valign="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Browser architecture supports: Windows Media Player Installed: ..........................<b>' + detectionResults.installed + '</b> </td>');
						document.writeln("</tr>");
						document.writeln("<tr >");
						document.write('<td align="left" valign="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Browser architecture supports: Windows Media Player Installed:...........................<b>' + detectionResults.installed + '</b> </td>');
						document.writeln("</tr>");
						if(detectionResults.installed)
						{
							document.writeln("<tr >");
							document.write('<td align="left" valign="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows Media Scriptable:..................................................................................<b>' + detectionResults.scriptable +'</b></td>');
							document.writeln("</tr>");
							document.writeln("<tr >");
							document.write('<td align="left" valign="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows Media Version:.......................................................................... <b>' + detectionResults.versionInfo +'</b></td>');
							document.writeln("</tr>");
						
						}
					}
				}
			}
			</script>
			<script>
						checkCompatibility();
			</script>
		</table>
	</body>

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: