{"id":46040,"date":"2015-04-07T01:24:54","date_gmt":"2015-04-07T05:24:54","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=46040"},"modified":"2015-07-01T10:55:16","modified_gmt":"2015-07-01T14:55:16","slug":"js-animated-how-to-manage-video-samples","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/js-animated-how-to-manage-video-samples.html","title":{"rendered":"JS Animated. How to manage video samples"},"content":{"rendered":"<p>Hello! This tutorial shows how to manage video samples in JS Animated templates.<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=CvWM_tVB-_4?width=1280&amp;height=720\" rel=\"prettyPhoto\">JS Animated. How to manage video samples<\/a>\r\n\r\n<p>You may want to replace both video thumbnail and a video itself in your template:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_1-300x169.png\" alt=\"js_animated_how_to_manage_video_samples_1\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-46041\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_1-300x169.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_1-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_1.png 999w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>Let&#8217;s learn how to do this.<\/p>\r\n<p>First, let&#8217;s change the video sample thumbnail with your own image:<\/p>\r\n<ol>\r\n<li>\r\n<p>Upload your image to the <strong>\/img\/<\/strong> directory, let&#8217;s say, the image is named <strong>my_own_image.jpg<\/strong>.<\/p><\/li>\r\n<li>\r\n<p>Locate the <strong>.html<\/strong> file which contains video samples, in our case it is <strong>index.html<\/strong> file.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Open the file for editing and find video samples code, it will look similar to the following one:<\/p>\r\n<pre class=\"brush:html\">\r\n&lt;h2&gt;&lt;strong&gt;Video Samples&lt;\/strong&gt;&lt;span&gt;&lt;\/span&gt;&lt;\/h2&gt;\r\n&lt;div class=&quot;container&quot;&gt;\r\n&lt;div class=&quot;row&quot;&gt;\r\n&lt;div class=&quot;col-lg-12&quot;&gt;\r\n&lt;div class=&quot;list_carousel2 responsive clearfix&quot;&gt;\r\n&lt;ul id=&quot;foo2&quot;&gt;\r\n&lt;li&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic1.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;01\/&lt;\/span&gt; animals&lt;\/p&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic4.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;04\/&lt;\/span&gt; presentations&lt;\/p&gt;\r\n&lt;\/li&gt;\r\n&lt;li&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic2.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;02\/&lt;\/span&gt; sport&lt;\/p&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic5.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;05\/&lt;\/span&gt; flowers&lt;\/p&gt;\r\n&lt;\/li&gt;\r\n&lt;li&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic3.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;03\/&lt;\/span&gt; Advertising&lt;\/p&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic6.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;06\/&lt;\/span&gt; fashion&lt;\/p&gt;\r\n&lt;\/li&gt;\r\n&lt;li&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic2.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;02\/&lt;\/span&gt; sport&lt;\/p&gt;\r\n&lt;figure&gt;&lt;a class=&quot;various iframe&quot; href=&quot;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&quot;&gt;\r\n&lt;img src=&quot;img\/page1_pic5.jpg&quot; alt=&quot;&quot;&gt;&lt;em&gt;&lt;\/em&gt;&lt;\/a&gt;&lt;\/figure&gt;\r\n&lt;p class=&quot;title&quot;&gt;&lt;span&gt;05\/&lt;\/span&gt; flowers&lt;\/p&gt;\r\n&lt;\/li&gt;\r\n&lt;\/ul&gt;\r\n&lt;hr&gt;\r\n&lt;div class=&quot;list_btn2&quot;&gt;\r\n&lt;a id=&quot;prev2&quot; class=&quot;prev&quot; href=&quot;#&quot;&gt;&lt;\/a&gt;\r\n&lt;a id=&quot;next2&quot; class=&quot;next&quot; href=&quot;#&quot;&gt;&lt;\/a&gt;\r\n&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\r\n<\/li>\r\n<li>\r\n  <p>Let&#8217;s change the first video thumbnail by editing the following code:<\/p>\r\n<pre class=\"brush:html\">&lt;img src=&quot;img\/page1_pic2.jpg&quot; alt=&quot;&quot;&gt;<\/pre>\r\n<\/li>\r\n<\/ol>\r\n<p>Simply change the <strong>img\/page1_pic2.jpg<\/strong> code to <strong>img\/my_own_image.jpg<\/strong> one:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_2.png\" alt=\"js_animated_how_to_manage_video_samples_2\" width=\"254\" height=\"26\" class=\"aligncenter size-full wp-image-46042\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_2.png 254w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_2-150x15.png 150w\" sizes=\"(max-width: 254px) 100vw, 254px\" \/><\/a>\r\n<p>Save the file and refresh the page to see the thumbnail is successfully replaced:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_3-300x169.png\" alt=\"js_animated_how_to_manage_video_samples_3\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-46043\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_3-300x169.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_3-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_3.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>Now, when the video thumbnail is replaced, let&#8217;s change the video itself:<\/p>\r\n<ol>\r\n<li>\r\n  <p>The video sample code looks like the following one:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_4-300x10.png\" alt=\"js_animated_how_to_manage_video_samples_4\" width=\"300\" height=\"10\" class=\"aligncenter size-medium wp-image-46044\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_4-300x10.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_4-150x5.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_4.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Open the video at <strong>youtube.com<\/strong>, click <strong>Share ->Embed<\/strong> button below the video:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_5-300x75.png\" alt=\"js_animated_how_to_manage_video_samples_5\" width=\"300\" height=\"75\" class=\"aligncenter size-medium wp-image-46045\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_5-300x75.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_5-150x37.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_5.png 842w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<\/ol>\r\n<p>The code we need to replace is the one highlighted in the screenshot above.<\/p>\r\n<p>Simply replace the <strong>&#8220;http:\/\/www.youtube.com\/embed\/2kodXWejuy0?rel=0&#8221;<\/strong> code with the <strong>&#8220;https:\/\/www.youtube.com\/embed\/your_video_id?rel=0&#8221;<\/strong> one:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_6-300x5.png\" alt=\"js_animated_how_to_manage_video_samples_6\" width=\"300\" height=\"5\" class=\"aligncenter size-medium wp-image-46046\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_6-300x5.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_6-150x2.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_6.png 926w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>Save the file and refresh the page to see the video is successfully replaced:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_7-300x191.png\" alt=\"js_animated_how_to_manage_video_samples_7\" width=\"300\" height=\"191\" class=\"aligncenter size-medium wp-image-46047\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_7-300x191.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_7-150x95.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/js_animated_how_to_manage_video_samples_7.png 992w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>This is the end of the tutorial, you have learnt how to manage video samples in JS Animated templates.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=CvWM_tVB-_4?width=1280&amp;height=720\" rel=\"prettyPhoto\">JS Animated. How to manage video samples<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to manage video samples in JS Animated templates.<\/p>\n","protected":false},"author":68,"featured_media":46051,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1016],"tags":[2411,1919,527],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46040"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=46040"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46040\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/46051"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=46040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=46040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=46040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}