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

chore(https): update a lot of links to be https #5372

Merged
merged 1 commit into from
Aug 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
}
},
"logo": {
"url": "http://videojs.com/img/logo.png",
"url": "https://videojs.com/img/logo.png",
"height": "30px",
"width": "214px"
},
"name": "Video.js Documentation",
"tabNames": {
"tutorials": "Guides"
},
"footerText": "<span class='copyright'><a href='http://videojs.com'>Video.js</a> is a free and open source HTML5 video player. © <a href='https://brightcove.com' target='_blank'>Brightcove, Inc</a>. <a href='https://github.com/videojs/video.js/blob/master/LICENSE' class='button blue' target='_blank'>View license</a></span> <ul class='other-links'><li><a href='http://videojs.com' class='button white'><i class='fa fa-external-link'></i> Video.js</a></li> <li><a href='https://twitter.com/videojs' class='button white' target='_blank'><i class='fa fa-twitter'></i> @videojs</a></li> <li><a href='http://github.com/videojs/video.js' class='button white' target='_blank'><i class='fa fa-github-alt'></i> Source</a></li> </ul>",
"footerText": "<span class='copyright'><a href='https://videojs.com'>Video.js</a> is a free and open source HTML5 video player. © <a href='https://brightcove.com' target='_blank'>Brightcove, Inc</a>. <a href='https://github.com/videojs/video.js/blob/master/LICENSE' class='button blue' target='_blank'>View license</a></span> <ul class='other-links'><li><a href='https://videojs.com' class='button white'><i class='fa fa-external-link'></i> Video.js</a></li> <li><a href='https://twitter.com/videojs' class='button white' target='_blank'><i class='fa fa-twitter'></i> @videojs</a></li> <li><a href='https://github.com/videojs/video.js' class='button white' target='_blank'><i class='fa fa-github-alt'></i> Source</a></li> </ul>",
"css": [
"styles/videojs.css",
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"video",
"player"
],
"homepage": "http://www.videojs.com/",
"homepage": "https://www.videojs.com/",
"license": "Apache-2.0"
}
4 changes: 2 additions & 2 deletions docs/guides/audio-tracks.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ player.audioTracks().removeTrack(track);
## API

