{"id":775,"date":"2013-10-25T20:33:53","date_gmt":"2013-10-25T20:33:53","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=775"},"modified":"2013-10-25T20:33:53","modified_gmt":"2013-10-25T20:33:53","slug":"adding-videos-and-video-thumbnails-to-piwigo","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=775","title":{"rendered":"Adding videos and video thumbnails to piwigo"},"content":{"rendered":"<p>Although it&#8217;s primary use is as a photo gallery piwigo has the option to display all of your videos too. It actually does this remarkably well.<\/p>\n<p>The best way I have found to enable videos is as follows:<\/p>\n<p>Firstly download <a title=\"handbrake\" href=\"http:\/\/handbrake.fr\/downloads.php\" target=\"_blank\">handbrake<\/a> (open source \/ free video convertor) and convert your videos to mp4 format, remembering to click on the &#8220;web optimized&#8221; tab. This will allow your videos to play almost instantly and allow people to quickly scroll though your video without having to wait for the whole file to load.<\/p>\n<p>I&#8217;d suggest that for a good quality web video you don&#8217;t really need to go for anything larger than 720 width when converting your file. I find that this gives a good amount of quality without an overly large file size.<\/p>\n<p>Now, create a gallery in piwigo for your videos to go, ideally you need to use ftp \/ sftp as the files are typically too large for web uploading<br \/>\neg. \/galleries\/our_holidays\/videos<br \/>\nNow, upload your videos to that directory. (remember that piwigo does not like spaces or &#8211; in file names, so remove any before uploading them)<\/p>\n<p>Create a subdirectory of your new video folder called pwg_representative<br \/>\neg. \/galleries\/our_holidays\/videos\/pwg_representatives<\/p>\n<p>If you place a jpg in the \/pwg_representative folder with the same name as a video in the \/videos folder it will automatically link.<br \/>\nexample<br \/>\n\/videos\/video_123.mp4<br \/>\n\/videos\/pwg_representative\/video_123.jpg<\/p>\n<p>You can use a simple screen capture tool to make your video thumbnails from your favorite paint program or by using <a title=\"Snagit\" href=\"http:\/\/www.techsmith.com\/snagit.html\" target=\"_blank\">Snagit<\/a>.<br \/>\nAlternatively if you have a lot of videos, <a title=\"video thumbnail maker\" href=\"http:\/\/www.suu-design.com\/projects.html\" target=\"_blank\">Video Thumbnail Maker<\/a> can do hundreds of thumbnails \/ videos in batches very quickly.<\/p>\n<p>Go to the admin section of your site and choose plugins, manage, other plugins available&gt;<br \/>\nSearch for &#8220;jplayer&#8221; and install it. Then go back to manage and activate the plugin.<\/p>\n<p>Now, go to tools, synchronize, tick files and folders, untick simulation and hit submit.<\/p>\n<p>Thats it, your new video category should now be visible and videos should play in piwigo!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Although it&#8217;s primary use is as a photo gallery piwigo has the option to display all of your videos too. It actually does this remarkably well. The best way I have found to enable videos is as follows: Firstly download handbrake (open source \/ free video convertor) and convert your videos to mp4 format, remembering [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[184],"tags":[],"class_list":["post-775","post","type-post","status-publish","format-standard","hentry","category-piwigo"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=775"}],"version-history":[{"count":1,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/775\/revisions"}],"predecessor-version":[{"id":776,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/775\/revisions\/776"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}