1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-18 23:49:08 +02:00
Commit Graph

1480 Commits

Author SHA1 Message Date
Steve Heffernan
6d1afd059f Updated to latest version of the swf. closes #390 closes #435 2013-05-02 15:52:15 -07:00
Steve Heffernan
78ec7f0f16 Merge pull request #482 from gkatsev/verticalVolumeMenu
Make Volume Menu Button default to vertical.
2013-05-02 15:20:44 -07:00
Gary Katsevman
5dc9c0f2ae Make volumeBar return 0% when muted. 2013-05-02 18:14:11 -04:00
Gary Katsevman
89b6f42e99 Make Volume Menu Button default to vertical.
This can be configured by giving the volumeMenuButton, an option like
`{volumeBar: {vertical: false}}`. This can also be used to pass other
options to the volumeBar.
2013-05-02 16:54:09 -04:00
Steve Heffernan
b2539cb1ea Merge pull request #472 from drench/351-localStorage-catch
Catch localStorage security exceptions. Fixes #351
2013-05-01 16:33:07 -07:00
Steve Heffernan
beb3a94135 Merge pull request #471 from sh1ps/master
Switched license from LGPLv3 to Apache2.0
2013-05-01 16:29:10 -07:00
Steve Heffernan
f42c96e012 Updated to use vjs.USER_AGENT string. 2013-05-01 16:20:41 -07:00
Steve Heffernan
9c6dbea344 Merge pull request #469 from dmlap/android-fullscreen-pr
Android browsers support video element fullscreen
2013-05-01 16:18:19 -07:00
Steve Heffernan
fa79564802 Merge pull request #477 from gkatsev/verticalSlider
Vertical slider
2013-05-01 16:13:00 -07:00
Steve Heffernan
e21dd3649c Merge pull request #481 from heff/feature/skin
Updated to new skin design
2013-05-01 15:59:51 -07:00
Steve Heffernan
c2f8930e99 Updated controls to not show by default. 2013-05-01 15:35:59 -07:00
Steve Heffernan
fb603745dc Fixed some styles and menu element buildling. 2013-05-01 15:31:44 -07:00
Steve Heffernan
4faa411ece Added new CSS. Fixed slider classname issue. 2013-05-01 14:49:37 -07:00
Steve Heffernan
7ea76951c6 Updated track buttons to use new menu buttons class. 2013-05-01 14:39:00 -07:00
Steve Heffernan
5172875afb Updated player to use native controls on mobile devices. 2013-05-01 13:56:09 -07:00
Steve Heffernan
0633a93837 Removed multi-ball-specific spinner code. 2013-05-01 13:48:54 -07:00
Steve Heffernan
c548229e73 Added volumeMenubutton class 2013-05-01 13:46:05 -07:00
Steve Heffernan
e47850a152 Updated seekhandle and volume handle to use slider handle. 2013-05-01 13:34:40 -07:00
Steve Heffernan
ae49f1efc8 Added a class to the button inner div. 2013-05-01 13:14:30 -07:00
Gary Katsevman
fc96ef68ac fix jshint errors 2013-05-01 13:02:05 -04:00
Gary Katsevman
b36665ebcd Add a few tests for vjs.findPosition 2013-05-01 12:03:10 -04:00
Gary Katsevman
9acacaac37 Null check gBCR 2013-05-01 12:02:51 -04:00
Steve Heffernan
c92991e2fc Merge pull request #480 from heff/feature/menu
Added a menu button class as a super class to the track buttons and a vo...
2013-04-30 19:07:15 -07:00
Steve Heffernan
99373ce4b6 Added a menu button class as a super class to the track buttons and a volume button 2013-04-30 19:00:14 -07:00
Steve Heffernan
9c6c384704 Merge pull request #479 from heff/feature/slider
Added a new Slider Handle class to share code between subclass sliders
2013-04-30 18:17:54 -07:00
Steve Heffernan
e7fa682976 Added a new Slider Handle class to share code between subclass sliders
Also added a click preventDefault to protect from triggering parent menu buttons.
2013-04-30 18:10:38 -07:00
Steve Heffernan
d270a16b32 Merge pull request #478 from heff/feature/content-el
Added an optional contentEl for compontents.
2013-04-30 17:45:58 -07:00
Steve Heffernan
f0d3680fe4 Added an optional contentEl for compontents.
This allows you to define a different element to append children to as opposed to the main component element. Because sometimes components require more than one element to create their structure. e.g. a menu button.
2013-04-30 17:27:36 -07:00
Gary Katsevman
ff56061853 Make sure to return an object if box doesn't exist 2013-04-30 19:18:21 -04:00
Gary Katsevman
0154d04535 Make sliders able to handle vertical sliders in calculateDistance.
This takes a 'vertical' option on the slider bar itself. If set, it will
use the top and pageY values to calculate the slider positions.
2013-04-30 19:02:49 -04:00
Gary Katsevman
22bbd00ac9 Change vjs.findPosX to vjs.findPosition to return both left and top.
This also removes the fallback method that doesn't use the
getBoundingClientRect because according to MDN[1] and PPK[2], it should
be supported just about everywhere.

