Created: 27/02/2011
By: Digital Zoom Studio
Twitter: http://twitter.com/
Facebook: http://facebook.com/dzs
Support Forum: http://dzs.net/support/
Thank you for purchasing my component. If you have any questions that are beyond the scope of this help file, please feel free to apply for membership on the forum, it's the fastest way of support [ link to the left ] and post a thread about your question after your membership is validated.
DZS Video Gallery is the ultimate gallery for your videos. Its the only gallery that can display YouTube videos and videos from your server in the same container. It can be used as a portfolio or a video showcase. You choose. It is XML driven and only needs a simple text editor to be set up. It can be embedded in html ( just drag and drop with your favorite html editor ), can be used stand-alone and also can be integrated in your flash project very easy.


Recommended: Some web servers don't have html5 video support yet. So if you notice your videos do not work ( and were properly uploaded ) an easy fix is to add this to to your .htaccess file:
AddType video/ogg ogv
AddType video/webm .webm
AddType video/mp4 .mp4

The plugin also features an widget that you can add to any of your sidebars. It will appeare as Video Gallery in your Appearence > Widgets page.
The widget can be configured by Title and ID - the gallery which ID's it holds is still configured from the DZS Video Gallery admin in Settings menu.
auxiliary shortcodes - want to get a single video in your post without having to go through the admin ? The [video], [youtube] and [vimeo] shortcodes are built just for that. You just have to set the id for the youtube or vimeo shortcode, or the location for the video shortcode.
Examples:
[video source="http://thelocation/ofthevideo"]
[vimeo id="2"]
[youtube id="L7ANahx7aF0"]
backup database / import, export feature - keep your database safe and do regular backups via the Export Database feature included with this plugin.
use wordpress uploader - choose wheter or not uploads should be made with the wordpress basic uploader ( recommended: on )
embed prettyphoto - enable / disable prettyphoto ( recommended: on )
This will only work on the flash gallery at the momment. HTML5 Gallery output feature is being worked on. All you have to do to access it is click the Go to Designer Center button in the main admin. Make the changes and click save. The changes will be reflected in the Custom skin.
The gallery can feed items either from manually input - by clicking the blue plus sign and adding items.
Either from YouTube user channel. You just need the channel username in the YouTube User field to make it work.
Either from a YouTube playlist. All you have to do to find the ID is access your YouTube account and go to the Playlists section. Create a new playlist or select one of your already created ones. The link should look like this - http://www.youtube.com/playlist?list=PLADC18FE37410D250&feature=plcp - the id is ADC18FE37410D250 - never include the PL part too if it's there at the beggining.
Either from a Vimeo user channel. If you go to a user profile for example - https://vimeo.com/user9682578 - the is the number after the user part in this case - 9682578
You can check this link for a list of popular questions. Other questions you might have:
You need to choose the Skin to all characters or custom.
Take this movie for example - http://www.youtube.com/watch?v=UXLvR6ZaZk4 . The youtube ID is just this part: UXLvR6ZaZk4
Here is the admin version.
You need your movie converted to two formats in order to make sure the html5 video plays in all browsers.
Browser support & recommended encoding program
IE9, IE8 ( Flash ) & Safari : M4V -> http://handbrake.fr/
Chrome & Opera & Firefox : OGG-> http://video.online-convert.com/convert-to-ogg
When you want to manipulate pictures - ie: you depend on their size - like a ken burns slider or scroller does, it's best to use jQuery(window).load because that executes the code in it AFTER all the images and content has loaded. For everything else, there is jQuery(document).read -which only waits for the html to be parsed corectly & all elements formed.
This gallery provides source files ( in the source folder ) so if you are developer you can start cusmizing it.
You can generally use any text editing software to edit most content/code, but this is what I recommend:
This is optional and represents the container of the gallery and the preloader ( recommended )
<div id="vGallery" class="videogallery" style="width:638px; height:300px; opacity:0;">
</div>
This is the main gallery contianer, you add gallery items inside. You can also modify size directly from the style attribute. Opacity is optional.
<div class="vplayer-tobe" data-videoTitle='Big Buck Bunny' data-description='<img src="img/thumb.png" class="imgblock"/><div class="the-title">Big Buck Video</div>Here you can have a video description of your choosing.' data-sourcemp4='video/test.m4v' data-sourceogg='video/test.ogv'></div>
This is gallery item. Add as many as you wish inside the videogallery container.
Customisable parameters
data-videoTitle - optional - the title that appears in the top left of the video.
data-description - optional - title and description of the video that appears in the menu item of the glalery - html accepted
data-sourcemp4 - location of the mp4 format of the video ( or m4v )
data-sourceogg - location of the ogg format of the video ( or ogv )
data-sourcewebm - location of the webm format of the video
data-sourceflash - location of the mp4 format of the video ( or m4v or flv or H.264 .mov )
var videoplayersettings = {
autoplay : "off",
videoWidth : 500,
videoHeight : 300,
constrols_out_opacity : 0.9,
constrols_normal_opacity : 0.9,
design_scrubbarWidth:-201,
design_background_offsetw : 0
}
Both the gallery and video player are highly customizable.
autoplay - only matters if you are using it independent of the gallery - autoplay video on / off
videoWidth / videoHeight - only matters if you are using it independent of the gallery - video player size
constrols_out_opacity - controls opacity when video player is not focused
constrols_normal_opacity - controls opacity when video player is focused
design_scrubbarWidth - only for skin customization purposes - scrubbar width offset
design_background_offsetw- only for skin customization purposes - background width offset
$('#vGallery').vGallery({
menuSpace:0,
randomise:"off",
autoplay :"off",
autoplayNext : "on",
menuitem_width:275,
menuitem_height:76,
menuitem_space:1,
menu_position:'right',
transition_type:"slideup",
design_skin: 'skin_default',
videoplayersettings : videoplayersettings
})
Both the gallery and video player are highly customizable.
menuSpace - space between the menu and video player
menuitem_width / menuitem_height - the menu item size
menuitem_space - the space between menu items
autoplay - autoplay the first video on / off
autoplayNext - autoplay the next video on/off
randomise - randomise video gallery items
menu_position - the menu position - right / left / up / down / none
transition_type - choose between 'fade' and 'slideup'
design_skin - choose between 'skin_default' or make your own following the instructions from bellow
videoplayersettings - the video player settings object
design_scrubbarWidth - only for skin customization purposes - scrubbar width offset
design_background_offsetw- only for skin customization purposes - background width offset
Digital Zoom Studio