1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-31 11:26:45 +02:00

448 Commits

Author SHA1 Message Date
Steve Heffernan
496fa982e0 Merge pull request #426 from dmlap/feature/poster-attribute
Do not remove poster attribute when creating the player
2013-04-04 16:03:25 -07:00
Steve Heffernan
a9352922d9 Merge pull request #399 from dmlap/issue398
Fix #398
2013-04-04 13:02:43 -07:00
Steve Heffernan
143e53febc Added isReady = false on unloadTech. fixes #214, fixes #211 2013-04-04 11:06:13 -07:00
David LaPalomento
99a973e529 Do not remove poster attribute when creating the player
We use a div with a background image to simulate the poster image so that we can use a single poster implementation for flash and html. It may be desirable on some platforms to use the native poster image, however. On iPhones for instance, the simulated poster image covers up the native play button and can make it difficult to figure out where to touch to initiate playback. By keeping the poster attribute on the underlying video element, you can hide the simulated poster to get a native look-and-feel on that platform.
2013-04-04 09:55:27 -04:00
Ravwar
baeff8030d Fix controls locking and unlocking functionality by:
1. Switch control bar default hiding styles
2. Fix typos
3. Remove duplicate function
2013-04-03 02:57:59 +04:00
David LaPalomento
65687aa3d0 Rename vjs-disabled to vjs-hidden
Disabled is a bit overloaded with visible but unusable controls, so use hidden instead. Re-arrange default styles a bit and use dom helper methods instead of the vjs-objection functions.
2013-04-02 16:17:30 -04:00
Steve Heffernan
f1d957929c Merge pull request #404 from RavWar/fix_exports_duplicates
Remove duplicate code from exports
2013-04-01 16:26:14 -07:00
Gary Katsevman
e08851a2cc Make the Duration Display not display the duration as a negative number 2013-03-27 14:35:34 -04:00
Ravwar
e41472f0e5 Remove duplicate code from exports 2013-03-27 13:43:11 +04:00
David LaPalomento
e55e5a7313 Fix #398
Use a new CSS class 'vjs-disabled' to disable display of the volume controls. This allows custom styles the flexibility to use methods other than `display:block` to layout the controls.
2013-03-24 17:40:35 -04:00
Steve Heffernan
9b25484a92 Merge pull request #375 from gkatsev/touchevents
Touchevents support for the control bar and seekbar
2013-03-22 14:56:02 -07:00
Steve Heffernan
1bf4502766 Merge pull request #389 from tagawa/optimization
Reduced PNG filesize by ~4kb
2013-03-21 14:38:38 -07:00
Gary Katsevman
a6578d5a5d Remove changedTouches from fixEvent because it doesn't work currently. Add comment about it in the calculateDistance method 2013-03-20 15:27:42 -04:00
Gary Katsevman
37c463d37a Don't prevent mouse actions when paused to make sure Android's Play overlay is usable. 2013-03-20 15:19:18 -04:00
Gary Katsevman
bae6fa1ab4 Remove showBigPlayButton 2013-03-20 15:18:05 -04:00
Jonathan Gold
c71203bd56 Adding more detail to JSON.parse() error 2013-03-19 17:32:44 -07: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
Steve Heffernan
59cdd4edcd Adding default to 'off' on track menus from #190 2013-03-15 16:08:40 -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
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
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
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
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
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
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
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
Wellming Li
c647b436aa fix iPhone and iPad detection. 2013-02-24 17:56:30 +08:00
David LaPalomento
60f9b505f1 Close GH-346: Remove need for good.require/good.provide. 2013-02-22 22:26:58 -05:00
corwin.tomkinson
4f18a6bd97 Rename component method exports. Fixes #344 2013-02-20 14:59:22 +00:00