Jan 28, 2010; 18:11
Paul Dougherty
this is how iWeb embeds an mp4
Print
This is how iWeb embeds a mp4 - in this example a video file called "MJ mens for iPhone.m4v" (Apple's version of mp4 extension) I removed the http because the I got this bounce msg from the List " It has the content-type: multipart/alternative, and this list accepts text only" I'm a code dummy but it's interesting to me that I don't see the file name in here, even though the test page loaded with a video & controller just fine in Safari doing a local test. How do they do it? Paul <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ..w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=".w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="Generator" content="iWeb 3.0.1" /> <meta name="iWeb-Build" content="local-build-20100128" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta name="viewport" content="width=700" /> <title>My Movie</title> <link rel="stylesheet" type="text/css" media="screen,print" href="iWeb_vid_test_files/iWeb_vid_test.css" /> <!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='iWeb_vid_test_files/iWeb_vid_testIE.css'/><![endif]--> <!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]--> <script type="text/javascript" src="Scripts/iWebSite.js"></script> <script type="text/javascript" src="Scripts/Widgets/SharedResources/WidgetCommon.js"></script> <script type="text/javascript" src="Scripts/Widgets/Navbar/navbar.js"></script> <script type="text/javascript" src="iWeb_vid_test_files/iWeb_vid_test.js"></script> </head> <body style="background: rgb(255, 255, 255); margin: 0pt; " onload="onPageLoad();" onunload="onPageUnload();"> <div style="text-align: center; "> <div style="margin-bottom: 0px; margin-left: auto; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word; background: rgb(255, 255, 255); text-align: left; width: 700px; " id="body_content"> <div style="margin-left: 0px; position: relative; width: 700px; z-index: 0; " id="nav_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> <div class="com-apple-iweb-widget-navbar flowDefining" id="widget0" style="margin-left: 35px; margin-top: 0px; opacity: 1.00; position: relative; width: 630px; z-index: 1; "> <div id="widget0-navbar" class="navbar"> <div id="widget0-bg" class="navbar-bg"> <ul id="widget0-navbar-list" class="navbar-list"> <li></li> </ul> </div> </div> </div> <script type="text/javascript"><!--//--><![CDATA[//><!-- new NavBar('widget0', 'Scripts/Widgets/Navbar', 'Scripts/Widgets/SharedResources', '.', {"path-to-root": "", "navbar-css": ".navbar {\n\tfont-family: Arial, sans-serif;\n\tfont-size: 1em;\n\tcolor: #666;\n\tmargin: 9px 0px 6px 0px;\n\tline-height: 30px;\n}\n\n.navbar-bg {\n\ttext-align: center;\n}\n\n.navbar-bg ul {\n\tlist-style: none;\n\tmargin: 0px;\n\tpadding: 0px;\n}\n\n\nli {\n\tlist-style-type: none;\n\tdisplay: inline;\n\tpadding: 0px 10px 0px 10px;\n}\n\n\nli a {\n\ttext-decoration: none;\n\tcolor: #666;\n}\n\nli a:visited {\n\ttext-decoration: none;\n\tcolor: #666;\n}\n\nli a:hover\r{\r\n \tcolor: #463C3C;\n\ttext-decoration: none;\r}\n\n\nli.current-page a\r{\r\t color: #463C3C;\n\ttext-decoration: none;\n\tfont-weight: bold;\r\r}", "current-page-GUID": "56DC3904-F65C-42AA-BA19-76ECDF8EB180", "isCollectionPage": "NO"}); //--><!]]></script> <div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div> </div> <div style="height: 73px; margin-left: 0px; position: relative; width: 700px; z-index: 10; " id="header_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> <div id="id1" style="height: 50px; left: 35px; position: absolute; top: 23px; width: 630px; z-index: 1; " class="style_SkipStroke shape-with-text"> <div class="text-content style_External_630_50" style="padding: 0px; "> <div class="style"> <p style="padding-bottom: 0pt; padding-top: 0pt; " class="Header">My Movie</p> </div> </div> </div> <div style="height: 1px; width: 630px; height: 1px; left: 35px; position: absolute; top: 3px; width: 630px; z-index: 1; " class="tinyText"> <div style="position: relative; width: 630px; "> <img src="iWeb_vid_test_files/shapeimage_1.jpg" alt="" style="height: 1px; left: 0px; position: absolute; top: 0px; width: 630px; " /> </div> </div> </div> <div style="margin-left: 0px; position: relative; width: 700px; z-index: 5; " id="body_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> <div style="height: 1px; line-height: 1px; " class="tinyText"> </div> <div style="margin-left: 190px; margin-top: 319px; position: relative; width: 320px; z-index: 1; " class="style_SkipStroke_1 shape-with-text flowDefining"> <div class="text-content style_External_320_313" style="padding: 0px; "> <div class="style"> <p style="padding-bottom: 0pt; padding-top: 0pt; " class="Body">Lorem ipsum dolor sit amet, ligula suspendisse nulla pretium, rhoncus tempor placerat fermentum, enim integer ad vestibulum volutpat. Nisl rhoncus turpis est, vel elit, congue wisi enim nunc ultricies sit, magna tincidunt. Maecenas aliquam maecenas ligula nostra, accumsan taciti. Sociis mauris in integer, a dolor netus non dui aliquet, sagittis felis sodales, dolor sociis mauris, vel eu libero cras. Interdum at. Eget habitasse elementum est, ipsum purus pede porttitor class, ut adipiscing, aliquet sed auctor, imperdiet arcu per diam dapibus libero duis. Enim eros in vel, volutpat nec pellentesque leo, temporibus scelerisque nec.</p> </div> </div> </div> <script type="text/javascript"><!-- writeMovie1(); --></script> <div id="id3" style="height: 32px; left: 190px; position: absolute; top: 288px; width: 320px; z-index: 1; " class="style_SkipStroke_2 shape-with-text"> <div class="text-content graphic_shape_layout_style_default_External_320_32" style="padding: 0px; "> <div class="graphic_shape_layout_style_default"> <p style="padding-bottom: 0pt; padding-top: 0pt; " class="Title">Let the race begin</p> </div> </div> </div> <div style="height: 0px; line-height: 0px; " class="spacer"> </div> </div> <div style="height: 150px; margin-left: 0px; position: relative; width: 700px; z-index: 15; " id="footer_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> <a href="://apple.com/mac" title="://apple.com/mac"><img src="iWeb_vid_test_files/mwmac.png" alt="Made on a Mac" style="border: none; height: 50px; left: 280px; opacity: 0.35; position: absolute; top: 74px; width: 139px; z-index: 1; " id="id4" /> </a> </div> </div> </div> </body> </html> -- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/GoLive/Browse/ Manage your subscription: http://www.ListSearch.com/GoLive/