1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-25 02:42:10 +02:00
Commit Graph

1320 Commits

Author SHA1 Message Date
BCjwhisenant
dc9934b765 Fixed (hopefully) some minor list formatting 2013-03-19 14:03:05 -04:00
BCjwhisenant
bf804d5571 Merge commit '80802e68d8f00ac27799a968295b11bd8c8ad19c' into contrib-guide 2013-03-19 13:58:55 -04:00
BCjwhisenant
c17d5890d0 clarified some language
added a note about turning off npm colors for windows users
2013-03-19 12:32:13 -04:00
Gary Katsevman
5b324c05e1 Fix indentation 2013-03-19 11:48:13 -04:00
Gary Katsevman
452f9b3971 remove mouseOff 2013-03-19 11:40:09 -04:00
Gary Katsevman
da4400f437 remove console.log 2013-03-18 16:36:55 -04:00
Gary Katsevman
9555b80cc0 Make buttons accept tap events as well as click. Prevent mouseevents when touch is available 2013-03-18 16:36:55 -04:00
Gary Katsevman
f8706bbffe Make slider touch/mouse events removable 2013-03-18 16:36:55 -04:00
Gary Katsevman
85df20d736 Fix slider for android 2013-03-18 16:36:55 -04:00
Gary Katsevman
cbcff6a168 Add { 2013-03-18 16:36:55 -04:00
Gary Katsevman
c94ceca337 Make BigPlayButton show up when paused. Add 'showBigPlayButton' event to allow users to cancel that. 2013-03-18 16:36:55 -04:00
Gary Katsevman
57c5cefe0f initial support for toggling controlbar via touch 2013-03-18 16:36:55 -04:00
Gary Katsevman
95e87be2d2 make seekbar seekable on mobile devices. 2013-03-18 16:36:55 -04:00
tagawa
4d74fb3b7c Reduced PNG filesize by ~4kb 2013-03-18 15:28:34 +09:00
BCjwhisenant
80802e68d8 Fixed formatting in some of the instructions 2013-03-15 22:30:25 -03:00
BCjwhisenant
ff957fa9f5 changes to the contributing guide. 2013-03-15 21:20:40 -04:00
Steve Heffernan
610974854c Merge pull request #383 from heff/feature/track-default
Adding default to 'off' for track lists from #190
2013-03-15 16:13:19 -07:00
Steve Heffernan
59cdd4edcd Adding default to 'off' on track menus from #190 2013-03-15 16:08:40 -07:00
Steve Heffernan
32755ca855 Merge branch 'master' of git://github.com/zencoder/video-js 2013-03-15 14:03:59 -07:00
Jake Harvey
f3af77e985 Close GH-378: #376 Removing Helvetica from font-family declarations.. 2013-03-15 13:52:40 -07:00
Steve Heffernan
8c6138797a Merge branch 'master' of git://github.com/zencoder/video-js 2013-03-09 15:45:09 -08:00
Steve Heffernan
8bc5fb055e Merge branch 'master' of github.com:zencoder/video-js 2013-03-09 13:19:16 -08:00
Steve Heffernan
d147b1ae2f Merge branch 'optional_resize' of git://github.com/mente/video-js into mente-optional_resize closes #359
Conflicts:
	test/unit/component.js
2013-03-09 13:18:07 -08:00
Alex Vasilenko
a3b9b50e8b vjs.Component.dimension accepts 'auto' as value
test case for vjs.Component.dimension with 'auto'
2013-03-09 10:39:28 +02:00
Steve Heffernan
de5acf4fe7 Merge pull request #368 from dmlap/issue367
Fixes #367
2013-03-08 14:45:18 -08:00
David LaPalomento
7e0ee0c799 Fix minified property access
Use a string literal to reference the tech's player property so the access isn't mangled by closure.
2013-03-08 10:13:01 -05:00
David LaPalomento
0ba7166636 Fixes #367
If you are quick, you could get videojs to wrap the HTML video element twice on iOS. The video element has to be recreated after moving on iOS but we weren't re-associating it with the player object. When autoSetup swung through, it would re-initialize the video element and create a player within a player.
2013-03-07 20:57:52 -05:00
Steve Heffernan
bc723acb06 Merge pull request #361 from Axonn/fix-component-child-adding
Fix ability to add child after closure compiled
2013-03-07 16:39:18 -08:00
Alex Vasilenko
dcc66cb14c recompile sources before starting tests via npm test 2013-03-07 23:32:00 +02:00
Alex Vasilenko
e1409f8972 minified lib files renamed to minified api 2013-03-07 23:24:52 +02:00
Alex Vasilenko
264e3aeb38 expose vjs.Component.dispose 2013-03-07 23:23:02 +02:00
Alex Vasilenko
696097ca38 Merge branch 'optional_resize' of github.com:mente/video-js into optional_resize
* 'optional_resize' of github.com:mente/video-js:
  proper vertical-align on default skin
2013-03-07 23:21:23 +02:00
Alex Vasilenko
cf2fd9cbe8 use {width: "auto", height: "auto"} to let css decide video dimensions 2013-03-07 23:21:08 +02:00
corwin.tomkinson
93f8737fc7 Fix ability to add child after closure compiled 2013-03-07 11:37:51 +00:00
Steve Heffernan
f11c5d3ca9 Merge pull request #340 from Sundrique/fix-parent-el-option
Fix parentEl tech option.
2013-03-06 16:57:40 -08:00
Steve Heffernan
eb3f1aca8a Merge pull request #348 from Wellming/master
fix iPhone and iPad detection.
2013-03-06 16:45:51 -08:00
Steve Heffernan
253c510da0 Merge pull request #354 from dmlap/issue347
Fix Issue #347
2013-03-06 16:36:59 -08:00
David LaPalomento
888f04484a Remove phantom UA check
The volume controls and mute toggle are guarding against not having a tech present, so it's no longer necessary to mock the tech for all command-line tests. Individual tests continue to do so using PlayerTest.makePlayer.
2013-03-06 09:45:18 -05:00
David LaPalomento
f1e90d65f2 Block defineSetter test for older IE
__defineSetter__ doesn't work on some versions of IE, so just ignore the volume/mute toggle tests when run on those browsers.
2013-03-05 18:07:35 -05:00
Alex Vasilenko
1bceadf094 expose correct dispose method
testcase for correct dispose method
2013-03-05 23:23:01 +02:00
Alex Vasilenko
2de8ad6f63 ready method exposed in minified version
test case for minified lib and not minified code
2013-03-05 22:39:43 +02:00
David LaPalomento
ad98bebf55 Reformat var statements
Declare them in a single line at the top of the function and initialize them later.
2013-03-05 13:38:47 -05:00
Alex Vasilenko
e4c9588048 proper vertical-align on default skin 2013-03-05 19:02:59 +02:00
Alex Vasilenko
9b52edea07 do not force default 300x150 if no width/height found 2013-03-05 18:35:55 +02:00
Steve Heffernan
29297bd37b Merge pull request #356 from gkatsev/gitignore
add swp files to gitignore
2013-03-04 17:12:44 -08:00
Gary Katsevman
754f590778 add swp files to gitignore 2013-03-04 18:21:11 -05:00
David LaPalomento
b662139708 Remove unused variable
Get rid of a variable that was copy-pasted along from a previous incarnation of this fix.
2013-03-04 14:53:27 -05:00
Steve Heffernan
f72a90f4a8 Merge pull request #353 from bcjwilson/master
Poster image to stretch both horizontally and vertically while staying centered and maintaining aspect ratio.
2013-03-04 11:22:10 -08:00
David LaPalomento
ab25a823b7 Fix 347
Hide volume slider and mute toggle when the current tech doesn't support adjusting video volume. Added controls specific test cases. Volume-related controls retest whether to display themselves whenever `loadstart` fires.
2013-03-02 00:00:23 -05:00
Jim R. Wilson
f8385f06d0 changing poster image to div with backgroundImage
The existing poster implementation uses an <img> tag
stretched horizontally with capped max-height. This
works in some cases like pillar-boxing when the poster
is not as wide as the player. However it fails to
letter box when the player is taller than the poster.

This change uses a stretched div with background-image
and backround-size to create a vertically aligned
poster image which stretches in both directions to fit
while maintaining aspect ratio.

For browsers which do not support backgroundSize (IE8)
the original <img> based strategy is used as a fallback.
2013-03-01 17:45:07 -05:00