mister-ben
2e720afb65
fix: allow rounded value for fluid player ratio test ( #3739 )
2016-11-03 18:40:14 -04:00
Carey Hinoki
028559ccb0
feat: add ability to get current source object and all source objects ( #2678 )
...
Adds `currentSource` and `currentSources` methods to the player that return the current source object, containing `currentSrc()` and `currentType()`, and all source objects that were given to the player.
Fixes #2443
2016-11-03 15:50:55 -04:00
mister-ben
de1b363470
feat(clickable-component): Disable interaction with disabled clickable components ( #3525 )
...
enable() and disable() on clickable components is only cosmetic. "Disabled" implies the control should not be functional.
* Remove event listeners on disable() and add back on enable().
* Move adding listeners from constructor to enable
* Remove tabindex from disabled components and add disabled attribute to disabled buttons to prevent keyboard access.
2016-11-03 15:43:15 -04:00
Carey Hinoki
9d77268f76
feat: Components are now accessible via camelCase
and UpperCamelCase
( #3439 )
...
This means that you can `getChild` and `addChild` with both `myComponent` and `MyComponent`.
Fixes #3436 .
2016-11-03 15:40:35 -04:00
mister-ben
ed59531f78
fix: Suppress Infinity duration on Android Chrome before playback ( #3476 )
...
HTML5 tech will return NaN instead of Infinity if playback has not started. Fires a durationupdate event once the reported duration can be believed if the duration is still Infinity, so controls can update.
Fixes #3079 .
2016-11-03 15:39:09 -04:00
mister-ben
2988f6ae53
feat(fluid): use default aspect ratio for fluid players if width unknown ( #3614 )
...
If a player is fluid and does not have a width set, and preload is set to none, the height of the player is zero. This includes where preload is forced to none by mobile Chrome as in #3606 .
* If the player has the .vjs-fluid class when initialised, fluid is set to true, so adding the class behaves the same as {fluid: true} in the setup options.
* The fluid(bool) setter calls player.updateStyleEl_(). Otherwise it won't be triggered in createEl() if an aspect ratio is not also set.
* Corrects the test for a set videoWidth() in updateStyleEl_() - videoWidth() returns 0 if the width is unknown. This allows the default 16:9 to kick in rather than using 0:0.
2016-11-03 15:37:30 -04:00
Marco
dd2aff00a8
fix: disable HLS hack on Firefox for Android ( #3586 )
...
* Disable HLS hack on Firefox for Android
* Fix canPlayType patching tests
* Add test to ensure that canPlayType is not patched in Firefox for Android
* Fix assertion message in Firefox for Android test
2016-09-29 14:14:42 -04:00
Gary Katsevman
fac52046f3
Merge branch 'stable'
2016-08-25 19:34:07 -04:00
Jon-Carlos Rivera
fdd8550307
@imbcmdth Added exception handling to event dispatcher. closes #3580
...
* Guard against exceptions in an event handler to stop them from breaking further processing of event handlers
* Added a test for try/catch behavior for exceptions originating in event handlers
2016-08-25 19:08:56 -04:00
Gary Katsevman
f37383784d
Merge branch 'stable'
2016-08-25 12:19:03 -04:00
Richard L. Chung
af6beb21c3
@rlchung fixed tests that weren't disposing players when they finished. closes 3524
2016-08-25 10:58:42 -04:00
Pat O'Neill
1d2d08584e
@misteroneill fixed IE8 media error test failure. closes #3568
2016-08-24 13:48:39 -04:00
Pat O'Neill
b56ed61523
@misteroneill fixed wrapping native and emulated MediaErrors. closes #3562
2016-08-24 11:00:21 -04:00
Gary Katsevman
955185379f
@gkatsev updated build system to open es5 folder for bundles and dist folder other users. closes #3445
2016-08-17 17:16:41 -04:00
Gary Katsevman
773b5ab1c1
Merge branch 'stable'
2016-08-15 18:20:47 -04:00
mister-ben
fa1c6430f4
@mister-ben silenced chrome's play() request was interrupted by pause() error. closes #3518
2016-08-15 17:49:52 -04:00
Vineet
2c84f45ff3
@vdeshpande fixed control text for fullscreen button. closes #3485
2016-08-15 17:44:01 -04:00
Pat O'Neill
72c44daaf3
@misteroneill updated tests to qunit 2.0. closes #3509
2016-08-12 13:51:31 -04:00
Priti Agarwal
945711855a
@pagarwal123 updated some test code to pass linter
2016-08-05 11:38:08 -04:00
Brandon Casey
86068a5b45
@BrandonOCasey updates tests to pass linter
2016-08-05 11:37:12 -04:00
Brandon Casey
c89b75699e
first half of the test/unit/tracks directory ( #3483 )
2016-08-03 15:27:47 -04:00
Pat O'Neill
8dd01467f3
@misteroneill corrects test assertions for older IEs in the log module. closes #3454
2016-07-22 13:50:29 -04:00
Owen Edwards
238c752aee
@OwenEdwards fixed caption settings dialog labels for accessibility. closes #3281
2016-07-19 00:19:36 -04:00
mister-ben
5883c9236e
@mister-ben updated language to inherit correctly and respect the attribute on the player. closes #3426
2016-07-18 14:53:31 -04:00
Pat O'Neill
13d349b0da
@misteroneill improved Logging for IE < 11. closes #3356
2016-07-18 14:32:31 -04:00
Vít Koumar
f36da276e3
@vit-koumar updated Flash tech to return Infinity from duration instead of -1. closes #3128
2016-07-18 14:10:57 -04:00
ldayananda
c51c180b3c
@ldayananda updated videojs to not do anything if no src is set. closes #3378
2016-06-27 23:07:00 -04:00
Gary Katsevman
b9e3e55384
Merge branch 'stable'
2016-05-27 18:28:40 -04:00
brandonocasey
fa8fc80b83
@BrandonOCasey fixed source handlers being disposed multiple times when a video is put into the video element directly. closes #3343
2016-05-27 18:12:47 -04:00
Nicky Gerritsen
17f856849d
@nickygerritsen Fix test for tooltips in IE8. closes #3327
2016-05-19 09:47:27 +02:00
Nicky Gerritsen
ed39b68f13
@nickygerritsen Add title to all clickable components. closes #3296
2016-05-17 10:17:12 +02:00
Gary Katsevman
b1e7bfd8f8
Merge branch 'stable'
2016-05-12 14:49:47 -04:00
Gary Katsevman
82d396a1fb
@gkatsev nulled out currentSource_ in setSource. closes #3314
2016-05-12 14:43:10 -04:00
Pat O'Neill
ed3249818e
@misteroneill Un-deprecate the videojs.players property. closes #3299
2016-05-11 09:10:15 +02:00
Nicky Gerritsen
68c4d248d9
@nickygerritsen Also pass tech options to canHandleSource. closes #3303
2016-05-11 09:08:17 +02:00
Greg Smith
249532ad45
@incompl clear currentSource_ after subsequent loadstarts. closes #3285
2016-05-02 18:54:34 -04:00
brandonocasey
2e2dbde4b4
@BrandonOCasey added audio and video track support. closes #3173
2016-04-22 14:31:12 -04:00
Gary Katsevman
cfb9621884
Merge branch 'stable'
2016-04-19 17:20:24 -04:00
Gary Katsevman
264e53fb5b
@gkatsev fixed text track tests for older IEs. closes #3269
2016-04-19 17:09:53 -04:00
Gary Katsevman
d3b368ccce
@gkatsev fixed removeRemoteTextTracks not working with return value from addRemoteTextTracks. closes #3253
2016-04-19 15:46:33 -04:00
Gary Katsevman
ff83aa6573
@gkatsev made the first emulated text track enabled by default. closes #3248
2016-04-19 15:18:21 -04:00
Nicky Gerritsen
f606f9df50
@nickygerritsen Pass tech options to source handlers. closes #3245
2016-04-13 20:28:09 +02:00
Chris Auclair
fa27cc7dbf
@chrisauclair added ARIA region and label to player element. closes #3227
2016-04-05 13:47:58 -04:00
Gary Katsevman
b91018952e
Merge branch 'stable'
2016-03-29 16:15:07 -04:00
Maythee Anegboonlap
31b2f9d489
@llun fixed menus from throwing when focused when empty. closes #3218
2016-03-29 16:09:10 -04:00
Gary Katsevman
4663d0ed01
use a brand new tag el for ie8
2016-03-28 12:08:00 -04:00
Can Küçükyılmaz
ac3771a329
@defli added currentWidth and currentHeight methods to the player. closes #3144 .
2016-03-25 15:12:53 -04:00
Owen Edwards
41bc481597
@OwenEdwards added basic descriptions track support. closes #3098
2016-03-25 14:16:56 -04:00
Gary Katsevman
66a2c05510
@gkatsev updated vjs to not add dynamic styles when VIDEOJS_NO_DYNAMIC_STYLE is set. closes #3093
2016-03-25 14:06:39 -04:00
Gary Katsevman
dbdc411dc2
@gkatsev cleared vttjs script handlers on dispose. Fixed tests. closes #3189
2016-03-17 18:56:25 -04:00
Gary Katsevman
e2c8c125a2
@gkatsev changed emulated tracks to in novtt to wait for vttjs to load or error before parsing. closes #3181
2016-03-17 14:53:00 -04:00
brandonocasey
c1112b74fe
@BrandonOCasey updated text track unit tests to use full es6 syntax. closes #3148
2016-03-07 14:54:32 -05:00
Gary Katsevman
f77bcc95d0
@gkatsev cleared waiting/spinner on timeupdate. Fixes #3124 . closes #3138
2016-03-07 14:48:15 -05:00
Erik Yuzwa
fc7a166705
@erikyuzwa added ability to add child component at specific index. closes #2540
2016-02-04 13:42:49 -05:00
jforbes
c8646aa02b
@forbesjo updated emulated tracks to have listeners removed when they are removed. closes #3046
2016-02-02 14:29:31 -05:00
Owen Edwards
16f0179c07
@OwenEdwards added ClickableComponent. Fixed keyboard operation of buttons. closes #3032
2016-01-25 18:30:12 -05:00
Gary Katsevman
6977b0e3fe
@gkasev updated vjs to correctly return already created player when given an element. closes #3006
2016-01-15 15:27:35 -05:00
Gary Katsevman
dcf2a300ef
make sure that styleEl_ is in DOM before removing on dispose. closes #3004
2016-01-14 14:01:30 -05:00
Pat O'Neill
8ad286a768
@misteroneill exposed createEl on videojs. closes #2926
2016-01-07 23:03:23 -05:00
Carey Hinoki
8f2bc92412
@chemoish emulated HTMLTrackElement to enable track load events. closes #2804
2015-12-08 11:24:51 -05:00
Gary Katsevman
e78e26b8a4
@gkatsev added a Player#reset method. Fixes #2852 . closes #2880
2015-12-07 17:45:50 -05:00
Gary Katsevman
0b7a2e41b3
@gkatsev added Player#tech. Fixes #2617 . closes #2883
2015-12-07 16:27:33 -05:00
jrivera
69b89e51f4
@imbcmdth added sourceOrder option for source-first ordering in selectSource. closes #2847
2015-11-25 17:11:36 -05:00
jforbes
8acd28c15a
@forbesjo updated formatTime to not go negative. closes #2821
2015-11-25 16:46:41 -05:00
Garrett Singer
72f77d77c9
@gesinger fixed handler explosion for cuechange events. closes #2849
2015-11-25 16:13:23 -05:00
Garrett Singer
7171ea8d42
@gesinger checked for track changes before tech started listening. closes #2835
2015-11-25 16:00:49 -05:00
Gary Katsevman
5f9095079e
@gkatsev fixed clearing out errors. closes #2850
2015-11-24 15:37:34 -05:00
Violeta Marculescu
c0d5f471bc
@bcvio fixed returning current source rather than blob url. closes #2833
2015-11-23 12:04:31 -05:00
Nathaniel Bibler
3a40b10fa6
@nbibler ensured classes begin with alpha characters. Fixes #2828 . closes #2829
2015-11-20 17:38:05 -05:00
Gary Katsevman
d1316a39ab
@gkatsev updated MediaLoader to check for techs in their registry. closes #2798
2015-11-10 15:53:14 -05:00
Gary Katsevman
0da23c1d8d
@gkatsev fixed usage of textTracksToJson. closes #2797
2015-11-10 15:30:09 -05:00
Pat O'Neill
f2fa8f8687
@misteroneill exposed DOM helpers. closes #2754
2015-11-09 17:43:17 -05:00
Brian Deitte
4e395b6b02
Add unit test for new rtmp path changes
2015-11-09 14:31:15 -05:00
Gary Katsevman
5d754c911d
@gkatsev made initListeners more general and added Tech.isTech. Fixes #2767 . closes #2773
2015-11-06 16:42:19 -05:00
Pat O'Neill
51f1863adc
@misteroneill added a modal dialog. closes #2668
2015-10-28 13:28:15 -04:00
Gary Katsevman
ab88bcdde3
@gkatsev fixes track tests and ignored empty properties in tracks converter. closes #2744
2015-10-27 15:54:48 -04:00
Nicky Gerritsen
589cab7fa7
@nickygerritsen added canPlayType method to player. closes #2709
2015-10-27 13:46:05 -04:00
Gary Katsevman
93e079718e
@gkatsev removed unhelpful isCrossOrigin test. closes #2715
2015-10-26 16:57:21 -04:00
heff
cd6c568a03
@imbcmdth fix potential triggerReady infinite loop
2015-09-29 09:28:02 -07:00
heff
e225fbffc2
Merge branch 'master' into stable
...
Conflicts:
dist/video-js/video-js.css
dist/video-js/video-js.less
dist/video-js/video-js.min.css
dist/video-js/video-js.swf
dist/video-js/video.dev.js
dist/video-js/video.js
dist/video-js/video.novtt.dev.js
dist/video-js/video.novtt.js
src/css/video-js.less
src/js/control-bar/time-display.js
src/js/exports.js
src/js/lib.js
src/js/media/flash.js
src/js/media/flash.rtmp.js
src/js/media/html5.js
src/js/media/media.js
src/js/player.externs.js
test/unit/api.js
test/unit/flash.js
test/unit/media.html5.js
test/unit/media.js
2015-09-29 09:14:50 -07:00
Benoit Tremblay
2de28927d7
@eXon added support for a tech-supplied poster. closes #2339
2015-09-28 11:23:25 -07:00
Gary Katsevman
0b7cf586c2
@gkatsev exposed isCrossOrigin and used it to enable CORS for textTrack XHRs. closes #2633
2015-09-24 19:58:25 -04:00
heff
81806d5725
@heff fixed timeranges deprecation warnings in tests. closes #2627
2015-09-23 12:34:59 -04:00
Pat O'Neill
61a00db7cb
@misteroneill rename "extends" to "extend" for ie8. closes #2624
2015-09-22 11:19:04 -04:00
jrivera
24ad9841ac
@imbcmdth extended createTimeRange to support multiple timeranges. closes #2604
2015-09-21 18:04:10 -04:00
heff
51bae4d7cf
Fixed a double loadstart and added readyState catch up events
...
- Fixed some issue comments
- Fixed a double ready event
closes #2605
fixes #2588
2015-09-18 10:28:16 -07:00
David LaPalomento
24cdbdefff
Use Raynos/xhr for XMLHttpRequests
...
- Get rid of our custom XHR shim. Export it as videojs.xhr.
- Updated XHR to be stubbed everywhere in tests to prevent errors.
- Added npm install to the review process
closes #2318
closes #2594
2015-09-15 15:25:11 -07:00
heff
f7466af956
Made tech related functions clearly private in the player
...
This is important for enforcing the model that techs should
work the same for everything.
closes #2590
fixes #2060
- Made techGet and techCall private functions
- Made loadTech, techName, and unloadTech private
- Cleaned up all other private method naming in the player
- Removed some unneeded comments
2015-09-15 12:54:26 -07:00
heff
f10d8d0cb3
@heff added an attributes argument to createEl(). closes #2589
...
fixes #2176
2015-09-15 10:59:08 -07:00
heff
3fb786e271
@heff removed playerOptions from plugin options because it created an inconsistency in plugin inits. closes #2532
2015-09-02 15:47:10 -07:00
heff
f492450a01
Small fix to an IE9 broken test, introduced in #2513
2015-08-31 17:17:26 -07:00
heff
4d97dd4d29
Fixed a number of errors in the log after testing
...
- Fixed a console error in dom tests from loading a track source
- Switched to non-fetching poster urls in tests to prevent errors
- Stubbed XHR for TextTrack tests to prevent log errors
- Fixed text track console errors that stubbing async didn't catch
because there's some async happening in tracks that makes it so
- XHR isn't even used until the test is complete
- Removed extra code
- Added player.dispose more places and fixed attributes test
2015-08-31 16:36:11 -07:00
Brandon Bay
fca885a62f
@bc-bbay migrate seeking on replay to the flash tech. closes #2519
2015-08-31 15:02:19 -04:00
Gary Katsevman
98315b0e52
@dmlap @gkatsev improve Flash tech error property and add an error setter to the base tech. closes #2517
2015-08-31 14:21:53 -04:00
David LaPalomento
90c6890567
@dmlap move seek on replay into the flash tech. closes #2527
2015-08-31 14:12:12 -04:00
Gary Katsevman
de39cfc5ab
@gkatsev improved tech controls listener handling.. closes #2511
2015-08-25 16:17:35 -04:00
heff
f7d1289593
@heff fixed cross-platform track tests by switching to a fake tech. closes #2496
2015-08-24 12:48:42 -07:00
Gary Katsevman
f3b5075bcd
@gkatsev fixed nativeControlsForTouch handling. Defaults to native controls on iphone and native android browsers.. closes #2499
2015-08-21 17:43:07 -04:00
Gary Katsevman
76b5ffc7b5
@gkatsev moved default and player dimensions to style els at the top of HEAD. closes #2482
2015-08-19 14:13:58 -04:00
Gary Katsevman
4ec82d647d
@gkatsev fixed text track errors on dispose and in cross-browser testing. closes #2466
2015-08-12 16:04:31 -07:00
David LaPalomento
fecf3a0f8a
@dmlap switched global options back to an object at videojs.options. closes #2461
2015-08-12 13:51:43 -07:00
Gary Katsevman
2dfd315ac1
@gkatsev always use emulated TextTrackLists so tracks survive tech switches. closes #2425
2015-08-03 15:19:36 -04:00
heff
3bf415e522
@heff use a synchronous ready() internally. closes #2392
2015-07-30 15:38:01 -04:00
Pat O'Neill
8aa61d3b1a
@misteroneill restore some 4.x utilities and remove deprecated functionality. closes #2406
2015-07-30 14:11:31 -04:00
David LaPalomento
a76b42d50c
@misteroneill restore some properties on window.videojs. Closes #2395
2015-07-30 12:10:04 -04:00
heff
e0b1008225
Fix IE8 tests
...
- Removed incompatible module
- Added ie8 shim to qunit index.html
- Fixed extends() usage
--skip-ci
2015-07-24 09:20:43 -07:00
Pat O'Neill
456ee4e84f
@misteroneill fixed internal extends usage and added a deprecation warning. closes #2390
2015-07-24 09:07:58 -07:00
jrivera
69dde46aa2
@imbcmdth fix potential triggerReady infinite loop. closes #2398
2015-07-23 11:28:34 -04:00
David LaPalomento
4ad45ef9a8
@dmlap fire seeking in the flash tech, not the SWF. closes #2372
2015-07-21 17:31:51 -04:00
David LaPalomento
d3d5d032fc
@dmlap use seekable on source handlers when defined. closes #2376
2015-07-21 17:12:24 -04:00
David LaPalomento
1102452ca3
@dmlap export a basic played() on techs. closes #2384
2015-07-21 16:56:23 -04:00
jrivera
d2de00cae1
@imbcmdth updated source handlers to use bracket notation so they wont break when using minified videojs. closes #2348
2015-07-16 13:48:34 -04:00
David LaPalomento
ccd6ed44b8
Don't track progress until ready
...
Delay manual progress checks until the tech is ready to avoid errors.
The Flash tech errors if buffered() is called before the SWF has loaded,
for instance.
closes #2316
fixes #2288
rel #2289
2015-07-10 12:22:20 -07:00
Pavel Horal
f9316fcda0
@pavelhoral fixed subclassing without a constructor. closes #2308
2015-07-10 11:42:29 -07:00
Michelle Anderson
3479a545aa
Checking on the event the relatedTarget exists before setting its property
...
Fixes a bug where relatedTarget was undefined in Firefox
fixes #2024
closes #2025
2015-07-09 15:41:07 -07:00
David LaPalomento
c2820e9e38
@dmlap fixed an error caused by calling vjs_getProperty on the swf too early. closes #2289
2015-07-09 11:52:52 -07:00
Thijs Triemstra
56be47b80a
Log an error when a plugin can't be found
...
closes #1931
closes #1928
2015-07-08 14:51:00 -07:00
jrivera
56d4861bb0
src() should not return blob URLs with MSE source handlers. closes #2271
2015-06-23 16:28:23 -04:00
jrivera
463ba4ea44
@imbcmdth fixed async currentSrc behavior. closes #2256
2015-06-15 16:26:07 -04:00
jrivera
20b46b9fb9
@imbcmdth updated currentSrc to return src instead of blob urls in html5 tech. Fixes #2232 . closes #2232
2015-06-10 14:14:54 -04:00
heff
05b6bb2ae4
Removed swf creation from tests
...
- Broke out RTMP tests into their own file.
- Cleaned up the currentTime test to not create the swf
- Cleaned up the flash dispose test
- Cleaned up formatting for additional flash tests
--skip-ci
2015-06-09 12:49:12 -07:00
David LaPalomento
0be74e51ff
@dmlap added support for the seekable property. closes #2208
2015-06-08 13:47:04 -07:00
Carlos
55a391b54a
@carpasse enhanced events to allow passing a second data argument. closes #2163
2015-06-05 10:36:59 -07:00
Matthew McClure
42f00f2bfc
@mmcc deprecated the options() function and removed internal uses. closes #2229
2015-06-04 17:33:34 -07:00
David LaPalomento
1c35bfafc2
@dmlap add the seekable property. closes #2207
2015-06-01 17:40:40 -04:00
Matthew McClure
9c33bd72c7
@mmcc switched to using button elements for button components. closes #2209
2015-05-29 15:56:45 -07:00
heff
a5758019e5
Updated the ready event to always be async
...
closes #1667
Fix text track tests.
Now that ready is async, we need to tick the clock so the ready handler
fires.
Remove unneeded ready test
2015-05-22 17:27:15 -07:00
45aff0062cf1b0e55a6532b0a513db6be3952d17
6b2dca32fc
Normalise lang codes to lowercase for insensitive match
...
Use primary code ('en') if specific code ('en-us') doesn not match
Always re-merge languages
closes #2177
Updated language function to lowercase internally
Updated component.localize to not require stubbing
2015-05-21 17:07:13 -07:00
heff
1bfe0b4fed
Clean up and documentation of src/js/video.js and DOM functions
...
Preparing to export utility functions on the videojs object
closes #2182
Change el() to getEl() for consistency
Cleaned up DOM functions library
Clean up and document videojs object API
Fixed mergeOptions to modify the first object instead of a copy
More cleanup of the main video.js file and documentation
Fixed issues with mergeOptions
Cleaned up the addLanguage function
Removed unnecessary underscores in private module vars
2015-05-21 11:33:12 -07:00
eXon
5d550ffada
Additional tech 2.0 improvements from #2126
...
closes #2166
closes #2126
this.tech.emitTapEvents(); should be handled by the tech
De-dupe the bufferedPercent code in both Tech and Player
Have the player generate the tech ID
Added autoplay/preload/loop/muted to tech option
Remove the watch for native timeupdates
Fixed the JSDoc for bufferedPercent
Removed the unit test for native timeupdate
Added cute whitespaces
buffer should always return a TimeRange
2015-05-21 11:19:33 -07:00
heff
1ffb13a799
Fixed all uses of registerComponent that relied on __proto__ inheritance
2015-05-18 17:35:21 -07:00
heff
a8ff970d4a
Broke up Lib and Util into smaller libraries of functions
...
Broke out bind, guid, and element data functions from Lib
Separated out more dom functions in to dom.js
Broke out URL functions into url.js
Removed setLocalStorage since it wasn't being used
Moved browser tests out of lib
Moved log functions into their own file
Removed trim() since it wasn't being used
Moved formatTime into its own file
Moved round into its own file and renamed roundFloat()
Moved capitalize into its own file and renamed as toTitleCase()
Moved createTimeRange into its own file
Removed Lib.arr.forEach infavor of the native forEach
Removed Lib.obj.create in favor of native Object.create (ES6-sham)
Removed obj.each in favor of native Object.getOwnPropertyNames().forEach()
Removed obj.merge and copy. Using lodash.assign instead.
Replaced Lib.obj.isPlain with lodash.isPlainObject
Removed Lib.obj.isArray in favor of the native Array.isArray
Also removed the lib.js tests file as all tests have been moved
or removed.
Removed Lib.isEmpty in favor of !Object.getOwnPropertyNames().length
Switched Util.mergeOptions and deepMerge to use new mergeOptions()
Moved Lib.TEST_VID to Html5.TEST_VID
Removed Lib references everywhere. Woo!
Attempting to fix sourcemap test errors by setting grunt-browserify version
Switched to object.assign from lodash.assign
Removed unused 'inherits' dependency
Reorganzied test files and added '.test' to file names
Combined js/core.js and js/video.js
Moved events.js into the utils directory
2015-05-15 18:20:35 -07:00
heff
2fc8968002
@heff added support for fluid widths, aspect ratios, and metadata defaults. closes #1952
2015-05-13 22:45:01 -07:00
Brandon Bay
652a44026f
@bc-bbay fixed a bug where the player would try to autoplay when there was no source. closes #2127
2015-05-13 15:10:55 -07:00
Gaurav Saxena
36956e20df
@saxena-gaurav fixed a bug from disposing after changing techs. closes #2125
2015-05-06 14:45:50 -04:00
eXon
e5595b1e38
@eXon began Tech 2.0 work, improved how tech events are handled by the player. closes #2057
...
closes #1485
2015-05-06 14:02:01 -04:00
Gary Katsevman
102c6fb197
@gkatsev added a sensible toJSON function. closes #2114
2015-05-01 14:16:19 -07:00
Deirdre Connolly
f84632e057
@dconnolly exported the missing videojs.plugin function. closes #2103
2015-04-30 14:49:22 -07:00
David LaPalomento
b5968f13e2
@dmlap added an error message if techOrder is not in options. closes #2097
2015-04-29 14:05:22 -07:00
Brandon Bay
bb9fde0f82
@bc-bbay rename onEvent methods to handleEvent. closes #2093
2015-04-29 10:17:46 -07:00
jforbes
69738a86dc
@forbesjo added the `scrubbing` property. closes #2080
2015-04-28 13:33:55 -07:00
Deirdre Connolly
c62aa10637
@dconnolly replaced JSON.parse with a safe non-eval JSON parse. closes #2077
2015-04-27 17:05:39 -07:00
Matthew McClure
e1e69941a1
@mmcc added ES6 default args and template strings. closes #2015
2015-04-22 15:26:37 -07:00
heff
a02ee27802
@heff converted all classes to use ES6 classes. closes #1993
2015-04-14 13:08:32 -07:00
Matthew McClure
f3036dd528
cleanup and fixed options shadowing in player
2015-04-03 15:25:58 -07:00
heff
6e5fc8d687
More build and testing cleanup. Also some reorganization.
2015-04-02 11:33:51 -07:00
Matthew McClure
0c9d53321f
Report test coverage analytics during test runs
2015-04-02 11:33:50 -07:00
heff
f298d18023
Most of test conversion for es6ification
2015-04-02 11:33:50 -07:00
Matthew McClure
2e689f85e5
Starting ES6 conversion up to functional player
2015-04-02 11:33:50 -07:00
Carlos Pastor
f69a229224
Extended getFileExtension test cases
2015-03-25 12:40:10 +01:00