{"id":78,"date":"2026-01-11T14:30:45","date_gmt":"2026-01-11T19:30:45","guid":{"rendered":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/?post_type=chapter&#038;p=78"},"modified":"2026-01-11T21:36:52","modified_gmt":"2026-01-12T02:36:52","slug":"chapter-4-video","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/chapter\/chapter-4-video\/","title":{"raw":"Chapter 6 \u2022 Video","rendered":"Chapter 6 \u2022 Video"},"content":{"raw":"Videos play an increasingly important role in web design due to the growth of online education and retailing. Students want to learn how things work, and customers appreciate being able to judge the function and relative size and weight of products.\r\n\r\nEnabling factors for digital video include faster network speeds, higher capacity and faster disk drives, more powerful processors, and higher quality but lower cost monitors \u2014 all have made videos more popular and easier to create and view.\r\n<h2>Video Size<\/h2>\r\nVideos are made up of multiple bitmapped images, analogous to moving Photoshop images, and produce very large files. Therefore it's important to consider the appropriate resolution and length of the video before incorporating it in a web site.\r\n<table style=\"border-collapse: collapse;width: 100%;height: 60px\" border=\"0\">\r\n<thead>\r\n<tr>\r\n<th colspan=\"2\">Common Video Formats<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 15px\">\r\n<td style=\"width: 50%;height: 15px\"><em>Name<\/em><\/td>\r\n<td style=\"width: 50%;height: 15px\"><em>Resolution (px)<\/em><\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px\">\r\n<td style=\"width: 50%;height: 15px\">720<\/td>\r\n<td style=\"width: 50%;height: 15px\">1280\u00d7720<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px\">\r\n<td style=\"width: 50%;height: 15px\">HD<\/td>\r\n<td style=\"width: 50%;height: 15px\">1920\u00d71080<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px\">\r\n<td style=\"width: 50%;height: 15px\">4K<\/td>\r\n<td style=\"width: 50%;height: 15px\">3840\u00d72160<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h2>Video Editing<\/h2>\r\nEditing videos is possible with programs including Apple iMovie and Adobe Premiere. Common video edits include deleting unwanted portions or scenes, combing separate clips of scenes, and adding effects including titles, fade from black at the beginning, fade to black at the end, and transitions between scenes or clips.\r\n<h2>The &lt;video&gt; Tag<\/h2>\r\nTo place a video in the web page, use the &lt;video&gt; tag:\r\n<pre>&lt;video width=\"1280\" height=\"720\"&gt;\r\n    &lt;source src=\"video.mp4\" type=\"video\/mp4\"&gt;\r\n&lt;\/video&gt;\r\n<\/pre>\r\n<h2>Design Effects for Videos<\/h2>\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\"><em>Effect<\/em><\/td>\r\n<td style=\"width: 50%\"><em>CSS Code<\/em><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">center the video in the page<\/td>\r\n<td style=\"width: 50%\">display: block; \/* videos by default are inline elements; must set to block to center *\/\r\nmargin: 0 auto;<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">place a border around the video<\/td>\r\n<td style=\"width: 50%\">border: 1px solid darkgray;<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">place a drop shadow under the video<\/td>\r\n<td style=\"width: 50%\">box-shadow: 2px 3px 6px darkgray;<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\"><\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\"><\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h2>Large Files<\/h2>\r\nSome free publishing platforms and servers have file size limits which can be a problem for large video files. One workaround is to upload the video to YouTube and then embed the video in the web page.\r\n\r\nThis 5-min. embedded YouTube video by Toronto Metropolitan University teaching assistant Mary-Anne Buerano explains how to edit videos in both iMovie and Premiere. (Note the design effects applied to the video movie poster.)\r\n\r\n<a href=\"https:\/\/youtu.be\/tmZcl2cm2qc?si=VXn4xXPZC-FxWWOH\" target=\"_blank\" rel=\"noopener\"><img style=\"border: 1px solid darkgray;box-shadow: 2px 3px 6px darkgray\" src=\"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-content\/uploads\/sites\/449\/2026\/01\/video-editing-movieposter-300x187.jpg\" alt=\"\" width=\"640\" height=\"480\" class=\"aligncenter size-medium wp-image-85\" \/><\/a>\r\n<h2>Reference Document<\/h2>\r\nHow-to Video: rich-adams.net &gt; Completed Tutorials &gt; <a href=\"https:\/\/adamsr12.github.io\/grc365\/video.html\" target=\"_blank\" rel=\"noopener\">Video<\/a>","rendered":"<p>Videos play an increasingly important role in web design due to the growth of online education and retailing. Students want to learn how things work, and customers appreciate being able to judge the function and relative size and weight of products.<\/p>\n<p>Enabling factors for digital video include faster network speeds, higher capacity and faster disk drives, more powerful processors, and higher quality but lower cost monitors \u2014 all have made videos more popular and easier to create and view.<\/p>\n<h2>Video Size<\/h2>\n<p>Videos are made up of multiple bitmapped images, analogous to moving Photoshop images, and produce very large files. Therefore it&#8217;s important to consider the appropriate resolution and length of the video before incorporating it in a web site.<\/p>\n<table style=\"border-collapse: collapse;width: 100%;height: 60px\">\n<thead>\n<tr>\n<th colspan=\"2\">Common Video Formats<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 15px\">\n<td style=\"width: 50%;height: 15px\"><em>Name<\/em><\/td>\n<td style=\"width: 50%;height: 15px\"><em>Resolution (px)<\/em><\/td>\n<\/tr>\n<tr style=\"height: 15px\">\n<td style=\"width: 50%;height: 15px\">720<\/td>\n<td style=\"width: 50%;height: 15px\">1280\u00d7720<\/td>\n<\/tr>\n<tr style=\"height: 15px\">\n<td style=\"width: 50%;height: 15px\">HD<\/td>\n<td style=\"width: 50%;height: 15px\">1920\u00d71080<\/td>\n<\/tr>\n<tr style=\"height: 15px\">\n<td style=\"width: 50%;height: 15px\">4K<\/td>\n<td style=\"width: 50%;height: 15px\">3840\u00d72160<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Video Editing<\/h2>\n<p>Editing videos is possible with programs including Apple iMovie and Adobe Premiere. Common video edits include deleting unwanted portions or scenes, combing separate clips of scenes, and adding effects including titles, fade from black at the beginning, fade to black at the end, and transitions between scenes or clips.<\/p>\n<h2>The &lt;video&gt; Tag<\/h2>\n<p>To place a video in the web page, use the &lt;video&gt; tag:<\/p>\n<pre>&lt;video width=\"1280\" height=\"720\"&gt;\r\n    &lt;source src=\"video.mp4\" type=\"video\/mp4\"&gt;\r\n&lt;\/video&gt;\r\n<\/pre>\n<h2>Design Effects for Videos<\/h2>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\"><em>Effect<\/em><\/td>\n<td style=\"width: 50%\"><em>CSS Code<\/em><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">center the video in the page<\/td>\n<td style=\"width: 50%\">display: block; \/* videos by default are inline elements; must set to block to center *\/<br \/>\nmargin: 0 auto;<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">place a border around the video<\/td>\n<td style=\"width: 50%\">border: 1px solid darkgray;<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">place a drop shadow under the video<\/td>\n<td style=\"width: 50%\">box-shadow: 2px 3px 6px darkgray;<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\"><\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\"><\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Large Files<\/h2>\n<p>Some free publishing platforms and servers have file size limits which can be a problem for large video files. One workaround is to upload the video to YouTube and then embed the video in the web page.<\/p>\n<p>This 5-min. embedded YouTube video by Toronto Metropolitan University teaching assistant Mary-Anne Buerano explains how to edit videos in both iMovie and Premiere. (Note the design effects applied to the video movie poster.)<\/p>\n<p><a href=\"https:\/\/youtu.be\/tmZcl2cm2qc?si=VXn4xXPZC-FxWWOH\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 1px solid darkgray;box-shadow: 2px 3px 6px darkgray\" src=\"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-content\/uploads\/sites\/449\/2026\/01\/video-editing-movieposter-300x187.jpg\" alt=\"\" width=\"640\" height=\"480\" class=\"aligncenter size-medium wp-image-85\" \/><\/a><\/p>\n<h2>Reference Document<\/h2>\n<p>How-to Video: rich-adams.net &gt; Completed Tutorials &gt; <a href=\"https:\/\/adamsr12.github.io\/grc365\/video.html\" target=\"_blank\" rel=\"noopener\">Video<\/a><\/p>\n","protected":false},"author":6,"menu_order":6,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-78","chapter","type-chapter","status-publish","hentry"],"part":3,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/pressbooks\/v2\/chapters\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":13,"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/pressbooks\/v2\/chapters\/78\/revisions"}],"predecessor-version":[{"id":141,"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/pressbooks\/v2\/chapters\/78\/revisions\/141"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/pressbooks\/v2\/chapters\/78\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/pressbooks\/v2\/chapter-type?post=78"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/wp\/v2\/contributor?post=78"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/webdesign2\/wp-json\/wp\/v2\/license?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}