

onPlaybackHasChanged: function(el, value) – Triggered if playback has changed (play, pause, loadstart).getReadyState: function(): Get current ready state as string.getNetworkState: function(): Get current network state as string.volumeChange: function(amt): Change volume by positive or negative values (volume is from 0.0 to 1.0).toggleMute: function(): Toggle “muted” state.togglePlay: function(): Play/Pause video toggle.stop: function(): Stop playback and rewind.move: function(secs): Move playback forward or backward given amount (positive or negative numbers).

rewind: function(): Rewind video to beginning.Use to access the HTML-video element and following methods and events: Parameters Myvideo = new CwVideo('myvid') // initialize CwVideo These properties can be accessed via mootools: Initial setup and usage Then you can immediately access the properties of the video like duration, volume etc. Given a HTML-page with a video embedded, you simply call CwVideo(id) with the id of the video tag. So you can easily access a videos properties and control the video in a mootools-like way.įurthermore it contains two extensions to the Fx.Slider class from mootools:ĬwVideo.Volumeslider creates a volume sliderĬwVideo.Timeline for a timeline slider with several features to simplify creating your own video controls. ⇧ top Documentation What is this plugin about?įirst at all it extends the current (1.24) mootools release to handle the new HTML5 video-tag. Blog Entries 1.6.0 is out Today marks the release of MooTools Core and More versions 1.6.0.This is a minor revision that delivers a number of bug fixes as well as the introduction of new features. GitHub Repository: /mariofischer/cwvideo »
#Mototools download software
