Greg Hinch![]()
Dealing with video can be difficult, trying to find the right player to use for your user's environment and the type of video you want to play. This module is an attempt to centralize all that logic into a single interface, including the events and methods published by the various players available.
YUI().use('gallery-video', function(Y) {
Y.Video.SWF_PLAYER_SRC = 'js/gallery-video/assets/player.swf';
var myvideo = new Y.Video({
width : 848,
height : 352,
media : [
{src : 'video.ogg', mimeType : 'video/ogg', codecs : 'theora, vorbis'},
{src : 'video.mov', mimeType : 'video/quicktime', codecs : 'avc1, mp4a.40.2'}
],
contentBox : '#elMedia'
});
v.render();
});| Subject | Author | Date |
|---|---|---|
| Status check | Eric Miraglia | 05/5/10 |
| Re: Status check | Greg Hinch | 05/26/10 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info