some further fixes

This commit is contained in:
rlx 2011-08-19 16:04:59 +00:00
parent ba96bfb76c
commit 439b7cfad6
2 changed files with 4 additions and 2 deletions

View file

@ -97,6 +97,7 @@ Ox.VideoElement = function(options, self) {
}); });
self.$video.hide(); self.$video.hide();
self.video.pause(); self.video.pause();
Ox.print('s%%%%%%%%%%%%%%%%%%%', self.$videos, part)
self.$video = self.$videos[part].css(css).show(); self.$video = self.$videos[part].css(css).show();
self.video = self.$video[0]; self.video = self.$video[0];
!self.paused && self.video.play(); !self.paused && self.video.play();

View file

@ -62,8 +62,9 @@ Ox.VideoPlayer <f> Generic Video Player
timeline <s> Timeline image URL timeline <s> Timeline image URL
title <s|''> Video title title <s|''> Video title
type <s|'play'> 'play', 'in' or 'out' type <s|'play'> 'play', 'in' or 'out'
video <s|o|''> Video URL video <s|[s]|o|''> Video URL
String or object ({resolution: url, resolution: url, ...}) String or array of strings ([part1, part2, ...]) or object
({resolution: url, ...} or {resolution: [part1, part2, ...], ...})
volume <n|1> Volume (0-1) volume <n|1> Volume (0-1)
width <n|256> Width in px width <n|256> Width in px
@*/ @*/