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
Gary Katsevman
53ea60cd06
fixes #1512 , fixes #1507
...
On ended, pause player if not paused or looping
IE11 (and maybe other browsers as well) only fire 'ended' event when the
video ends and doesn't fire pause. This makes IE11 not reset it's state
into a paused state that allows a user to replay immediately. However, a
two clicks on the play/pause button will allow you to replay.
In Chrome, we get first a pause event and then an ended event. When
'loop' is set, neither the last pause nor ended fire.
In the flash tech, the pause and ended events fire like in chrome in all
browsers.
Add tests for onEnded change
Appease jshint.
2014-09-16 14:53:46 -07:00
Steve Heffernan
5abff360cc
Added back missing deprecated fullscreen functions, and fixed a warning from using a deprecated method internally.
...
fixes #1451
2014-09-05 14:33:27 -07:00
David LaPalomento
eec1fc13fe
Move language methods into externs
...
Trying to create a player-like subclass of component requires overriding languages() but that method was being minified. Add it to externs so that it can be overridden after minification. Fixes #1420 .
2014-09-05 13:50:13 -07:00
David LaPalomento
b9181ee55b
Make sure the error property is set before proxying through the tech.
...
Some error events don't cause the error property on the video element to be set. In that case, handle the event like any other. Fixes #1465 .
2014-09-05 13:36:50 -07:00
David LaPalomento
d385f8257f
Fixes #1481
...
Clear out pending errors on player disposal.
Source selection errors are dispatched asynchronously so that there is an opportunity to override the error message. If the player is disposed during that period, the error timeout wasn't being cleared properly. Fix for #1480 .
Fix whitespace
When defining variables inline with declarations, stick to one variable per line.
2014-09-05 13:32:15 -07:00
Steve Heffernan
7d4b26625f
Fixed a broken playbackRate test on Android 2.3
2014-09-02 17:38:11 -07:00
Steve Heffernan
16640274d7
Merge branch 'hotfix/error-timeout-squashed' of github.com:mmcc/video.js into mmcc-hotfix/error-timeout-squashed
2014-09-02 16:43:01 -07:00
Steve Heffernan
f3925c7364
Changed to feature prefix over suffix to make it read more as a boolean
2014-09-02 16:22:43 -07:00