1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-27 02:43:45 +02:00
Commit Graph

331 Commits

Author SHA1 Message Date
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
sirudog
5c2a3cbbf8 Fix bug in loop for removing source/track nodes from video element.
"j.length" changed in each loop step, causing source/track nodes being left in DOM.
2012-03-18 22:25:19 +01:00
Steve Heffernan
d0b9903395 Started Adding tracks docs.
Added example captions track.
Updated webvtt parser to support no id line in captions.
Updated webvtt parser to support no hours place in the time.
2012-03-16 15:32:48 -07:00
Steve Heffernan
9943405289 Logging flash errors. 2012-03-16 13:25:15 -07:00
Steve Heffernan
6c44a19fba Logging Flash errors. 2012-03-16 13:17:42 -07:00
Steve Heffernan
7aa70fe7be Cleaned up code from text track additions. 2012-03-16 12:45:51 -07:00
Steve Heffernan
2aa5a2ee09 Finishing off TextTrack support. 2012-03-16 12:29:38 -07:00
Steve Heffernan
72a423237c Updated track styles and make subtitles button work. 2012-03-10 08:54:46 -08:00
Steve Heffernan
aeecc92194 Refactored tracks to better match HTML5 spec 2012-03-09 17:12:38 -08:00
Steve Heffernan
12816b8409 Added captions button and display styles. 2012-03-02 13:52:06 -08:00
Steve Heffernan
043203781e Merge pull request #140 from carlocapocasa/master
Flash src api call autoplay fix
2012-02-14 16:56:19 -08:00
Steve Heffernan
5702380c16 Merge pull request #142 from GianlucaGuarini/patch-3
fix  localStorage context
2012-02-14 16:33:05 -08:00
Steve Heffernan
b0ac995f26 Updated fullscreenchange event to work on user escape 2012-02-13 17:51:52 -08:00
Steve Heffernan
765ef8e93e Updated fullscreenchange event to trigger on users escape 2012-02-13 17:42:22 -08:00
Steve Heffernan
e4723240b6 Made src() update URL to absolute also. 2012-02-13 17:13:14 -08:00
Steve Heffernan
c714781aef Added translation of Flash URL to absolute URL. 2012-02-13 16:59:57 -08:00
Steve Heffernan
6afb6d8e75 Added event comment 2012-02-13 13:23:06 -08:00
Steve Heffernan
df6d6647f7 Created new 'loadedalldata' event, and test. 2012-02-13 13:15:20 -08:00
Steve Heffernan
c762accb39 Fixed issue with .one scope.
Improved destroy method.
Still building out tests.
2012-02-03 17:53:59 -08:00
Steve Heffernan
45f519820a Updated techGet to handle common errors. 2012-02-03 10:28:00 -08:00
Steve Heffernan
5c4c2d30f2 Introduced techSet/techCall methods. techCall caches method calls if tech isn't ready. techGet provides defaults. 2012-02-02 19:16:45 -08:00
Steve Heffernan
a839c89f0b Updated player API to be avialable immediately.
Moved auto setup code to setup.js.
2012-02-02 14:56:47 -08:00
Andy Chen
4bc04c2e45 Added "exitFullScreen" in tech.js. For those browsers that have "supportsFullScreen"
false, it would throw "undefined" error when calling "exitFullScreen".
2012-02-02 09:51:01 -05:00
Steve Heffernan
56355e572a Fixed an error in reporting no method name 2012-01-31 15:22:25 -08:00
Steve Heffernan
32c9ecf242 Updated video tag attribute setting to not include null values. 2012-01-31 11:51:37 -08:00
Gianluca Guarini
35eb539d00 fix localStorage context 2012-01-31 11:52:26 +01:00
Carlo Capocasa
62feb5ad5f Fix: Flash always autoplays on src api call 2012-01-31 08:28:34 +01:00
Steve Heffernan
1eda892c86 Fixed a double declared var. 2012-01-30 15:13:18 -08:00
Steve Heffernan
f5681765fd Swapped out swfobject version check for new custom version check. 2012-01-30 10:58:26 -08:00
Steve Heffernan
f67c5d951c Made iframe mode no longer the default for further testing. 2012-01-29 20:04:58 -08:00
Steve Heffernan
f5ab5d5c43 Tried to fix iframe mode for Firefox. Ended up having to rule it out.
Fixed an issue with fullscreen event calling.
2012-01-29 20:03:44 -08:00
Steve Heffernan
8719371e21 Updated iFrame mode 2012-01-28 18:56:28 -08:00
Steve Heffernan
372ec827a3 Merge branch 'master' into feature/flash-iframe 2012-01-28 17:27:45 -08:00
Steve Heffernan
52975871e1 Fixed issue with volume knob positioning.
Using visiblity for for hiding in IE6.
Updated controls fading.
2012-01-28 16:27:03 -08:00
Steve Heffernan
ca9d044ae9 Working towards getting styles to work on controls 2012-01-27 16:57:24 -08:00
Steve Heffernan
84e1f508e7 Component lists are now objects that allow you to set options on. 2012-01-27 15:57:03 -08:00
Steve Heffernan
79d5694c99 Starting on new component loading. 2012-01-27 15:04:25 -08:00
Steve Heffernan
cd4f7e1945 Changed videoIsFullScreen to isFullScreen.
Watching for fullscreen event to update player status when escape key is used.
2012-01-27 12:22:05 -08:00
Steve Heffernan
58aaa100aa Cleaned up whitespace 2012-01-27 10:36:02 -08:00
Thomas Subera
ecd8fcc46e fix Attribute getters, ff3 needs getAttrobute instead of just the magic getter. 2012-01-27 09:47:52 +01:00
Thomas Subera
304921128c fix children in ff3
ff3 does not support children, only childNodes
2012-01-25 17:32:50 +01:00
Heff
17cec68bbb Merge pull request #131 from ykomatsu/master
Patch for issue #130
2012-01-23 16:59:04 -08:00
Steve Heffernan
740fca702c Merge branch 'hotfix/fix-ie-controls-hiding' 2012-01-23 16:02:53 -08:00
Steve Heffernan
c0c6db7071 Added a fix for IE controls hiding 2012-01-23 16:00:51 -08:00
Steve Heffernan
e14909468a Created new flash embed method. 2012-01-23 14:55:06 -08:00
Steve Heffernan
865f914dad Added flash version check 2012-01-20 18:20:00 -08:00
Steve Heffernan
7631edae24 commented out some currently unused code 2012-01-20 17:42:38 -08:00
Steve Heffernan
24bda85d73 Created iframe mode for getting around flash reloading issues. 2012-01-20 17:34:18 -08:00
Yoshito Komatsu
528fa52b29 Added encodeURIComponent to escape source.src 2012-01-18 23:24:02 +09:00
Steve Heffernan
c6c63df7fd Fixed a check for current tech in source loading 2012-01-17 15:31:11 -08:00
Steve Heffernan
baab54c560 Removed spinner on stall. 2012-01-16 15:42:31 -08:00
Steve Heffernan
244159d9e9 Added comment reference to mozFullScreenEnabled info 2012-01-16 15:03:38 -08:00
Heff
61aad619a8 Merge pull request #128 from rainboxx/patch-1
Changed checking whether fullscreen API is available or not.  Firefox 9 ...
2012-01-16 15:01:54 -08:00
Steve Heffernan
4f34034c51 Fixed CDN Version that was breaking dev.html.
Fixed Double auto-setup
2012-01-14 18:13:13 -08:00
Steve Heffernan
e6967528cc Made full window mode more independent 2012-01-14 18:03:37 -08:00
Steve Heffernan
18ef75afbb Added rakefile for generating releases.
Updated swf url to adjust based on CDN version.
2012-01-13 09:26:18 -08:00
Matthias Dietrich
16d9525fa8 Changed checking whether fullscreen API is available or not. Firefox 9 will be handled as "not possible" (document.mozFullScreenEnabled not implemented, fullscreen API deactivated by default) and Firefox 10 can be handled according its config (document.mozFullScreenEnabled represent the current config).
Additional info:
* https://bugzilla.mozilla.org/show_bug.cgi?id=694690
* https://developer.mozilla.org/en/DOM/document.mozFullScreenEnabled
2012-01-13 17:34:39 +01:00
Steve Heffernan
c345889535 Fixed an issue where ie8 was borking on a bad image attribute. 2012-01-12 17:39:25 -08:00
Steve Heffernan
534fb39e89 Removed event.layerX and layerY which weren't used and were throwing deprecation warnings. 2012-01-12 15:41:30 -08:00
Raymond Cohen
55ac829fb1 If there are no sources when the player is initialized, loadTech is called with an undefined source.
It would then error on source.src
2012-01-12 14:26:27 -08:00
Steve Heffernan
44b02529ba Poster was wrongly removed from setup change. Fixed.
Upated docs.
2012-01-10 15:52:20 -08:00
Steve Heffernan
a83433f655 Updated options docs.
Full URL to flash SWF.
2012-01-10 13:15:49 -08:00
Steve Heffernan
d80e3e328a Updated version number. 2012-01-10 10:10:07 -08:00
Steve Heffernan
166bd0b44f Fixed an offset width bug with IE that was causing player to break. 2012-01-09 16:28:26 -08:00
Steve Heffernan
42c9e43736 Removed beta references 2012-01-09 12:38:43 -08:00
Steve Heffernan
90956059f6 Updated to newest version of Flash player. Preparing for final release. 2012-01-09 12:18:08 -08:00
Steve Heffernan
7ef5b15ae2 Updated api and setup docs 2012-01-05 23:25:09 -08:00
Steve Heffernan
9678c7717f Added manual poster image to get around flash cross domain issues.
Starting controls hidden.
Making tech elements clickable.
2012-01-02 16:57:17 -08:00
Steve Heffernan
242ff4c68b Fixed tech switching.
Fixed an issue where bigplaybutton was throwing an error when not preloading.
Fixed a bufferring issue when tech switching.
2012-01-02 13:02:04 -08:00
Steve Heffernan
38cc63c530 Merge branch 'master' of github.com:zencoder/video-js 2012-01-02 10:16:42 -08:00
Michael Christopher
1fba4f4b88 Added ! to first line of license block so YCompress doesn't strip it out 2011-12-27 16:50:32 -06:00
Steve Heffernan
16f6c229f3 Merge branch 'master' of github.com:zencoder/video-js 2011-12-21 18:16:12 -08:00
Steve Heffernan
accdfcb02c Cleaned up spinner code. 2011-12-21 18:15:47 -08:00
Heff
ee1a7dae99 Merge pull request #106 from tremby/master
Fix #105
2011-12-21 18:13:03 -08:00
Heff
b31eba988b Merge pull request #103 from rkyrychuk/patch-3
Auto rewind on big button play click
2011-12-21 18:10:19 -08:00
Steve Heffernan
82142e2f54 Added loading spinner code from ZenJosh. 2011-12-21 17:59:36 -08:00
Bart Nagel
0e81c6b059 fixed cue search algorithm bug 2011-12-16 00:52:15 -08:00
rkyrychuk
99fa329bc5 Auto rewind on big button play click 2011-12-15 23:58:35 +02:00
rkyrychuk
f13a2bf733 Ensure that tracking progress and time progress will stop and player deleted after calling destroy method 2011-12-15 23:17:10 +02:00
Steve Heffernan
6945be3d6e Updated volume display to automically set itself. 2011-12-08 17:33:44 -08:00
Steve Heffernan
d1fb95ecbf Fixed another issue with passing vars to flash 2011-12-07 22:12:36 -08:00
Steve Heffernan
176eb1f559 Fixed an error with updating tech support. 2011-12-07 22:04:54 -08:00
Steve Heffernan
8babbb412c Cleaned up tech name 2011-12-07 22:02:40 -08:00
Steve Heffernan
f4e68d1a47 Fix flashvar name 2011-12-07 21:41:28 -08:00
Steve Heffernan
e0516a4c83 Added ability to pass options to flash fallback. 2011-12-07 21:29:21 -08:00
Steve Heffernan
1972528df7 Changed h5swf name to just Flash for ease of use. And lowercased tech object names. 2011-12-07 21:03:12 -08:00
Steve Heffernan
39f7bead50 Updated compare page. 2011-12-07 16:44:21 -08:00
Steve Heffernan
e4f6bbb0b2 Optimized slider controls.
Fixed issue with fullscreen progress bar tracking (offset left wasn't working in new fullscreen)
2011-12-05 11:28:18 -08:00
Steve Heffernan
afc9369849 Merge branch 'master' of github.com:zencoder/video-js
Conflicts:
	src/player.js
	src/tech.js
2011-12-01 16:52:23 -08:00
Steve Heffernan
325084c6a1 Updated swf code to auto play on new src. 2011-12-01 16:48:06 -08:00
Josh Pickett
d90cee588a Removed try catch from requestFullScreen 2011-12-01 16:35:13 -08:00
Josh Pickett
00a38f76a7 Refactored fullscreen logic 2011-12-01 16:29:52 -08:00
Steve Heffernan
437566740f Merge branch 'master' of github.com:zencoder/video-js 2011-12-01 15:47:52 -08:00
Steve Heffernan
7e747e95ab Updated swf object to newest version.
Optimizing player for later loaded sources.
2011-12-01 15:47:12 -08:00
Josh Pickett
08aa73ccf6 Added fullscreen with controls to supported browsers 2011-12-01 15:38:15 -08:00
Josh Pickett
2607e82aaf Native fullscreen with controls added for supported browsers 2011-12-01 15:24:34 -08:00
Steve Heffernan
ec145f6d4d Fixed an issue with ajax errors 2011-11-30 14:05:28 -08:00
Steve Heffernan
f0154eeab7 Added support for loading the player first and then setting the source later.
Fixed iOS loading issue.
2011-11-30 13:06:32 -08:00
Steve Heffernan
1e284827d7 Modified some comments 2011-11-30 11:53:08 -08:00
Steve Heffernan
0c7334c861 Fixed some IE comma errors. Made ajax error clearer. Fixed a setup issue. 2011-11-29 16:39:43 -08:00
Steve Heffernan
82d55c45e7 Updated error with updating tech support 2011-11-29 12:12:13 -08:00
Steve Heffernan
ef321a8072 MAJOR REFACTOR: Restrcutured code into class-based components. Setup and configuring should still work the same, but controls and tech elements are now sub-classes for Component, which builds elements and applies event behaviors.
Removed demo source code from repository root. Was receiving pull requests for the release files instead of source files. This makes it more clear where to make changes.
2011-11-29 11:40:05 -08:00