{"id":58,"date":"2012-03-05T22:51:57","date_gmt":"2012-03-05T22:51:57","guid":{"rendered":"http:\/\/sites.la.utexas.edu\/kb\/?p=58"},"modified":"2020-06-15T18:57:25","modified_gmt":"2020-06-15T18:57:25","slug":"cola-homepage-video-podcast-update","status":"publish","type":"post","link":"http:\/\/sites.la.utexas.edu\/kb\/2012\/03\/05\/cola-homepage-video-podcast-update\/","title":{"rendered":"COLA Homepage Video Podcast Update"},"content":{"rendered":"<p>How to upload videos and images for the video podcast section of <a href=\"http:\/\/www.utexas.edu\/cola\">COLA homepage<\/a> through <a href=\"https:\/\/cms.la.utexas.edu\/login.act\">Cascade<\/a>. Note that these steps are specific to updating <strong>JW Players<\/strong> versus <a href=\"http:\/\/sites.la.utexas.edu\/kb\/2012\/04\/03\/embedding-a-youtube-video-into-cascade\/\">Youtube Embedded Videos<\/a>.<\/p>\n<p>You will be working with the &#8216;HTML Source Editor&#8221; function in Cascade. To change the video specifically, the following code will be modified. Specifically the paths in red, green, and blue:<\/p>\n<div><span style=\"color: #999999\">&lt;h2&gt;Title&lt;\/h2&gt;<\/span><\/div>\n<address><strong><span style=\"color: #999999\">&lt;!&#8211;#START-CODE\u00a0<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">&lt;script type=&#8221;text\/javascript&#8221;&gt;\u00a0<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">jwplayer(&#8220;container_hp&#8221;).<\/span><\/strong><strong><span style=\"color: #999999\">setup({\u00a0<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">flashplayer: &#8220;<span style=\"color: #999999\">http:\/\/media.la.utexas.edu:8080\/jwplayer\/player.swf<\/span>&#8220;,\u00a0<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">file: &#8220;<span style=\"color: #ff0000\"><span style=\"color: #ff0000\">http:\/\/media.la.utexas.edu:8080\/colasites\/homepage\/clip_03_2012-10-25.mp4<\/span><\/span>&#8220;,\u00a0<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">height: 153,\u00a0<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">width: 272,<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">&#8216;image&#8217;: &#8216;<span style=\"color: #339966\">http:\/\/media.la.utexas.edu:8080\/colasites\/homepage\/tpp_issenberg.jpg<\/span>&#8216;,<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">&#8216;controlbar.position&#8217;: &#8220;bottom&#8221;,<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">&#8216;controlbar.idlehide&#8217;: &#8220;true&#8221;,<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">&#8216;controlbar.position&#8217;: &#8220;over&#8221;,<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">&#8216;controlbar.margin&#8217;: 0,<\/span><\/strong><\/address>\n<address>\u00a0<\/address>\n<address><strong><span style=\"color: #999999\">&#8216;skin&#8217;: &#8216;<span style=\"color: #999999\">http:\/\/media.la.utexas.edu:8080\/jwplayer\/skins\/five\/five.zip<\/span>&#8216;,<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">plugins: {<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">\u00a0 \u00a0 \u00a0\u00a0\u00a0&#8216;captions-2&#8217;: {back: &#8216;false&#8217;, state: &#8216;false&#8217;, file: &#8216;<span style=\"color: #999999\"><span style=\"color: #3366ff\">http:\/\/media.la.utexas.edu:<\/span><span style=\"color: #3366ff\">8080\/colasites\/homepage\/clip_<\/span><span style=\"color: #3366ff\">03_2012-10-25.srt<\/span><a href=\"http:\/\/media.la.utexas.edu:8080\/colasites\/homepage\/clip_03_2012-10-25.srt'\" target=\"_blank\" rel=\"noopener\">&#8216;<\/a><\/span>},<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">\u00a0 \u00a0 \u00a0 \u00a0&#8216;gapro-2&#8217;: {<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">\u00a0 \u00a0 \u00a0 \u00a0}}<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">});\u00a0<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">&lt;\/script&gt;<\/span><\/strong><\/address>\n<address><strong><span style=\"color: #999999\">#END-CODE&#8211;&gt;<\/span><\/strong><\/address>\n<div><span style=\"color: #999999\">&lt;p&gt;DESCRIPTION&lt;\/p&gt;<\/span><\/div>\n<div><\/div>\n<h1><\/h1>\n<h1>1) Change the Video File<\/h1>\n<p>The section of code highlight in <span style=\"color: #ff0000\">red<\/span> denotes the path to the video file. To change the video intended, you would just need to change the path to the new video file (mp4):<\/p>\n<p>1. Find video and change what follows the &#8220;file:&#8221; section of the code.<\/p>\n<ul>\n<li>If video is hosted on our server:\n<ul>\n<li>Find video file and copy to folder: Media &gt; colasites &gt; streams &gt; homepage<\/li>\n<li>Change file path in code: <span style=\"color: #ff0000\">http:\/\/media.la.utexas.edu:8080\/colasites\/homepage\/clip_03_2012-10-25.mp4<\/span><\/li>\n<\/ul>\n<\/li>\n<li>If video is hosted by Youtube:<br \/>\nChange file path in code to the proper youtube link. Remember to use the long ling: <span style=\"color: #ff0000\">http:\/\/www.youtube.com\/watch?v=FuOGpzSYxt8<\/span><br \/>\n<span style=\"color: #ff0000\"><a href=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2012\/03\/Screen-shot-2012-12-06-at-11.16.22-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-653 aligncenter\" title=\"YouTube Long Link\" src=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2012\/03\/Screen-shot-2012-12-06-at-11.16.22-AM.png\" alt=\"\" width=\"664\" height=\"404\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2012\/03\/Screen-shot-2012-12-06-at-11.16.22-AM.png 664w, http:\/\/sites.la.utexas.edu\/kb\/files\/2012\/03\/Screen-shot-2012-12-06-at-11.16.22-AM-300x182.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a><\/span><\/li>\n<li>If video is a Know Event Video:\n<ul>\n<li>View Know event &#8220;page source&#8221;<\/li>\n<li>Find &#8220;sef&#8221;<\/li>\n<li>Look for something like &#8220;\/opa\/video\/closeup\/2012\/2012_election_casellas.mp4&#8221;<\/li>\n<li>Input www.utexas.edu\/ with &#8220;opa\/video\/closeup\/2012\/2012_election_casellas.mp4&#8221; found and see if it will link to the video<\/li>\n<li>Ultimate file link should look like: &#8220;http:\/\/www.utexas.edu\/opa\/video\/closeup\/2012\/2012_election_casellas.mp4&#8221;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h1><\/h1>\n<h1>2) Change the Cover Image<\/h1>\n<p>The section of code highlight in <span style=\"color: #339966\">green<\/span> denotes the path to the cover image (jpg). To change the image intended, you would just need to change the path to the jpg file:<\/p>\n<h2>A) Creating Cover Image for the Video<\/h2>\n<p>For every video posted there should be a stagnant cover image representative of the video. Here&#8217;s how you do it:<\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li>Extract cover image from video via screenshots<\/li>\n<li>Place screenshot in the photoshop file with the set dimensions of\u00a0 153px by 272px. Here is a sample of the correct dimensions:<br \/>\n<a href=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2012\/03\/jwplayer_postercard_TEMPLATE.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-654 aligncenter\" title=\"jwplayer_postercard_TEMPLATE\" src=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2012\/03\/jwplayer_postercard_TEMPLATE.jpg\" alt=\"\" width=\"272\" height=\"153\" \/><\/a><\/li>\n<li>Drag into Photoshop to use as a template.<\/li>\n<li>Size accordingly so your image is properly set.<\/li>\n<li>&#8216;Save for Web &amp; Devices&#8217; located under photoshop files toolbar<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2>B) Change Image Path<\/h2>\n<ul>\n<li>If image needs to be hosted:\n<ul>\n<li>Add to folder: Media &gt; colasites &gt; streams &gt; homepage<\/li>\n<li>Change image path in code:\u00a0<span style=\"color: #339966\">http:\/\/media.la.utexas.edu:8080\/colasites\/homepage\/tpp_<\/span><span style=\"color: #339966\">issenberg.jpg<\/span><\/li>\n<\/ul>\n<\/li>\n<li>If image is already hosted elsewhere, change code to the image url<\/li>\n<\/ul>\n<h1><\/h1>\n<h1>3) Change Corresponding Caption File<\/h1>\n<p>The section of code highlight in <span style=\"color: #3366ff\">blue<\/span> denotes the path to the corresponding caption file (srt). To change the image intended, you would just need to change the path to the srt file:<\/p>\n<p>Add the path to the caption file:<\/p>\n<ul>\n<li>Find video file and copy to folder: Media &gt; colasites &gt; streams &gt; homepage<\/li>\n<li>Change file path in code: <span style=\"color: #3366ff\">http:\/\/media.la.utexas.edu:8080\/colasites\/homepage\/clip_03_2012-10-25.srt<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to upload videos and images for the video podcast section of COLA homepage through Cascade. Note that these steps are specific to updating JW Players versus Youtube Embedded Videos. You will be working with the &#8216;HTML Source Editor&#8221; function &hellip; <a href=\"http:\/\/sites.la.utexas.edu\/kb\/2012\/03\/05\/cola-homepage-video-podcast-update\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":182,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[227824],"tags":[139730,29704,334],"class_list":["post-58","post","type-post","status-publish","format-standard","hentry","category-cascade","tag-cascade-cms","tag-tutorials","tag-video"],"_links":{"self":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/users\/182"}],"replies":[{"embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":12,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/58\/revisions"}],"predecessor-version":[{"id":1825,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/58\/revisions\/1825"}],"wp:attachment":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/media?parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/categories?post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/tags?post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}