Steve Heffernan
0f21f86521
Merge branch 'stable'
2013-05-28 15:33:31 -07:00
Steve Heffernan
753ce48e21
Close GH-546: Fix for exit-fullscreen bug in 4.0. fixes #497 .
2013-05-28 15:29:42 -07:00
Philippe Normand
6b4d811b2f
Close GH-515: createEl: dispose reference to cloned element. Fixes #514
2013-05-23 18:40:14 -07:00
Steve Heffernan
0fe7348456
Close GH-535: Adding version numbers in build. Minifying CSS..
2013-05-23 13:10:29 -07:00
Steve Heffernan
68d5cb996a
Close GH-532: Added ie fix to font loading..
2013-05-22 17:01:55 -07:00
Steve Heffernan
07000db77d
Updated swf location from /c to /4.0
2013-05-09 09:28:14 -07:00
Steve Heffernan
c59275583c
Created a new deploy process for the new version
2013-05-08 22:30:52 -07:00
Steve Heffernan
65f4f1da96
Updated the font names to be shorter for the cdn.
2013-05-08 14:27:57 -07:00
Matthew McClure
6eac0a44c4
added font files
2013-05-08 14:01:39 -07:00
Matthew McClure
55e2c99899
removed styles from pseudo elements to make broad styling possible. updated copyright link in package.json
2013-05-08 13:29:02 -07:00
Steve Heffernan
d1def0bcca
Triggering fullscreenchange again to fix fullscreen button status. fixes #388
2013-05-06 10:44:59 -07:00
Steve Heffernan
d395f6e684
Fixed vjs.findPosition. fixes #488
2013-05-03 12:49:55 -07:00
Steve Heffernan
05ab972a1a
Broke up controls.js into multiple files.
...
Cleaned up media.js files also.
2013-05-02 19:03:29 -07:00
Steve Heffernan
64f7729b72
Added a disable
method on components.
...
Used it to hide the controls when player.controls is false.
Also hiding big play button and poster if controls are false.
2013-05-02 18:35:32 -07:00
Steve Heffernan
4f319a2174
Fixed muted errors in tests from previous pull request. Removed error captureing that was preventing test breakage.
2013-05-02 17:07:05 -07:00
Steve Heffernan
6d1afd059f
Updated to latest version of the swf. closes #390 closes #435
2013-05-02 15:52:15 -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
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
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
9acacaac37
Null check gBCR
2013-05-01 12:02:51 -04: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
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
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
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
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
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
Gary Katsevman
83b007504f
Make vjs-lock-showing less specific but with display !important
2013-04-25 15:13:23 -04: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