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
heff
d8e7d13fd0
build: Updated test configuration for new Savage testing
2015-05-12 14:05:08 -07: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
54519da32c
Grunt improvements
...
Get test/index.html working when loaded directly into a browser. Remove extra browserifying via karma. Add timing info to to grunt output.
2015-04-29 15:02:14 -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
heff
f19d13b9bb
@heff added and `extends` function for external subclassing. closes #2078
2015-04-28 11:50:09 -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
Carlos Pastor
213c23d097
Added getFileExtension to libs. Extended canHandleSource in media files to consistently guess mime types. Fixes #1833
2015-03-24 19:52:04 +01:00
heff
9dea6bed33
@heff replaced Closure Compiler with Uglify for minification. closes #1940
2015-03-12 11:23:47 -07:00
heff
20a4184ea7
@heff fixed setting the source to an empty string. closes #1905
2015-02-27 15:50:13 -08:00
Gary Katsevman
8b0966c1b4
Store text tracks on player not tech
...
Test keeping text tracks between tech loads.
This does break without the previous commit.
closes #1874
2015-02-19 12:28:26 -08:00
heff
f27df10920
Fixed a controls test on the iPhone
...
On the iphone the controls attribute of the video element is always true.
2015-02-17 13:49:32 -08:00
heff
f96803a806
Fixed a poster test for IE11
2015-02-17 13:09:19 -08:00
Gary Katsevman
4e5c28cc56
@gkatsev greatly improved text track support and implemented vtt.js as the webvtt parser. closes #1749
2015-02-13 15:19:02 -08:00
David LaPalomento
5e371b4625
@dmlap Add network and ready state properties. closes #1854
2015-02-12 18:26:32 -05:00
45aff0062cf1b0e55a6532b0a513db6be3952d17
3742afe607
Add vjs-ended class when playback reaches the end of the timeline. closes #1857
2015-02-12 18:15:44 -05:00
Matthew McClure
fd24c5c7a3
lowered tap movement and tap time thresholds
...
or, you know, actually change the threshold
updated component test to account for smaller touchmove threshold
closes #1830
2015-02-12 14:34:07 -08:00
Steve Randy Tantra
fbb2197dfa
@steverandy fixed an issue with scrolling over the player on touch devices. closes #1809
2015-02-12 12:01:20 -08:00
David LaPalomento
f980cdb1fb
Hide the poster when play fires. closes #1834
2015-02-09 12:11:00 -05:00
heff
2489cc1c10
Merge branch 'stable'
...
Conflicts:
dist/video-js/video-js.css
dist/video-js/video-js.min.css
dist/video-js/video-js.swf
dist/video-js/video.dev.js
dist/video-js/video.js
2015-01-23 10:50:49 -08:00
Artem Suschev
c8781cf51b
@H1D fixed an issue with file extension type detection. closes #1818
2015-01-21 17:55:35 -08:00
David LaPalomento
4bde5c8928
Don't always add controls to the video element
...
Fix for #1561 . If the HTML tech is being constructed without a video element to work off of, make sure that the controls attribute is only added under the same circumstances it would be at player init. Before this fix, if you loaded the Flash tech and then switched to the HTML tech, you would see the native controls underneath the video.js controls.
Fix controls attribute test on iOS
iOS uses native controls by default and so was failing the assertions that native controls weren't used. Force custom controls for this test case to make it work like everywhere else.
Update nativeControlsForTouch default
The default value changed so fix the predicate that tested for whether it was in use.
closes #1811 , closes #1564 , closes #1561
2015-01-21 17:35:55 -08:00
Gary Katsevman
1c17a67f39
Fixed issue where ManualTimeUpdatesOff was not de-registering events. closes #1793
2015-01-16 12:05:21 -08:00
heff
e8235c9022
Fixed type support checking for an empty src string. closes #1797
2015-01-16 11:43:58 -08:00
heff
a3b12d9d03
Exported missing source handler functions. closes #1787
2015-01-12 14:28:22 -08:00
David LaPalomento
c939ab86ca
@dmlap fixed URL parsing in IE9. closes #1765
2014-12-23 08:25:49 -08:00
Matthew McClure
a67201f913
@mmcc updated the hide/show functions to use a class instead of inline styles. closes #1681
2014-12-22 09:38:54 -08:00
Matthew McClure
1f6c5179d8
@mmcc added functions for better timeout and interval handling. closes #1642
2014-12-03 11:31:39 -08:00
Steve Heffernan
76e662a756
@heff added the Source Handler interface for handling advanced formats including adaptive streaming. closes #1560
2014-12-02 14:22:34 -08:00
Steve Heffernan
1325722447
@heff fixed checking for child options in the parent options to allow for `false`. closes #1630
2014-10-30 13:19:01 -07:00
Steve Heffernan
f27bdd27ca
@heff Added the ability to set options for child components directly in the parent options. closes #1599
2014-10-28 11:45:32 -07:00
Steve Heffernan
4b818d9ebf
@heff enhanced the event listener API to allow for auto-cleanup of listeners on other componenets and elements. closes #1588
2014-10-28 11:16:56 -07:00
Steve Heffernan
af02d158da
@heff updated the poster to use CSS styles to display; fixed the poster not showing if not originally set. closes #1568
2014-10-16 12:59:41 -07:00
Matthew McClure
18b6d25bc7
@mmcc added support for audio tags (html5 audio only). closes #1540
2014-09-30 18:34:51 -07:00
Craig Rogers
9b7882e395
@twentyrogersc fixed the return value when setting the poster source. closes #1552
2014-09-30 15:38:22 -07:00
Ryo Chikazawa
f47bf26e49
@chikathreesix fixed an issue where data-setup options could be missed. closes #1514
2014-09-29 16:13:07 -07:00
baloneysandwiches
fd181aa9cd
@baloneysandwiches added a hasClass method. closes #1464
2014-09-29 15:46:18 -07:00