Andy Niccolai
02de927043
Close GH-672: Control bar updates. Fixes #556 , Fixes #500 , Fixes #374 , Fixes #403 , Fixes #441 , Fixes #193 , Fixes #602 , Fixes #561 , Fixes #281
2013-08-09 14:29:22 -07:00
Jeremy Elbourn
20e2d4e984
Merge branch 'master' of https://github.com/videojs/video.js into 636-incompatible
2013-08-05 14:23:05 -04:00
Jeremy Elbourn
ff9165b7da
Default incompatibility msg w/ other global options fixes #636
2013-08-05 14:19:20 -04:00
Sean Bloomfield
f7a72b1f20
exporting addClass and removeClass. added api existence tests for fadeIn,fadeOut,addClass,removeClass
2013-07-30 15:58:00 -05:00
Steve Heffernan
9030a5655e
Revert "Close GH-630: prevent default action for simple html5 media events. fixes #573 , fixes #620 (duplicate bug)."
...
This reverts commit 15544c3d05
.
2013-07-30 11:31:33 -07:00
Steve Heffernan
699c476575
Merge pull request #660 from videojs/stable
...
Close GH-630: prevent default action for simple html5 media events. fixe...
2013-07-30 11:25:07 -07:00
Cameron Tangney
15544c3d05
Close GH-630: prevent default action for simple html5 media events. fixes #573 , fixes #620 (duplicate bug).
2013-07-30 11:12:30 -07:00
Dominic
15fab6df81
Close GH-654: Export createItems call to enable plugins to hook into process. Fixes #648
2013-07-30 10:43:11 -07:00
Mykhailo Stadnyk
75ff27307d
Close GH-643: Fix Player.buffered() to more correct behavior.
2013-07-29 15:48:25 -07:00
David Elner
334ff59ff0
Close GH-659: Allow event handlers registered with one() to be removed with off().. Fixes #658
2013-07-29 15:33:10 -07:00
Steve Heffernan
a809954495
Exporting component.player. fixes #647
2013-07-29 10:48:10 -07:00
Dominic
a38ce63474
Close GH-648: Added export for vjs.MenuButton. Fixes #647
2013-07-22 12:14:35 -04:00
Steve Heffernan
1eca8add85
Close GH-644: LESS for CSS.
2013-07-19 20:18:39 -07:00
Jeremy West
a449cb043a
Close GH-614: added dispose event. fixes #613 .
2013-07-18 14:39:14 -07:00
Jeremy Elbourn
918ee040e1
Allow setting a custom incompatible video message. fixes #636
2013-07-12 16:05:25 -04:00
Steve Heffernan
ed8ed4dd94
Merge branch 'stable' into release/4-1
...
Conflicts:
CHANGELOG.md
contrib.json
src/js/cdn.js
2013-06-28 15:48:33 -07:00
Steve Heffernan
9f647ef081
Fixed an issue where the tag player reference wasn't getting killed in the minified version
2013-06-28 15:42:47 -07:00
Steve Heffernan
c616695e4d
Fixed an issue where tag was undefined in iOS
2013-06-28 15:02:21 -07:00
Steve Heffernan
ffd308e305
Close GH-609: Captions fixes. Fixes #564 , Fixes #542
2013-06-28 13:06:50 -07:00
Steve Heffernan
db97df69dc
Close GH-606: Fix IE9 canPlayType error. Fixes #519
2013-06-28 13:03:38 -07:00
Gary Katsevman
00a043f1e1
Close GH-470: Augment userAgent detection.
2013-06-26 15:05:50 -07:00
Steve Heffernan
1ddef27903
Close GH-588: Export bufferedPercent.
2013-06-24 12:47:47 -07:00
Jon Zepernick
02a1057ff4
Close GH-593: When autoplay = true, delete tag.poster instead of setting to null.
2013-06-24 12:38:05 -07:00
Sean Bloomfield
042076043b
Close GH-581: export Component.prototype.fadeIn/Out.
2013-06-24 12:07:39 -07:00
Steve Heffernan
85c6b46ec8
Merge pull request #576 from Mikhus/master
...
Some minor code improvements
2013-06-17 11:19:41 -07:00
mstadnyk
1e199da117
Code guidelines fixed
2013-06-17 01:02:29 +03:00
mstadnyk
3a40dcd883
Several minor code improvements.
...
Actually, tracks.js contains several pieces of code which could
be re-written more effectively. The problem is that in some places
there are conditional checks like this:
if (condition) {
call_setter( true);
} else {
call_setter( false);
}
which could be re-written to:
call_setter( condition);
This improvement saves some bytes of code length, traffic and should
also work more effectively by utilizing less machine resources
2013-06-17 00:18:21 +03:00
Steve Heffernan
afc39f711f
Normalized CDN language value
2013-06-12 14:44:14 -07:00
Steve Heffernan
60d389e1f8
Close GH-571: Add analtyics to current CDN version. Fixes #568
2013-06-11 15:25:19 -07:00
Steve Heffernan
b02f879bf3
Close GH-568: Google Analytics Tracking for CDN.
2013-06-11 15:14:36 -07:00
Steve Heffernan
d5d97bd64f
Close GH-560: Export global players object.
2013-06-05 10:27:38 -07:00
Steve Heffernan
f6bd819c5c
Close GH-555: Export requestFullScreen().
2013-06-03 13:19:46 -07:00
Steve Heffernan
847e392e0c
Close GH-524: Blocking user text selection by default on player components. fixes #46 .
2013-05-31 16:09:07 -07:00
Steve Heffernan
0c4c30a3bd
Close GH-553: Turn on tech method queuing.
2013-05-31 10:31:18 -07:00
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
Steve Heffernan
f81b369955
Merge pull request #457 from gkatsev/fix/calculateDistance
...
Fix calculateDistance on slider to work in iframes and all devices.
2013-04-22 11:26:51 -07:00
Steve Heffernan
229f5028e1
Merge pull request #456 from gkatsev/feature/issue448
...
Add videojs to window directly. Fix #448
2013-04-22 11:24:05 -07:00
Steve Heffernan
8494080c90
Merge pull request #454 from dmlap/issue453
...
Move html tech feature detection earlier than superclass constructor. Fix #453
2013-04-22 11:23:28 -07:00
Gary Katsevman
a8e87f80ed
Make slider use changedTouches if available. Also, test to make sure we get the correct ratio for calculateDistance
2013-04-22 13:57:42 -04:00
Gary Katsevman
b1b0ac0377
Add videojs to window directly. Fix #448
2013-04-22 11:32:17 -04:00
David LaPalomento
99c982c103
Move html tech feature detection earlier than superclass constructor
...
The MediaTechController calls createEl during its initialization to construct the actual video element used for playback. On iOS, the video element must be recreated during this process so that it doesn't become unresponsive. Make sure that we determine whether recreating the video elemen is necessary before calling the superclass constructor.
2013-04-19 20:14:48 -04:00
Benoit Tremblay
fd798f3dac
Fix script after video DOM
...
You have to wait at least once in case this script is loaded after your video in the DOM (weird behavior only with minified version)
2013-04-18 00:49:59 -03:00
Benoit Tremblay
7a0155aa03
Check the unobfuscated init so we can extend outside the lib
2013-04-17 23:07:04 -03:00
Steve Heffernan
a73f0ab6f0
Updated event fixing to support IE8 and Firefox
2013-04-16 16:25:12 -07:00
Steve Heffernan
bdb4456c62
Fixed an issue where Firefox would lose the type of an event.
...
Because it returns false for event.hasOwnProperty('type');
2013-04-16 15:58:57 -07:00
Steve Heffernan
3b48be921e
First pass at automated multi-browser/device testing. closes #419
...
I've got a way to run tests across every browser and device out there except for IE8, and IE8 should work except I'm running into a Browserstack bug that I've let them know about.
It uses a project called bunyip, which internallt uses Yeti (YUI), Pagekite, and Browserstack.
Next steps include:
- Making it all automatic. Right now you have to wait for browsers to connect and then manually hit enter when they have.
- Make it a grunt task
- Document it all so others can use it
I think this is close enough for me to close the milestone 4.0 issue.
2013-04-12 16:51:04 -07:00
Steve Heffernan
2138d4f2a0
Close GH-425: Backing out goog.inherits and adding back the previous inheritance API. fixes #415 .
2013-04-09 13:43:35 -07:00
Benoit Tremblay
3a32f44f23
Close GH-432: Additional exports for external techs.
2013-04-09 13:18:55 -07:00
Steve Heffernan
c74f39318f
Updated grunt and grunt-contrib versions to fix PhantomJS bug
...
Also changed some additional code to fix new jshint issues found by new jshint version.
2013-04-09 10:42:41 -07:00
Steve Heffernan
0aa814fae7
Fixed another issue blocking the play event from triggering in Flash
2013-04-08 19:20:53 -07:00
Steve Heffernan
896d0333c7
Fixed a bug where play event was no longer being triggered.
2013-04-08 18:53:19 -07:00
Steve Heffernan
dbd02fb05a
Close GH-437: Made IE updates from CorwinT. Closes #309 . Closes #364..
2013-04-08 16:23:41 -07:00
Steve Heffernan
78a74536e5
Merge pull request #360 from mente/minified
...
correctly expose ready and dispose in minified version
2013-04-05 15:04:21 -07:00
Steve Heffernan
a59822065d
Merge pull request #417 from RavWar/controls_css_rework
...
Lock controls when video is paused
2013-04-05 14:56:01 -07:00
Steve Heffernan
496fa982e0
Merge pull request #426 from dmlap/feature/poster-attribute
...
Do not remove poster attribute when creating the player
2013-04-04 16:03:25 -07:00
Steve Heffernan
a9352922d9
Merge pull request #399 from dmlap/issue398
...
Fix #398
2013-04-04 13:02:43 -07:00
Steve Heffernan
143e53febc
Added isReady = false on unloadTech. fixes #214 , fixes #211
2013-04-04 11:06:13 -07:00
David LaPalomento
99a973e529
Do not remove poster attribute when creating the player
...
We use a div with a background image to simulate the poster image so that we can use a single poster implementation for flash and html. It may be desirable on some platforms to use the native poster image, however. On iPhones for instance, the simulated poster image covers up the native play button and can make it difficult to figure out where to touch to initiate playback. By keeping the poster attribute on the underlying video element, you can hide the simulated poster to get a native look-and-feel on that platform.
2013-04-04 09:55:27 -04:00
Ravwar
baeff8030d
Fix controls locking and unlocking functionality by:
...
1. Switch control bar default hiding styles
2. Fix typos
3. Remove duplicate function
2013-04-03 02:57:59 +04:00
David LaPalomento
65687aa3d0
Rename vjs-disabled to vjs-hidden
...
Disabled is a bit overloaded with visible but unusable controls, so use hidden instead. Re-arrange default styles a bit and use dom helper methods instead of the vjs-objection functions.
2013-04-02 16:17:30 -04:00
Steve Heffernan
f1d957929c
Merge pull request #404 from RavWar/fix_exports_duplicates
...
Remove duplicate code from exports
2013-04-01 16:26:14 -07:00
Gary Katsevman
e08851a2cc
Make the Duration Display not display the duration as a negative number
2013-03-27 14:35:34 -04:00
Ravwar
e41472f0e5
Remove duplicate code from exports
2013-03-27 13:43:11 +04:00
David LaPalomento
e55e5a7313
Fix #398
...
Use a new CSS class 'vjs-disabled' to disable display of the volume controls. This allows custom styles the flexibility to use methods other than `display:block` to layout the controls.
2013-03-24 17:40:35 -04:00
Steve Heffernan
9b25484a92
Merge pull request #375 from gkatsev/touchevents
...
Touchevents support for the control bar and seekbar
2013-03-22 14:56:02 -07:00
Steve Heffernan
1bf4502766
Merge pull request #389 from tagawa/optimization
...
Reduced PNG filesize by ~4kb
2013-03-21 14:38:38 -07:00
Gary Katsevman
a6578d5a5d
Remove changedTouches from fixEvent because it doesn't work currently. Add comment about it in the calculateDistance method
2013-03-20 15:27:42 -04:00
Gary Katsevman
37c463d37a
Don't prevent mouse actions when paused to make sure Android's Play overlay is usable.
2013-03-20 15:19:18 -04:00
Gary Katsevman
bae6fa1ab4
Remove showBigPlayButton
2013-03-20 15:18:05 -04:00
Jonathan Gold
c71203bd56
Adding more detail to JSON.parse() error
2013-03-19 17:32:44 -07:00
Gary Katsevman
5b324c05e1
Fix indentation
2013-03-19 11:48:13 -04:00
Gary Katsevman
452f9b3971
remove mouseOff
2013-03-19 11:40:09 -04:00
Gary Katsevman
da4400f437
remove console.log
2013-03-18 16:36:55 -04:00
Gary Katsevman
9555b80cc0
Make buttons accept tap events as well as click. Prevent mouseevents when touch is available
2013-03-18 16:36:55 -04:00
Gary Katsevman
f8706bbffe
Make slider touch/mouse events removable
2013-03-18 16:36:55 -04:00
Gary Katsevman
85df20d736
Fix slider for android
2013-03-18 16:36:55 -04:00
Gary Katsevman
cbcff6a168
Add {
2013-03-18 16:36:55 -04:00
Gary Katsevman
c94ceca337
Make BigPlayButton show up when paused. Add 'showBigPlayButton' event to allow users to cancel that.
2013-03-18 16:36:55 -04:00
Gary Katsevman
57c5cefe0f
initial support for toggling controlbar via touch
2013-03-18 16:36:55 -04:00
Gary Katsevman
95e87be2d2
make seekbar seekable on mobile devices.
2013-03-18 16:36:55 -04:00
tagawa
4d74fb3b7c
Reduced PNG filesize by ~4kb
2013-03-18 15:28:34 +09:00
Steve Heffernan
59cdd4edcd
Adding default to 'off' on track menus from #190
2013-03-15 16:08:40 -07:00
Jake Harvey
f3af77e985
Close GH-378: #376 Removing Helvetica from font-family declarations..
2013-03-15 13:52:40 -07:00
Steve Heffernan
8bc5fb055e
Merge branch 'master' of github.com:zencoder/video-js
2013-03-09 13:19:16 -08:00
Steve Heffernan
d147b1ae2f
Merge branch 'optional_resize' of git://github.com/mente/video-js into mente-optional_resize closes #359
...
Conflicts:
test/unit/component.js
2013-03-09 13:18:07 -08:00
Alex Vasilenko
a3b9b50e8b
vjs.Component.dimension accepts 'auto' as value
...
test case for vjs.Component.dimension with 'auto'
2013-03-09 10:39:28 +02:00
David LaPalomento
0ba7166636
Fixes #367
...
If you are quick, you could get videojs to wrap the HTML video element twice on iOS. The video element has to be recreated after moving on iOS but we weren't re-associating it with the player object. When autoSetup swung through, it would re-initialize the video element and create a player within a player.
2013-03-07 20:57:52 -05:00
Alex Vasilenko
264e3aeb38
expose vjs.Component.dispose
2013-03-07 23:23:02 +02:00
Alex Vasilenko
696097ca38
Merge branch 'optional_resize' of github.com:mente/video-js into optional_resize
...
* 'optional_resize' of github.com:mente/video-js:
proper vertical-align on default skin
2013-03-07 23:21:23 +02:00
Alex Vasilenko
cf2fd9cbe8
use {width: "auto", height: "auto"} to let css decide video dimensions
2013-03-07 23:21:08 +02:00
corwin.tomkinson
93f8737fc7
Fix ability to add child after closure compiled
2013-03-07 11:37:51 +00:00
Steve Heffernan
f11c5d3ca9
Merge pull request #340 from Sundrique/fix-parent-el-option
...
Fix parentEl tech option.
2013-03-06 16:57:40 -08:00
Steve Heffernan
eb3f1aca8a
Merge pull request #348 from Wellming/master
...
fix iPhone and iPad detection.
2013-03-06 16:45:51 -08:00
Steve Heffernan
253c510da0
Merge pull request #354 from dmlap/issue347
...
Fix Issue #347
2013-03-06 16:36:59 -08:00
Alex Vasilenko
1bceadf094
expose correct dispose method
...
testcase for correct dispose method
2013-03-05 23:23:01 +02:00
Alex Vasilenko
2de8ad6f63
ready method exposed in minified version
...
test case for minified lib and not minified code
2013-03-05 22:39:43 +02:00
Alex Vasilenko
e4c9588048
proper vertical-align on default skin
2013-03-05 19:02:59 +02:00
Alex Vasilenko
9b52edea07
do not force default 300x150 if no width/height found
2013-03-05 18:35:55 +02:00
David LaPalomento
b662139708
Remove unused variable
...
Get rid of a variable that was copy-pasted along from a previous incarnation of this fix.
2013-03-04 14:53:27 -05:00
David LaPalomento
ab25a823b7
Fix 347
...
Hide volume slider and mute toggle when the current tech doesn't support adjusting video volume. Added controls specific test cases. Volume-related controls retest whether to display themselves whenever `loadstart` fires.
2013-03-02 00:00:23 -05:00
Jim R. Wilson
f8385f06d0
changing poster image to div with backgroundImage
...
The existing poster implementation uses an <img> tag
stretched horizontally with capped max-height. This
works in some cases like pillar-boxing when the poster
is not as wide as the player. However it fails to
letter box when the player is taller than the poster.
This change uses a stretched div with background-image
and backround-size to create a vertically aligned
poster image which stretches in both directions to fit
while maintaining aspect ratio.
For browsers which do not support backgroundSize (IE8)
the original <img> based strategy is used as a fallback.
2013-03-01 17:45:07 -05:00
Wellming Li
c647b436aa
fix iPhone and iPad detection.
2013-02-24 17:56:30 +08:00
David LaPalomento
60f9b505f1
Close GH-346: Remove need for good.require/good.provide.
2013-02-22 22:26:58 -05:00
corwin.tomkinson
4f18a6bd97
Rename component method exports. Fixes #344
2013-02-20 14:59:22 +00:00
alexsandrovsky
eda21b7b22
Fix parentEl tech option.
...
Player cannot find parentEl option after minification, so flash tech fails.
2013-02-15 23:31:31 +03:00
Greg Kraus
dd9f1603a4
Provide more information to screen reader users about the duration time
2013-02-14 19:27:54 -05:00
Greg Kraus
f5b4980718
resolved conflicts with upstream master
2013-02-14 18:11:43 -05:00
Steve Heffernan
0373d15c2f
Merge pull request #314 from Sundrique/313-attributes
...
313 Save all video tag attributes while moving media element in DOM
2013-02-13 16:27:48 -08:00
Steve Heffernan
aa0ea90ee2
Merge pull request #316 from Sundrique/315-fullscreen-icon
...
315 Fullscreen button CSS rules for webkit and Firefox added
2013-02-13 16:23:10 -08:00
Steve Heffernan
7adede7b68
Merge pull request #320 from Sundrique/poster-visibility-fix
...
Fix poster component visibility
2013-02-13 16:20:39 -08:00
Steve Heffernan
1905e59bdb
Merge pull request #321 from Sundrique/volume-handler-fix
...
Fix volume handler initial position
2013-02-13 16:19:21 -08:00
Greg Kraus
6c9e17dce2
Corrected duration time label to read 'time remaining'
2013-02-12 21:37:45 -05:00
Greg Kraus
07cda9583f
Corrected the call to get the player width
2013-02-12 21:24:58 -05:00
Greg Kraus
c6338728d8
Merge branch 'master' into 291-accessibility. Updating to the latest upstream code
2013-02-12 21:21:09 -05:00
Steve Heffernan
24ff4b1321
Merge pull request #304 from Commander147/246-Custom-Start-Time-Offset-Support
...
246 custom start time offset support
2013-02-11 09:56:35 -08:00
Joseph Afework
e23cf4a1c0
Changed 'firstplay' to match event functions
...
Changed the 'firstplay' method to the same form as the other event
functions
2013-02-10 22:45:00 -08:00
Aleksandr Sandrovskiy
730b4723b0
Fix volume handler initial position
2013-02-08 16:06:15 +03:00
Aleksandr Sandrovskiy
701c1d210c
Fix poster component visibility
2013-02-08 15:50:56 +03:00
Joseph Afework
3353b75327
Fixed Start Time Offset
...
Implementation has been modified to utilize the firstplay event to set
the custom start time offset of the video.
If in the data-setup array an attribute of "starttime" is specified,
then the video will start playback from the passed index in seconds.
Note: Video will only start from this index on first play only.
2013-02-07 15:24:49 -08:00
Joseph Afework
bce339c405
Revert "Added Support for custom video start time"
...
This reverts commit ab5f977d62
.
2013-02-07 15:06:16 -08:00
Joseph Afework
3865d44b0e
Revert "Added Flag for loop support with custom start time"
...
This reverts commit 120790a34a
.
2013-02-07 15:06:16 -08:00
Aleksandr Sandrovskiy
ba110169f5
Adds (removes) 'vjs-fullscreen' class on fullscreenchange event fixes #315
2013-02-08 01:11:33 +03:00
Aleksandr Sandrovskiy
4b960849c7
Changed 'createElement' method to 'createEl'
2013-02-08 00:44:03 +03:00
Aleksandr Sandrovskiy
3e555d77ea
Changed V to vjs
2013-02-08 00:36:54 +03:00
Aleksandr Sandrovskiy
042b81e566
315 Fullscreen button CSS rules for webkit and Firefox added
2013-02-05 21:58:17 +03:00
Aleksandr Sandrovskiy
ecb7fb6b3e
313 Save all video tag attributes while moving media element in DOM
2013-02-05 20:11:45 +03:00
Steve Heffernan
6d90be9967
Removed global plugin reference object. Not needed.
2013-02-04 13:56:50 -08:00
Steve Heffernan
1d79a1fa26
Updated plugins loop to use obj.each context option
2013-02-04 10:54:47 -08:00
Steve Heffernan
1f3a9f117d
Update plugin tests to support compiling
2013-02-04 10:43:16 -08:00
Steve Heffernan
cb77fb337f
Added code to pass plugins tests
2013-02-04 10:31:53 -08:00
Joseph Afework
120790a34a
Added Flag for loop support with custom start time
...
The flag is used to determine if loop video is set to true,
once the video starts, options_['loop'] will always be set to false.
This allows the onEnded event to always be fired and allows us to set
custom start-time for when the video loops.
(When loop is normally set the onEnd end onPlay events are never called
their for this flag is necessary)
2013-01-26 16:37:04 -08:00
Joseph Afework
ab5f977d62
Added Support for custom video start time
...
1) The Start Time can be set via the data-setup array
2) If 'start-time' is not present defaut time of 0 seconds is used
3) To set a custom start time for a video simply set start-time to be
equal to the number of seconds from the start of the video you would
like to begin at.
For Example: "start-time":80 means that the video will start at
timecode 00:01:20 -> HH:MM:SS
2013-01-26 16:33:55 -08:00
Steve Heffernan
dc18f475f8
Changed to vjs.obj.function naming for object related functions.
...
Updated mergeOptions to just options.
2013-01-25 17:36:40 -08:00
Steve Heffernan
c7d3b9ebf9
Updated grunt script to add CSS/PNG/SWF files dist. Also did some renaming of files and folders.
2013-01-25 15:22:14 -08:00
Greg Kraus
e284c88afa
Make the caption, subtitle, and chapter buttons more usable by screen reader users diff --git a/src/css/video-js.css b/src/css/video-js.css
...
index daa7080..4ed6ea2 100644
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-23 00:48:05 -05:00
Greg Kraus
20e9a9feb5
Fix bug with getting the ID of the track
...
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-23 00:48:05 -05:00
Greg Kraus
b0f1a8404c
Adjust the font size of the text tracks to make them proportionally larger when switching to fullscreen mode
...
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-23 00:47:50 -05:00
Greg Kraus
c74c4e2c3a
Provide more information to screen reader users about the progress bar, current time, and time remaining diff --git a/src/js/controls.js b/src/js/controls.js
...
index bb050b9..504913c 100644
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-23 00:32:17 -05:00
Greg Kraus
00a508508e
Provide additional information for screen reader users on the status of the volume bar diff --git a/src/js/controls.js b/src/js/controls.js
...
index 2d5ad21..bb050b9 100644
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-23 00:32:17 -05:00
Greg Kraus
1d6e93d990
Change the button text when the button state is toggled, and indicate to screen reader users that the text may change
...
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-22 23:23:00 -05:00
Greg Kraus
56ebe98386
Add a label for the big play button to aid screen reader users
...
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-22 23:22:57 -05:00
Greg Kraus
4fe808dcbc
Change the creation order of the control UI elements to make the tab order more intuitive
...
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-22 23:22:53 -05:00
Greg Kraus
ef260fca72
Show keyboard focus on UI elements for keyboard-only users
...
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-22 23:22:50 -05:00
Greg Kraus
803e2da691
Add support for writing aria-* and role attributes to elements.
...
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
2013-01-22 23:22:46 -05:00
Steve Heffernan
1c6bcb0a5e
Updated dispose to support children without the dispose method
2013-01-21 18:22:19 -08:00
Steve Heffernan
b6ea80b67e
Updated component children adding to allow no name, id, or el
2013-01-21 17:10:54 -08:00
Steve Heffernan
0364e281d1
Stopped big play button from showing on ended.
2013-01-21 16:43:03 -08:00
Steve Heffernan
9f566c0742
Updated player options to use component options_ settings and mergeOptions.
2013-01-21 16:19:46 -08:00
Steve Heffernan
07d03e1a27
Updated player API to support poster and controls
2013-01-18 18:06:15 -08:00
Steve Heffernan
e840a27409
Merge branch 'master' of git://github.com/mchristopher/video-js into mchristopher-master
...
Conflicts:
test/video.test.js
2013-01-18 17:03:17 -08:00
Michael Christopher
67c96304f2
Uppercase constants
2013-01-18 16:54:45 -08:00
Michael Christopher
aece38716d
Pass tests
2013-01-18 15:09:46 -08:00
Michael Christopher
c6e23d772a
Updating SSL support for new VJS
2013-01-18 14:57:57 -08:00
Steve Heffernan
54737a8af2
Updated options to use underscore for private
2013-01-17 21:03:25 -05:00
Steve Heffernan
487fdc8511
Fixed instances where options was still using a non-string key
2013-01-17 20:45:22 -05:00
Steve Heffernan
70fbf7fc8a
Updated events to support event.stopImmediatePropagation().
...
Added a first play event.
2013-01-17 20:33:53 -05:00
Steve Heffernan
0b3e240999
Changed this.player to this.player_ to be more consistent with other private vars.
2013-01-16 20:24:38 -05:00
Steve Heffernan
e4eb0d5ffe
Added a method for doing a deep merge on options objects so individual options could be passed to children withoug overwriting all defaults.
...
Cleaned up vjs.merge.
2013-01-16 11:09:56 -05:00
Steve Heffernan
0f0fccc312
Update grunt build script.
2013-01-12 22:23:22 -08:00
Steve Heffernan
e7c146bc1f
Reorgnizing src files.
...
Moving to grunt for build.
2013-01-11 23:02:20 -08:00
Steve Heffernan
06e3ec9dce
Cleaned up test logging. Added fallback message for no video support.
2013-01-10 13:48:41 -08:00
Steve Heffernan
f267e27e36
Updated closure compiler advanced mode branch
2013-01-10 13:06:12 -08:00
Steve Heffernan
428203c466
Continued updating all library pieces to support closure compiler.
...
Renamed internal lib var to vjs instead of _V_.
2013-01-04 16:58:23 -08:00
Steve Heffernan
e125ee878e
Updated closure compiler build. Starting Flash support.
2012-12-31 15:25:56 -08:00
Steve Heffernan
688b5053ee
Major rewrite to support Google Closure Compiler Advanced Optimization.
...
Still in process.
2012-12-30 21:45:50 -08:00
Steve Heffernan
b18bc876b0
Moved .values definition to support being used in width()
2012-12-11 13:39:15 -08:00
Steve Heffernan
6bb2a8cdda
Fixed incorrect width and height returning. fixes 258
2012-12-11 13:34:13 -08:00
Steve Heffernan
fc6d1b1229
Merge branch 'hotfix/fix-chrome-seeking-spinner' fixes #240
...
Conflicts:
src/controls.js
2012-11-12 17:32:44 -08:00
Dan Connor
180c75b3a2
fix for loading spinner persisting on screen after programatic seek in Chrome
2012-11-06 16:38:35 -08:00
Steve Heffernan
0edfae58eb
Re-organized playback tech location in source.
2012-08-13 13:34:40 -07:00
Steve Heffernan
d71b0858d4
Added jhurliman's YouTube updates.
2012-08-10 17:25:14 -07:00
Steve Heffernan
5e8b6c8455
Merge pull request #192 from eikes/master
...
Make the components available in the "ready" callback
2012-08-07 16:12:15 -07:00
Caio Ariede
51181f6a5d
Removes loadingSpinner when seek is complete
2012-07-26 10:08:55 -03:00
Steve Heffernan
94044afe74
Allow disabling of default components.
2012-06-28 16:36:40 -07:00
Eike Send
7502785062
make the components available in the ready callback as well
2012-05-25 11:59:53 +02:00
Steve Heffernan
c189332ca3
Removed merge file.
2012-05-03 12:35:14 -07:00
Steve Heffernan
11a9e88d42
Merge branch 'hotfix/multiple-control-fades-fix'
...
Conflicts:
src/controls.js
2012-05-02 20:57:49 -07:00
Steve Heffernan
a787b5ca3a
Fixed multiple event listeners added for controls fading on play event. fixes #173
2012-05-02 20:54:40 -07:00
Steve Heffernan
8c73d8f62c
Made duration setable and cached.
2012-04-25 15:15:33 -07:00
Steve Heffernan
610ad964d0
Made event binders return the player object.
2012-04-18 15:55:39 -07:00
Steve Heffernan
dd8c2a2140
Added pause back in on ended so play button goes back to triangle and playing event is fired again.
2012-04-12 15:21:30 -07:00
Steve Heffernan
7d9b0e2629
Stopped player from going back to the beginning on end.
2012-04-12 15:20:14 -07:00
Steve Heffernan
4fb7af6b53
Adjusted width/height to support percents. fixes #163
2012-04-09 14:53:03 -07:00
Steve Heffernan
937b52d9bf
Fixed bug that was skipping width/height from tag attributes.
2012-04-09 11:02:51 -07:00
Steve Heffernan
b3d16d1437
Removed unused values ref.
2012-04-06 17:16:16 -07:00
Steve Heffernan
980b4738f4
Improved load order of page elements to protect againt reflows.
2012-04-06 17:14:45 -07:00
Steve Heffernan
9321a54cee
Removed orig file
2012-04-06 16:52:54 -07:00
Steve Heffernan
2d2e7117b3
Merge branch 'hotfix/options-width-fix'
...
Conflicts:
src/core.js
2012-04-06 16:52:18 -07:00
Steve Heffernan
dca5644878
Updated options loading to be better.
2012-04-06 16:42:09 -07:00
Steve Heffernan
1d680a9135
Fixed changeslog bullet.
2012-03-28 15:56:11 -07:00
Steve Heffernan
82e2322493
Updated remaining event listener function names.
2012-03-26 11:23:05 -07:00
Steve Heffernan
eff300cebb
Updated on/addevent names on components.
2012-03-26 11:19:26 -07:00
Steve Heffernan
9cad8bff38
Changed controls addevent to on
2012-03-26 11:14:48 -07:00
Steve Heffernan
d907f4aac2
Added on/off/trigger events to replace addEvent/removeEvent/triggerEvent.
2012-03-26 11:12:31 -07:00
Steve Heffernan
15c360cd26
Removed ECMA file. No longer using any of these functions.
...
Removed remove function from lib. Was not being used and needed the indexOf function.
2012-03-26 10:56:38 -07:00
Steve Heffernan
b01ca8e805
Merge pull request #143 from andchen/master
...
Added "exitFullScreen" in tech.js. For those browsers that have "supportsFullScreen"
2012-03-22 15:00:43 -07:00
Steve Heffernan
43fc61f74d
Merge pull request #154 from sirudog/master
...
Fixed two bugs: Removing sources with changing source count. Checking element nodeName, IE doesn't force uppercase.
2012-03-20 17:25:54 -07:00
Steve Heffernan
83ed670dc3
Fixed no-text-tracks error
2012-03-19 15:55:05 -07:00
Steve Heffernan
10ec069e71
Changed 'poster' component to 'posterImage' to prevent conflicts with API.
2012-03-19 15:50:05 -07:00
Steve Heffernan
393973775c
Removed dumb leftover log output.
2012-03-19 09:42:41 -07:00
sirudog
4df3d84358
Fixed bug of traversing video source/track child nodes by making nodeName comparison case-insensitive.
...
It caused the issue of flash-fallback not being able to discover the source of the video and embed it into flashvars.
2012-03-18 22:36:04 +01:00