For more complete information, refer to the
[Video.js API docs](http://docs.videojs.com/), specifically:
[Video.js API docs](https://docs.videojs.com/), specifically:

* `Player#audioTracks`
* `AudioTrackList`
Expand Down Expand Up @@ -158,4 +158,4 @@ one audio track to be enabled at a time.

[spec-audiotrack]: https://html.spec.whatwg.org/multipage/embedded-content.html#audiotrack

[hls]: http://github.com/videojs/videojs-contrib-hls
[hls]: https://github.com/videojs/videojs-contrib-hls
4 changes: 2 additions & 2 deletions docs/guides/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ For more specifics on the programmatic interface of a component, see [the compon

Video.js components can be inherited and registered with Video.js to add new features and UI to the player.

For a working example, [we have a JSBin](http://jsbin.com/vobacas/edit?html,css,js,output) demonstrating the creation of a component for displaying a title across the top of the player.
For a working example, [we have a JSBin](https://jsbin.com/vobacas/edit?html,css,js,output) demonstrating the creation of a component for displaying a title across the top of the player.

In addition, there are a couple methods worth recognizing:

Expand Down Expand Up @@ -339,7 +339,7 @@ let player = videojs('myplayer', {

The text track settings component is only available when using emulated text tracks.

[api]: http://docs.videojs.com/Component.html
[api]: https://docs.videojs.com/Component.html

### Resize Manager

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ Finally, the history (if enabled) can be cleared at any time via:
videojs.log.history.clear();
```

[api]: http://docs.videojs.com/
[api]: https://docs.videojs.com/

[console]: https://developer.mozilla.org/en-US/docs/Web/API/Console
2 changes: 1 addition & 1 deletion docs/guides/embeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const player = videojs('vid1', {});
Adding `class="video-js"` with this embed is no longer necessary as it will automatically add the class `video-js` if missing.

#### Custom Elements
Native Custom Elements support is relatively small according to [Can I Use](http://caniuse.com/#feat=custom-elementsv1) and because we didn't want to include a polyfill we're going with just an element called `video-js` rather than a full blown custom element.
Native Custom Elements support is relatively small according to [Can I Use](https://caniuse.com/#feat=custom-elementsv1) and because we didn't want to include a polyfill we're going with just an element called `video-js` rather than a full blown custom element.

## data-setup
This is an ease-of-use method for having Video.js set up the player automatically. It is an HTML attribute and it takes a JSON string representation of the [player options](/docs/guides/options.md) as the value.
Expand Down
20 changes: 10 additions & 10 deletions docs/guides/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,15 @@ Yes! See [ReactJS integration example][react-guide].

[audio-tracks]: /docs/guides/audio-tracks.md

[contributing-issues]: http://github.com/videojs/video.js/blob/master/CONTRIBUTING.md#filing-issues
[contributing-issues]: https://github.com/videojs/video.js/blob/master/CONTRIBUTING.md#filing-issues

[contributing-prs]: http://github.com/videojs/video.js/blob/master/CONTRIBUTING.md#contributing-code
[contributing-prs]: https://github.com/videojs/video.js/blob/master/CONTRIBUTING.md#contributing-code

[components-guide]: /docs/guides/components.md

[cors]: https://enable-cors.org

[dash]: http://github.com/videojs/videojs-contrib-dash
[dash]: https://github.com/videojs/videojs-contrib-dash

[debug-guide]: /docs/guides/debugging.md

Expand All @@ -307,35 +307,35 @@ Yes! See [ReactJS integration example][react-guide].

[google-ima]: https://github.com/googleads/videojs-ima

[hls]: http://github.com/videojs/videojs-contrib-hls
[hls]: https://github.com/videojs/videojs-contrib-hls

[install-guide]: http://videojs.com/getting-started/
[install-guide]: https://videojs.com/getting-started/

[issue-template]: http://github.com/videojs/video.js/blob/master/.github/ISSUE_TEMPLATE.md
[issue-template]: https://github.com/videojs/video.js/blob/master/.github/ISSUE_TEMPLATE.md

[node]: https://www.npmjs.com/package/video.js

[npm-keywords]: https://docs.npmjs.com/files/package.json#keywords

[plugin-guide]: /docs/guides/plugins.md

[plugin-list]: http://videojs.com/plugins
[plugin-list]: https://videojs.com/plugins

[pr-issue-question]: #q-i-think-i-found-a-bug-with-videojs-or-i-want-to-add-a-feature-what-should-i-do

[pr-template]: http://github.com/videojs/video.js/blob/master/.github/PULL_REQUEST_TEMPLATE.md
[pr-template]: https://github.com/videojs/video.js/blob/master/.github/PULL_REQUEST_TEMPLATE.md

[react-guide]: /docs/guides/react.md

[reduced-test-case]: https://css-tricks.com/reduced-test-cases/

[semver]: http://semver.org/
[semver]: https://semver.org/

[skins-list]: https://github.com/videojs/video.js/wiki/Skins

[slack]: https://videojs.slack.com

[starter-example]: http://jsbin.com/axedog/edit?html,output
[starter-example]: https://jsbin.com/axedog/edit?html,output

[techorder]: [cors]: /docs/guides/options.md#techorder

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ For all existing/supported languages, please see the [languages folder (`lang/`)

[lang-supported]: /lang

[lang-codes]: http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
[lang-codes]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

[translations-needed]: https://github.com/videojs/video.js/blob/master/docs/translations-needed.md
2 changes: 1 addition & 1 deletion docs/guides/middleware.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Middleware

Middleware is a Video.js feature that allows interaction with and modification of how the `Player` and `Tech` talk to each other. For more in-depth information, check out our [feature spotlight](http://blog.videojs.com/feature-spotlight-middleware/).
Middleware is a Video.js feature that allows interaction with and modification of how the `Player` and `Tech` talk to each other. For more in-depth information, check out our [feature spotlight](https://blog.videojs.com/feature-spotlight-middleware/).

## Table of Contents

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/modal-dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ A common need for modals is to style them independently from one another. The re
modal.addClass('vjs-my-fancy-modal');
```

[api-doc]: http://docs.videojs.com/ModalDialog.html
[api-doc]: https://docs.videojs.com/ModalDialog.html

[creating-component]: /docs/guides/components.md#creating-a-component
2 changes: 1 addition & 1 deletion docs/guides/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ Can be set to `false` to disable native video track support. Most commonly used

[ios-10-updates]: https://webkit.org/blog/6784/new-video-policies-for-ios/

[lang-codes]: http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
[lang-codes]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

[video-attrs]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#Attributes

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/player-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ After an instance has been created it can be accessed globally in two ways:

No matter the term used for it, web applications are becoming common. Not everything is a static, load-once-and-done web page anymore! This means that developers need to be able to manage the full lifecycle of a video player - from creation to destruction. Video.js supports player removal through the `dispose()` method.

### [`dispose()`](http://docs.videojs.com/Player.html#dispose)
### [`dispose()`](https://docs.videojs.com/Player.html#dispose)

This method is available on all Video.js players and [components](http://docs.videojs.com/Component.html#dispose). It is _the only_ supported method of removing a Video.js player from both the DOM and memory. For example, the following code sets up a player and then disposes it when media playback is complete:
This method is available on all Video.js players and [components](https://docs.videojs.com/Component.html#dispose). It is _the only_ supported method of removing a Video.js player from both the DOM and memory. For example, the following code sets up a player and then disposes it when media playback is complete:

```js
var player = videojs('my-player');
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@ These events work for both basic and advanced plugins. They are triggered on the

[tech]: /docs/guides/tech.md

[api-player]: http://docs.videojs.com/Player.html
[api-player]: https://docs.videojs.com/Player.html

[api-plugin]: http://docs.videojs.com/Plugin.html
[api-plugin]: https://docs.videojs.com/Plugin.html

[generator]: https://github.com/videojs/generator-videojs-plugin

Expand Down
8 changes: 4 additions & 4 deletions docs/guides/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,14 @@ For a discussion of more advanced player workflows, see the [player workflows gu

[boolean-attrs]: https://www.w3.org/TR/2011/WD-html5-20110525/common-microsyntaxes.html#boolean-attributes

[getting-started]: http://videojs.com/getting-started/
[getting-started]: https://videojs.com/getting-started/

[json]: http://json.org/example.html
[json]: https://json.org/example.html

[video-attrs]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#Attributes

[videojs]: http://docs.videojs.com/module-videojs.html
[videojs]: https://docs.videojs.com/module-videojs.html

[w3c-media-events]: https://www.w3.org/2010/05/video/mediaevents.html

[w3c-video]: http://www.w3.org/TR/html5/embedded-content-0.html#the-video-element
[w3c-video]: https://www.w3.org/TR/html5/embedded-content-0.html#the-video-element
2 changes: 1 addition & 1 deletion docs/guides/skins.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ Finally, we can save that as a `videojs-matrix.css` file and include it _after_
<link rel="stylesheet" type="text/css" href="path/to/videojs-matrix.css">
```

If you create a skin you're particularly proud of, you can share it by adding a link on the [Skins wiki page](https://github.com/videojs/video.js/wiki/Skins). One way to create shareable skins is by forking [this example on CodePen](http://codepen.io/heff/pen/EarCt).
If you create a skin you're particularly proud of, you can share it by adding a link on the [Skins wiki page](https://github.com/videojs/video.js/wiki/Skins). One way to create shareable skins is by forking [this example on CodePen](https://codepen.io/heff/pen/EarCt).
10 changes: 5 additions & 5 deletions docs/guides/text-tracks.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ Either can be created programmatically, but _only remote text tracks can be remo

## Creating the Text File

Timed text requires a text file in [WebVTT](http://dev.w3.org/html5/webvtt/) format. This format defines a list of "cues" that have a start time, an end time, and text to display. [Microsoft has a builder](https://dev.modern.ie/testdrive/demos/captionmaker/) that can help you get started on the file.
Timed text requires a text file in [WebVTT](https://dev.w3.org/html5/webvtt/) format. This format defines a list of "cues" that have a start time, an end time, and text to display. [Microsoft has a builder](https://dev.modern.ie/testdrive/demos/captionmaker/) that can help you get started on the file.

> **Note:** When creating captions, there are additional [caption formatting techniques](http://www.theneitherworld.com/mcpoodle/SCC_TOOLS/DOCS/SCC_FORMAT.HTML#style) to make captions more meaningful, like brackets around sound effects (e.g. `[ birds chirping ]`).
> **Note:** When creating captions, there are additional [caption formatting techniques](https://www.theneitherworld.com/mcpoodle/SCC_TOOLS/DOCS/SCC_FORMAT.HTML#style) to make captions more meaningful, like brackets around sound effects (e.g. `[ birds chirping ]`).
>
> For a more in depth style guide for captioning, see the [Captioning Key](http://www.dcmp.org/captioningkey/), but keep in mind not all features are supported by WebVTT or (more likely) the Video.js WebVTT implementation.
> For a more in depth style guide for captioning, see the [Captioning Key](https://www.dcmp.org/captioningkey/), but keep in mind not all features are supported by WebVTT or (more likely) the Video.js WebVTT implementation.

## Adding Text Tracks to Video.js

Expand Down Expand Up @@ -95,7 +95,7 @@ For supported language translations, please see the [languages folder (/lang)](h

### Text Tracks from Another Domain

Because Video.js loads the text track file via JavaScript, the [same-origin policy](http://en.wikipedia.org/wiki/Same_origin_policy) applies. If you'd like to have a player served from one domain, but the text track served from another, you'll need to [enable CORS](http://enable-cors.org/) on the server that is serving your text tracks.
Because Video.js loads the text track file via JavaScript, the [same-origin policy](https://en.wikipedia.org/wiki/Same_origin_policy) applies. If you'd like to have a player served from one domain, but the text track served from another, you'll need to [enable CORS](https://enable-cors.org/) on the server that is serving your text tracks.

In addition to enabling CORS, you will need to add the [`crossorigin` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) to the video element itself. This attribute has two possible values `"anonymous"` and `"use-credentials"`. Most users will want to use `"anonymous"` with cross-origin tracks:

Expand Down Expand Up @@ -214,7 +214,7 @@ In general, `"descriptions"` tracks are of lower precedence than `"captions"` an

## API

For more complete information, refer to the [Video.js API docs](http://docs.videojs.com/).
For more complete information, refer to the [Video.js API docs](https://docs.videojs.com/).

### Remote Text Tracks

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ To fix this issue please make sure that all event listeners are cleaned up on di

[flash]: https://github.com/videojs/videojs-flash

[media-types]: http://www.iana.org/assignments/media-types/media-types.xhtml#video
[media-types]: https://www.iana.org/assignments/media-types/media-types.xhtml#video

[cors]: http://enable-cors.org/
[cors]: https://enable-cors.org/
2 changes: 1 addition & 1 deletion docs/guides/video-tracks.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ player.videoTracks().removeTrack(track);

## API

For more complete information, refer to the [Video.js API docs](http://docs.videojs.com/), specifically:
For more complete information, refer to the [Video.js API docs](https://docs.videojs.com/), specifically:

* `Player#videoTracks`
* `VideoTrackList`
Expand Down
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ Follow this guide to see how you can use `videojs.log` for debugging purposes.

You can refer to the [full list of API docs][api], but the most relevant API doc is for the [Player][api-player].

[plugins-list]: http://videojs.com/plugins
[plugins-list]: https://videojs.com/plugins

[skins-list]: https://github.com/videojs/video.js/wiki/Skins

[api]: http://docs.videojs.com/
[api]: https://docs.videojs.com/

[api-player]: http://docs.videojs.com/Player.html
[api-player]: https://docs.videojs.com/Player.html

[vjs-website]: http://videojs.com
[vjs-website]: https://videojs.com
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"video",
"videojs"
],
"homepage": "http://videojs.com",
"homepage": "https://videojs.com",
"author": "Steve Heffernan",
"scripts": {
"changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
Expand Down