Steve Heffernan
46605739e2
Merge branch 'feature/fix-menu-title' of github.com:coursera/video.js into coursera-feature/fix-menu-title
2014-04-17 22:55:16 -07:00
Jon Wong
9d258742c5
Adjusting menu to use title given in options
2014-04-03 23:35:15 -07:00
Jon Wong
35d7258973
Merge branch 'feature/fix-menu-title' of git://github.com/coursera/video.js into coursera-feature/fix-menu-title
2014-04-03 14:26:38 -07:00
Matthew McClure
95c29e684f
Reset player on source change. closes #1050 closes #1124
2014-04-03 11:16:09 -07:00
Jon Wong
c7e35e51de
Making sure that the title element gets placed into the UL element
...
Included are two sanity check tests for the two areas being checked
to make sure that the menu title items are being correctly placed
in the actual UL element of the menu.
Fixes #1107
2014-04-01 22:32:14 -07:00
Steve Heffernan
af50b8ee29
Fixed canPlaySource export that got lost in last release
2014-03-27 14:25:58 -07:00
Steve Heffernan
e8d36e0fab
Exported upatchCanPlayType and moved tests to api.js
2014-03-27 13:24:03 -07:00
Steve Heffernan
a9ad77aa00
Removed a low value test that was causing a hang in testing
2014-03-27 11:53:06 -07:00
Steve Heffernan
88403221a9
Fixed canPlayType patch tests on Android
2014-03-27 11:19:21 -07:00
Steve Heffernan
74c73969cd
Merge branch 'gkatsev-defaultprevented'
2014-03-26 14:45:53 -07:00
Steve Heffernan
2c12ed98a7
Merge branch 'defaultprevented' of git://github.com/gkatsev/video-js into gkatsev-defaultprevented
2014-03-26 14:32:50 -07:00
Gary Katsevman
e39557e790
Always unpatch canPlayType.
...
Fix up tests to not ignore some if canPlayType is not available since
unpatch is no longer broken.
2014-03-26 16:59:04 -04:00
Gary Katsevman
e2a1cac136
fix typo for unpatchCanPlayType
2014-03-26 16:58:49 -04:00
Gary Katsevman
d21019ad78
add existence test for patch and unpatch methods
2014-03-26 16:39:11 -04:00
Gary Katsevman
94ec725a66
update for IE8 and fixup stupid tests
2014-03-26 14:58:36 -04:00
Gary Katsevman
fef6282d55
remove unused var
2014-03-26 13:49:21 -04:00
Gary Katsevman
0c856ce9a4
call unpatchCanPlayType after tests
2014-03-25 15:32:03 -04:00
Gary Katsevman
817253b74f
Also, switch out HTMLVideoElement to constructor reference in tests
2014-03-24 19:07:19 -04:00
Gary Katsevman
86c3f94c87
fix up jshint errors
2014-03-24 18:00:00 -04:00
Gary Katsevman
d48d6cf99d
add a test
2014-03-24 17:56:02 -04:00
Gary Katsevman
5381f70d1c
+ vjs.Html5.{patchCanPlayType,unpatchCanPlayType}
...
patchCanPlayType is called on load.
It patched video#canPlayType if needed.
unpatchCanPlayType will revert the patch and return the patch function.
There are also corresponding tests that test patchCanPlayType,
unpatchCanPlayType and also whether the patch functions themselves work
correctly.
2014-03-17 20:47:47 -04:00
Steve Heffernan
a64a5e27cf
Merge branch 'stable'
...
Conflicts:
dist/video-js/video-js.css
dist/video-js/video-js.min.css
dist/video-js/video.dev.js
dist/video-js/video.js
2014-03-06 13:18:49 -08:00
Steve Heffernan
2005fe2136
Exporting tech.setPoster(). Fixes #1028
2014-03-05 16:08:49 -08:00
Steve Heffernan
7c772fbf3e
Merge branch 'bugfix/src-getter' of git://github.com/dmlap/video-js into dmlap-bugfix/src-getter
...
Conflicts:
src/js/media/flash.js
2014-03-04 11:24:10 -08:00
Steve Heffernan
e9da3350d4
Made the src method return the player when setting, and made Flash return the current srouce for flash.src()
2014-02-27 17:34:01 -08:00
Steve Heffernan
310a0630c9
Switched to custom universal module definition. closes #998 closes #847 closes #998
2014-02-13 19:20:30 -08:00
Steve Heffernan
8c59405d86
Added missing files from standard test suite
2014-02-10 17:14:46 -08:00
Steve Heffernan
7ade43d91d
Merge branch 'bugfix/lastseek-cleanup' of git://github.com/dmlap/video-js into dmlap-bugfix/lastseek-cleanup
2014-02-10 16:17:30 -08:00
Steve Heffernan
6f83d0b00e
Merge branch 'karma-update' of git://github.com/christophercurrie/video.js into christophercurrie-karma-update
...
Conflicts:
test/karma.conf.js.example
2014-02-10 16:08:47 -08:00
Steve Heffernan
1b45195f9d
Close GH-981: Stopped component's dispose event from bubbling up.
2014-02-06 17:11:33 -08:00
Steve Heffernan
ef1b239b2a
Removed unneeded option in tests
2014-02-06 16:58:25 -08:00
Steve Heffernan
4521c70173
Changed enableUserActivity to enableTouchActivity
...
Added back tracking of touch+hold
2014-02-06 16:54:35 -08:00
Gary Katsevman
9975ed407a
Don't enable enableUserActivity on an option
2014-02-06 15:59:57 -05:00
Gary Katsevman
44d6cac1b7
Test is for tap events and not user activity
2014-02-05 20:58:30 -05:00
David LaPalomento
7184cb4b49
src() called as a getter should return the video src
...
It can be handy that src() returns the player object when it is invoked but it does not match the behavior of the corresponding property on the video element. Ignoring the spec however, while the video element is running the resource selection algorithm, currentSrc may be undefined. If the video source has been specified through an attribute on the video element, src() is the natural way to expose that URL programmatically. Without this change, it's necessary to bypass the player and interact with the tech directly to determine the value of the src attribute.
2014-01-25 23:16:35 -05:00
Steve Heffernan
a8afe9c673
Merge pull request #906 from heff/feature/more-exports
...
Added missing component exports
2014-01-23 16:45:27 -08:00
Steve Heffernan
65767f77f8
Merge pull request #948 from christophercurrie/karma-missing-util
...
Karma example is missing util
2014-01-23 16:40:54 -08:00
David LaPalomento
ff1c9c5cf0
Fix touch detection test on non-touch devices
...
TOUCH_ENABLED is false on non-touch devices which causes our minified API test to fail when opened in a browser on a traditional destktop machine. It worked fine through the command line because apparanetly phantomjs supports touch events (ha!). Check to make sure the property is not undefined instead.
2014-01-23 18:28:46 -05:00
David LaPalomento
dd8c25e8d5
Store last seek time in the Flash tech
...
Instead of caching the last seek time at the player level, cache it in the Flash tech. The only place this value was used was in the progress controls when Flash was loaded, so this simplifies the logic in that component and pushes the hack down into a single location at least.
2014-01-23 18:19:15 -05:00
Christopher Currie
a54d9cdae6
Add dependencies and configuration for all browser launchers
2014-01-21 08:42:40 -08:00
Christopher Currie
51b836d6be
Update to karma 0.10/grunt-karma 0.6.
...
Current version of grunt-karma has ChromeLauncher bugs.
2014-01-17 14:18:09 -08:00
Christopher Currie
0a2167468c
Karma example is missing util
2014-01-17 19:39:00 +00:00
Steve Heffernan
024b031646
Added missing component exports. fixes #903
2013-12-18 17:53:43 -08:00
Steve Heffernan
166cc9c1ef
Close GH-878: Moved player exports to externs.
2013-12-09 16:16:09 -08:00
Steve Heffernan
15a0d7dbb6
Added note to fullscreen externs test
2013-12-02 17:31:18 -08:00
Steve Heffernan
c23ca5200c
Merge branch 'hotfix/player-externs' of git://github.com/dmlap/video-js into dmlap-hotfix/player-externs
...
Conflicts:
Gruntfile.js
2013-12-02 17:29:34 -08:00
Steve Heffernan
522f45f458
Exported util namespace and mergeOptions
2013-12-02 17:11:08 -08:00
Steve Heffernan
2aa09fd15a
Close GH-862: Add util namespace.
2013-12-02 17:03:32 -08:00
David LaPalomento
75b2171051
Close GH-850: Use qunitjs through npm.
2013-12-02 15:34:00 -08:00
David LaPalomento
1cab78347d
Close GH-845: Move player id generation.
2013-12-02 15:29:41 -08:00