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

update videoJS to 5.4 #11821

Merged
merged 3 commits into from
Feb 3, 2016
Merged

update videoJS to 5.4 #11821

merged 3 commits into from
Feb 3, 2016

Conversation

jamesgorrie
Copy link
Contributor

Updating video JS so we can start looking at updating the contribs (mostyle for ads as there are some performance stuff with Google IMA).

I would have like to have update to 5.5, but there is a problem with the autoplay logic here - I have raised an issue and will try to get that out as soon as.

Most contribs require 5.3 - so this is good for now.

@@ -36,7 +36,7 @@
"lodash-amd": "bower_components/lodash-amd/compat/**",
"domready": "bower_components/domready/ready.js",
"when": "bower_components/when/es6-shim/Promise.js",
"video.js": "bower_components/video.js/dist/video.min.js",
"video.js": "bower_components/video.js/dist/video.js",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure if I have to update this elsewhere for isProd?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, that is all

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, how come we changed this? Makes it easier to debug, that's for sure—and it's still minised later by Uglify through us :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apologies! And Olly makes a good point.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will also have to update the require config:

videojs: 'components/video.js/video.min',

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be horrible coming from a jspm world? :-P

@jamesgorrie
Copy link
Contributor Author

CC @Calanthe

@@ -32,4 +32,4 @@ object EncodingOrdering extends Ordering[Encoding] {

//Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
def compare(x: Encoding, y: Encoding): Int = precedenceOf(x) - precedenceOf(y)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The IDE is doing it due to the editor config.

@rich-nguyen
Copy link
Contributor

Hope that was easier than the last upgrade, which included a major version. if all the plugins behave fine, then 👍

@rich-nguyen
Copy link
Contributor

this reminds me, we need to talk about tests. Enough of this video wild west.

(we, as in the wider dotcom team)

@jamesgorrie
Copy link
Contributor Author

A few of the plugins are actually broken at the moment (our own fullscreener for example).
Yip, all is well.

@jamesgorrie
Copy link
Contributor Author

Enough of this video wild west.

Damn it.

@jamesgorrie
Copy link
Contributor Author

Saying that, I need to chat to @ScottPainterGNM about quality in general.

@scottp719
Copy link

I approve of this conversation 😈

@paperboyo
Copy link
Contributor

Broken, broken they are!

jamesgorrie added a commit that referenced this pull request Feb 3, 2016
@jamesgorrie jamesgorrie merged commit cca8bff into master Feb 3, 2016
@jamesgorrie jamesgorrie deleted the update-videojs branch February 3, 2016 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants