David LaPalomento
9fed9241d0
Up-Front Plugin Config
...
Create an example of making a dynamic video element and loading a plugin. Add that example to the tutorial.
2013-02-11 17:24:17 -08:00
David LaPalomento
d21df1bc12
Remove Extra Flash Switch
...
Get rid of the extra switching logic to force Flash tech. Worth noting: it has to exist as a separate script tag because we're using document.write to insert video.js scripts.
2013-02-11 17:24:17 -08:00
David LaPalomento
6df5d30dff
Plugin Doc and Example
...
Added most of a doc on building plugins. Still missing a section on up-front plugins. Created an example page that shows how to load a plugin.
2013-02-11 17:24:17 -08:00
Steve Heffernan
d096a7d33e
Merge pull request #325 from gkatsev/jshint
...
Add gruntfile and tests to Jshint linting
2013-02-11 12:36:56 -08: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
Steve Heffernan
eadaa2f800
Merge pull request #322 from gkatsev/plugin
...
Add plugin event ordering test
2013-02-11 09:05:04 -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
Gary Katsevman
103adfc1a5
update test/unit/plugins to adhere to jshint
2013-02-08 17:30:00 -05:00
Gary Katsevman
b52cf5889e
update test/unit/player to adhere to jshint
2013-02-08 17:29:04 -05:00
Gary Katsevman
31f76092f8
update test/unit/{media.html5,setup}.js to adhere to jshint
2013-02-08 17:27:04 -05:00
Gary Katsevman
c13b96acbb
update test/unit/lib to adhere to jshint
2013-02-08 17:25:33 -05:00
Gary Katsevman
e6478e96de
Update test/unit/events to follow jshint
2013-02-08 17:20:46 -05:00
Gary Katsevman
8f6d408802
Update test/unit/core to jshint
2013-02-08 17:18:49 -05:00
Gary Katsevman
e1d4b2c827
Update test/unit/component to conform to jshint
2013-02-08 17:14:36 -05:00
Gary Katsevman
5f2b8fb831
update gruntfile to pass jshint
2013-02-08 17:08:31 -05:00
Gary Katsevman
51a22adc6a
Update grunt and jshint to lint the gruntfile and test files
2013-02-08 17:02:39 -05:00
Gary Katsevman
4cefbf6bac
check how many events were triggered
2013-02-08 16:13:35 -05:00
Gary Katsevman
b8b23d00de
Add a test using stop Propagation
2013-02-08 16:13:35 -05:00
Gary Katsevman
c6a855cf74
add plugin test for event order
2013-02-08 16:13:35 -05: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
Steve Heffernan
0206ba9469
Added details about including issues in pull requests.
2013-02-07 14:06:38 -08:00
Steve Heffernan
9f2b869135
Added mocha for Testling
2013-02-05 11:42:59 -08:00
Steve Heffernan
7954af0ba3
Updated sandbox example to point to correct source list
2013-02-05 11:09:07 -08:00
Steve Heffernan
a84d1f85b8
Merge branch 'feature/plugins'
2013-02-04 16:20:29 -08:00
Steve Heffernan
4c2b129947
Adding line to CHANGELOG: Added a plugins interface
2013-02-04 16:20:29 -08:00
Steve Heffernan
d38620bc7e
Added test for overwriting existing plugin
2013-02-04 16:13:37 -08: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
Steve Heffernan
6f2597cc8d
Added test for the plugin interface.
2013-02-04 07:55:31 -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
8671f1ff91
Trying to test testling
2013-01-25 18:17:20 -08:00
Steve Heffernan
2aaff4bf88
Attempting to use testling
2013-01-25 18:07:19 -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
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
fc97d6ece4
Created a combined sources file so people can pull into external projects. fixes #287
2013-01-21 10:54:36 -08:00
Steve Heffernan
07d03e1a27
Updated player API to support poster and controls
2013-01-18 18:06:15 -08:00
Steve Heffernan
2c28d44f92
Changed name of test file to test.video.js
2013-01-18 17:30:35 -08:00
Steve Heffernan
ddb016e5b0
Deleted video.test.js...again
2013-01-18 17:20:04 -08:00
Steve Heffernan
f82296b4c1
Putting video.test.js in dist/ now instead of test. Don't want to commit video.test.js because it will cause merge conflicts on pull requests.
2013-01-18 17:16:29 -08:00
Steve Heffernan
2effe5a8cc
Removed video.test.js and added to gitignore to prevent merge conflicts
2013-01-18 17:05:39 -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