Video Player widget
The KU Video Player widget displays a customizable video jukebox on your site using a few lines of code. It's possible to display different types and categories of videos – which are filmed, edited and categorized by University Relations – using a number of custom settings.
An example of the embedded widget looks like this:
To include the widget on your site, you will need to use SSI, have KU's "contained" version of JQuery turned on (it's on by default), and be on a central KU webserver such as www2.ku.edu.
Using the settings below, it's possible to fine-tune what videos appear and how they're presented on your site, making every player unique. The example above shows student interviews from the Why KU? site, and was created using the following settings and include statement:
<!--#set var="otherheaderinfo" value="/~univrel/vidplayer_ohi.shtml" -->
<!--#set var="vidplayer_choice" value="whykustudents" -->
<!--#set var="vidplayer_defaultvideoid" value="6XENJNEb9S8" -->
<!--#set var="vidplayer_autoplay" value="false" -->
<!--#include virtual="/~http/ssi/2009/widgets/myvidplayer.shtml" -->
Like most KU widgets, almost every element of the Video Player widget has a CSS class or ID assigned to it, and can therefore be customized to fit the look and feel of your site. The default look of the player (shown above) is intentionally sparse and should be customized on a site-by-site basis. The Why KU? player, for example, has additional styles added to adjust margins, create a transparent background and reverse the font colors. When changing the player's size, you may also have to adjust the vidplayer_vidheight and vidplayer_vidwidth settings below.
Player Settings
These settings affect which player is loaded, which video category is displayed by default, and whether the top navigation is shown.
vidplayer_choice
Values: whykustudents, whykufaculty, whykualumni, categories
vidplayer_category
Values: faculty, features, research, service, studentlife, teaching, thisisku, traditions
vidplayer_showtopnav
Values: true, false
Playlist/Play Order Settings
These settings change how videos are displayed and handled in the playlist.
vidplayer_playersize
vidplayer_defaultvideoid
vidplayer_querystring
Currently, the only option this parameter accepts is a YouTube ID, similar to vidplayer_defaultvideoid. If set, this parameter will override vidplayer_defaultvideoid as the first video in the playlist. This should be the ID only – not the full YouTube URL – and will only work if the video is already in the playlist.
http://webtools.ku.edu/widgets/videoplayer/index.shtml?v=zixrNQX75Tk
vidplayer_autoplay
Values: true, false
vidplayer_thumbs
Values: true, false
Video Settings
These settings adjust display and playback options for the YouTube video itself.
vidplayer_controls
vidplayer_fullscreen
Values: true, false
vidplayer_vidheight
vidplayer_vidwidth
If you have any questions about this process, please feel free to contact webcomms@ku.edu.




top