[1] https://developer.mozilla.org/en-US/docs/DOM/element.getBoundingClientRect#Browser_compatibility
[2] http://www.quirksmode.org/dom/w3c_cssom.html#documentview
2013-04-30 18:59:02 -04:00
Steve Heffernan
04feef9303 Merge branch 'issue424-pr' of git://github.com/dmlap/video-js into dmlap-issue424-pr
Conflicts:
	src/js/media.html5.js
2013-04-29 16:10:37 -07:00
Steve Heffernan
c7823ceb68 Merge pull request #475 from gkatsev/fix/androidBrowser2
Dont enable onClick play state toggling on android via the MediaTechController
2013-04-29 15:25:34 -07:00
Gary Katsevman
85cf34017a forgot a semicolon >.< 2013-04-29 18:12:32 -04:00
Gary Katsevman
a681d172f2 Dont enable onClick play state toggling on android via the MediaTechController 2013-04-29 17:54:21 -04:00
Steve Heffernan
8c52d02c21 Merge pull request #468 from mente/fullscreen
fixes fullscreen using html5 technology
2013-04-29 13:52:28 -07:00
David LaPalomento
7fab906843 Remove xEnterFullScreen fallback
Only the video element supports enterFullScreen() so don't use it as a fallback if requestFullScreen isn't available.
2013-04-29 14:44:07 -04:00
Danny Rench
90f975c20e Catch localStorage security exceptions. Fixes #351 2013-04-28 19:53:28 -05:00
Matthew McClure
247a725cad added license to readme 2013-04-28 17:35:21 -07:00
Matthew McClure
016e94f889 Merge remote-tracking branch 'upstream/master' 2013-04-28 17:34:08 -07:00
David LaPalomento
8524ad9817 Android browsers support video element fullscreen
Modify the UA check in media.html5 for whether a video element supports enterFullScreen to return true for Android WebKit/Chrome browsers.
2013-04-26 12:38:48 -04:00
Alex Vasilenko
01104ef2a4 fixes fullscreen using html5 technology 2013-04-26 18:52:23 +03:00
Steve Heffernan
7199b91f4d Merge pull request #459 from gkatsev/issue/fixEvents
Make preventDefault and stopPropagation call the corresponding methods on the actual event
2013-04-25 12:29:53 -07:00
Steve Heffernan
623bb75267 Merge pull request #458 from gkatsev/lockShowing
Make lockShowing apply a css class instead of modifying styles directly....
2013-04-25 12:29:28 -07:00
Gary Katsevman
83b007504f Make vjs-lock-showing less specific but with display !important 2013-04-25 15:13:23 -04:00
David LaPalomento
9576710b2f Update minify task to work with grunt-cli 0.1.6
It looks like the newer version of grunt-cli has changed how options objects are forwarded to tasks. The minify (Google closure compiler) task was looking for configuration in the wrong location and the new location no longer automatically expanded path wildcard patterns.
2013-04-23 10:45:05 -04:00
Matthew McClure
07d90fb6e0 grunt now adds copyright comment to top of video.js 2013-04-22 18:48:34 -07:00
David LaPalomento
7d67abdae8 Activate the video element when video-level fullscreen is requested. Fix #424
Prime the video element for programmatic access by quickly playing and pausing when entering fullscreen. Only attempt this if the video is paused and no content has been loaded yet. Do so in a setTimeout of 0 because iOS 6.1 devices go into a loop of continuously pausing and playing if you play and pause synchronously while attempting to enter fullscreen. Don't fire `fullscreenchange` if we're forced to use the video elements fullscreen mode because we don't properly detect when exiting fullscreen and it leaves the player stretched out to fill the entire browser window when the user returns from watching.
2013-04-22 18:45:42 -04:00
Gary Katsevman
c4d07c402d Make preventDefault and stopPropagation call the corresponding methods on the actual event 2013-04-22 17:23:20 -04:00
Gary Katsevman
c0726d20f0 Make lockShowing apply a css class instead of modifying styles directly. Adress #427 2013-04-22 16:07:41 -04:00