RELEASE NOTES Project: webvideo Version: 1.0 CMSMS: 1.9+ Type: Tag Date: 12.7.2010 Author: Bryan Buxton SUMMARY This is a simple tag that embeds a video on your page from youtube, vimeo, myspace, metacafe, google, and dailymotion. Useful when you don't need a full blown media manager and you want to maintain valid xhtml. HOW DO I USE IT? Just insert the tag {webvideo parameters} into your template or page. You must include the movie parameter for the player to work. The movie parameter value is the video id. EXAMPLES To embed this YouTube video: http://www.youtube.com/watch?v=pqfPjBOK2l4&feature=PlayList&p=F8F899D238798193&index=0 Use the video id (pqfPjBOK2l4) in the movie parameter on your page: {webvideo movie='pqfPjBOK2l4' width='480' height='385'} Note: YouTube is the default streaming video source so there's no need to declare it in the src parameter. Using a metacafe video: {webvideo src='metacafe' movie='yt-BN5sYBTg4cQ' width='400' height='345'} PARAMETERS The following smarty parameters are available in all video players. - movie (required) - Movie ID. - width (optional) - Width of the video player. (Default width is 425) - height (optional) - Height of the video player (Default height is 355) - fullscreen (optional) - Controls full screen viewing of movies. (Disable by changing value to '0') - scriptaccess (optional) - Controls script access. (Disable by changing value to '0') - wmode (optional) - Controls the background transparency. (Disable by changing value to '0') - class (optional) - CSS class. Use commas to separate multiple classes. - id (optional) - CSS ID. - src (optional) - The video stream provider. Each source supports different parameters. Possible values are: - dailymotion - Optional parameters: none - google - Optional parameters: autoplay, playermode, loop, share - metacafe - Optional parameters: none - myspace - Optional parameters: autoplay, color1, color2 - vimeo - Optional parameters: color1, showby, showtitle - youtube (default) - Optional parameters: autoplay, border, color1, color2, lang, related, start OPTIONAL PARAMETERS - autoplay (optional) - Allows video to start upon page load (Enable by changing value to '1') - border (optional) - Add a border to the player. (Enable by changing value to '1') - color1 (optional) - Defines the primary player color as a hex value. - color2 (optional) - Defines the secondary player color as a hex value. - lang (optional) - Change the player language. - loop (optional) - Allows you to repeat the video indefinitely (Enable by changing value to '1') - playermode (optional) - Allows you to change the player skin options simple - Basic player version without progress bar and volume control. - mini - Even more basic player version - clickToPlay - Used for video ads. - embedded - standard skin. - related (optional) - Controls the related videos feature. (Disable by changing value to '0') - share (optional) - Adds a button that will "Send link to a friend." (Enable by changing value to '1') - showby (optional) - Shows whom the movie was uploaded by. (Enable by changing value to '1') - showtitle (optional) - Shows the movie title. (Enable by changing value to '1') - start (optional) - Starts the movie at a the given number of seconds.