Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gkatsev karma chameleon #1

Merged
merged 34 commits into from
May 15, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
204bb84
Array traversing for children opts - closes #1070
Akkuma Mar 18, 2014
799f176
Fixed some formatting issues & added .each doc
Akkuma Mar 20, 2014
61eb54a
Replaced webkitRequestFullScreen with webkitReplaceFullscreen
michelt Mar 20, 2014
31918fc
Included self-hosting MIME type instructions
bosoniq Apr 16, 2014
c1029ea
Update setup.md
bosoniq Apr 18, 2014
e8722ff
Included self-hosting MIME type instructions
bosoniq Apr 18, 2014
923ce03
Fixed compilation failure with LESS v1.7.0 and GRUNT v0.4.4. The oper…
fobiaxx Apr 29, 2014
227700a
Added a more informative and styled fallback message for non-html5 br…
heff Apr 29, 2014
d96e008
Updated setup.md and demo.html with fallback paragraph
heff May 5, 2014
3e5ef19
Merge branch 'master' of github.com:Akkuma/video.js into Akkuma-master
heff May 5, 2014
27f0f78
Updated to match comments in #1093
heff May 6, 2014
e7617bf
Merge pull request #1 from heff/Akkuma-master
Akkuma May 6, 2014
a5bc688
Merge branch 'Akkuma-master'
heff May 6, 2014
adf4e50
Added line to the changelog
heff May 6, 2014
269f7b1
Merge branch 'master' of github.com:michelt/video.js into michelt-master
heff May 7, 2014
ef25557
Added line to changelog
heff May 7, 2014
dbff62e
Made tap events on mobile less sensitive to touch moves. closes #1111
May 7, 2014
1df28ff
Fixed the default flag for captions/subtitles tracks. closes #1153 cl…
May 7, 2014
a671891
Merge pull request #1149 from bosoniq/master
mmcc May 7, 2014
3fd0c92
Added line to changelog
heff May 7, 2014
bcb69a0
Merge branch 'master' of github.com:videojs/video.js
heff May 7, 2014
92eac13
More explicit MIME type note
mmcc May 7, 2014
7782eda
Merge branch 'master' of github.com:fobiaxx/video.js into fobiaxx-master
heff May 9, 2014
4bb3a23
Made negative LESS calculations a little more readable.
heff May 9, 2014
4235a3d
Added bug and request contrib commands
heff May 9, 2014
0156742
Merge branch 'stable'
heff May 9, 2014
d7f840a
Better error handling. closes #1197
heff May 13, 2014
047bd8f
Made vjs.get work with xDomain in IE < 10. closes #1095
May 13, 2014
8dfe0a4
Added support for playbackRate switching. closes #1132
H1D May 13, 2014
bad5130
Fixed the loadstart event listener order so it's attached before the …
heff May 14, 2014
0c3fb04
Fixed issues from comments on d7f840a9693a73a4764eba2d5c7c0cb4b7120c80
heff May 14, 2014
97c1f83
Added a missing changelog item
heff May 14, 2014
8c6dc84
Merge branch 'karma-chameleon' of github.com:gkatsev/video.js into gk…
heff May 15, 2014
6c7a914
Added sinon to the test files
heff May 15, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"start",
"stop",
"strictEqual",
"test"
"test",
"sinon"
]
}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ CHANGELOG
* Fixed extra mousemove events on Windows caused by certain apps, not users [[view](https://github.com/videojs/video.js/pull/1068)]
* Fixed error due to undefined tech when no source is supported [[view](https://github.com/videojs/video.js/pull/1172)]
* Fixed the progress bar not finishing when manual timeupdate events are used [[view](https://github.com/videojs/video.js/pull/1173)]
* Added a more informative and styled fallback message for non-html5 browsers [[view](https://github.com/videojs/video.js/pull/1181)]
* Added the option to provide an array of child components instead of an object [[view](https://github.com/videojs/video.js/pull/1093)]
* Fixed casing on webkitRequestFullscreen [[view](https://github.com/videojs/video.js/pull/1101)]
* Made tap events on mobile less sensitive to touch moves [[view](https://github.com/videojs/video.js/pull/1111)]
* Fixed the default flag for captions/subtitles tracks [[view](https://github.com/videojs/video.js/pull/1153)]
* Fixed compilation failures with LESS v1.7.0 and GRUNT v0.4.4 [[view](https://github.com/videojs/video.js/pull/1180)]
* Added better error handling across the library [[view](https://github.com/videojs/video.js/pull/1197)]
* Updated captions/subtiles file fetching to support cross-origin requests in older IE browsers [[view](https://github.com/videojs/video.js/pull/1095)]
* Added support for playback rate switching [[view](https://github.com/videojs/video.js/pull/1132)]
* Fixed an issue with the loadstart event order that caused the big play button to not hide [[view](https://github.com/videojs/video.js/pull/1209)]

--------------------

Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = function(grunt) {
},
tests: {
src: ['build/files/combined.video.js', 'build/compiler/goog.base.js', 'src/js/exports.js', 'test/unit/*.js'],
externs: ['src/js/player.externs.js', 'src/js/media/flash.externs.js', 'test/qunit-externs.js'],
externs: ['src/js/player.externs.js', 'src/js/media/flash.externs.js', 'test/qunit-externs.js', 'test/sinon-externs.js'],
dest: 'build/files/test.minified.video.js'
}
},
Expand Down
1 change: 1 addition & 0 deletions build/demo-files/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
<track kind="captions" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
<track kind="subtitles" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
<p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
</video>

</body>
Expand Down
3 changes: 3 additions & 0 deletions build/source-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var sourceFiles = [
"src/js/button.js",
"src/js/slider.js",
"src/js/menu.js",
"src/js/media-error.js",
"src/js/player.js",
"src/js/control-bar/control-bar.js",
"src/js/control-bar/live-display.js",
Expand All @@ -34,9 +35,11 @@ var sourceFiles = [
"src/js/control-bar/volume-control.js",
"src/js/control-bar/mute-toggle.js",
"src/js/control-bar/volume-menu-button.js",
"src/js/control-bar/playback-rate-menu-button.js",
"src/js/poster.js",
"src/js/loading-spinner.js",
"src/js/big-play-button.js",
"src/js/error-display.js",
"src/js/media/media.js",
"src/js/media/html5.js",
"src/js/media/flash.js",
Expand Down
84 changes: 79 additions & 5 deletions contrib.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"contributions": {

"feature": {
"desc": "Create a new feature or general enhancement",
"start": {
"desc": "Start a new feature",
"steps": [
Expand Down Expand Up @@ -132,7 +133,7 @@
},
{
"desc": "Are you sure <%= branch %> is the branch you want to submit",
"prompt": "confirm"
"confirm": "confirm"
},
{
"id": "user",
Expand All @@ -151,7 +152,7 @@
},

"patch": {
"desc": "Urgent fixes for the latest stable version",
"desc": "Create an urgent fix for the latest stable version",
"new": {
"desc": "Start a new patch",
"steps": [
Expand Down Expand Up @@ -200,7 +201,7 @@
},
{
"desc": "Are you sure <%= branch %> is the branch you want to submit",
"prompt": "confirm"
"confirm": "confirm"
},
{
"id": "user",
Expand All @@ -227,7 +228,7 @@
},
{
"desc": "Confirm you are deleting the correct branch",
"prompt": "Delete branch '<%= name %>'?"
"confirm": "Delete branch '<%= name %>'?"
},
{
"desc": "Delete the local copy of the branch",
Expand All @@ -241,6 +242,79 @@
}
},

"bug": {
"desc": "Submit a bug report",
"steps": [
{
"id": "title",
"prompt": "Title your bug report"
},
{
"id": "reproduce",
"prompt": "What did you do? (steps to reproduce)"
},
{
"id": "expected",
"prompt": "What did you expect to happen?"
},
{
"id": "actual",
"prompt": "What actually happened?"
},
{
"id": "version",
"prompt": "What version of video.js are you using?"
},
{
"id": "plugins",
"prompt": "Are you using any video.js plugins?"
},
{
"id": "browsers",
"prompt": "What browsers/platforms did you experience this in (e.g. Win 7, IE10; Android 4, Chrome;)?"
},
{
"id": "example",
"prompt": "Is there a URL to a live example, or a jsbin (e.g. http://jsbin.com/axedog/9999/edit)?"
},
{
"id": "details",
"prompt": "Are there any other details you'd like to provide?"
},
{
"open": "https://github.com/videojs/video.js/issues/new?title=<%= title %>&body=**Steps to reproduce:**\n> <%= reproduce %>\n\n**What was expected:**\n> <%= expected %>\n\n**What Happened:**\n> <%= actual %>\n\n**Video.js Version:**\n> <%= version %>\n\n**Plugins:**\n> <%= plugins %>\n\n**Browsers experienced on:**\n> <%= browsers %>\n\n**Example:**\n> <%= example %>\n\n**Other details:**\n> <%= details %>"
}
]
},

"request": {
"desc": "Submit a feature/enhancement request",
"steps": [
{
"id": "title",
"prompt": "Title your request"
},
{
"id": "describe",
"prompt": "Describe the feature/enhancement (be as detailed as possible so it's clear who, why, and how it would be used)"
},
{
"id": "docs",
"prompt": "Is there any existing documentation or related specifications?"
},
{
"id": "examples",
"prompt": "Are there any existing examples?"
},
{
"confirm": "You will be redirected to Github where you can submit this issue, OK?"
},
{
"open": "https://github.com/videojs/video.js/issues/new?title=<%= title %>&body=**Describe the feature/enhancement:**\n> <%= describe %>\n\n**Existing docs/specs:**\n> <%= docs %>\n\n**Existing examples:**\n> <%= examples %>"
}
]
},

"release": {
"desc": "Create and publish a release",
"steps": [
Expand All @@ -254,7 +328,7 @@
},
{
"desc": "Have the changes been merged into the release branch (stable)?",
"prompt": "confirm"
"confirm": "confirm"
},
{
"id": "type",
Expand Down
6 changes: 4 additions & 2 deletions docs/guides/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ With Video.js you just use an HTML5 video tag to embed a video. Video.js will th
- `video-js` applies styles that are required for Video.js functionality, like fullscreen and subtitles.
- `vjs-default-skin` applies the default skin to the HTML controls, and can be removed or overridden to create your own controls design.

Otherwise include/exclude attributes, settings, sources, and tracks exactly as you would for HTML5 video.

Otherwise include/exclude attributes, settings, sources, and tracks exactly as you would for HTML5 video.*
```html
<video id="example_video_1" class="video-js vjs-default-skin"
controls preload="auto" width="640" height="264"
Expand All @@ -57,6 +56,7 @@ Otherwise include/exclude attributes, settings, sources, and tracks exactly as y
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' />
<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
<source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
<p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
</video>
```

Expand Down Expand Up @@ -100,3 +100,5 @@ videojs(document.getElementsByClassName('awesome_video_class')[0], {}, function(
// if it's an array that you pick one (here we chose the first).
});
```

\* If you have trouble playing back content you know is in the [correct format](http://blog.zencoder.com/2013/09/13/what-formats-do-i-need-for-html5-video/), your HTTP server might not be delivering the content with the correct [MIME type](http://en.wikipedia.org/wiki/Internet_media_type#Type_video). Please double check your content's headers before opening an [issue](https://github.com/videojs/video.js/blob/master/CONTRIBUTING.md).
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"qunitjs": "~1.12.0",
"semver": "~1.1.4",
"uglify-js": "~2.3.6",
"videojs-doc-generator": "0.0.1"
"videojs-doc-generator": "0.0.1",
"sinon": "~1.9.1"
}
}
2 changes: 1 addition & 1 deletion sandbox/index.html.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm'>
<source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg'>
<track kind="captions" src="../build/demo-files/demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
<p>Video Playback Not Supported</p>
<p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
</video>

<script>
Expand Down
Loading