Skip to content

Commit

Permalink
update builds + version
Browse files Browse the repository at this point in the history
  • Loading branch information
grenault73 committed Jul 12, 2018
1 parent 5cc883d commit 48f2294
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Its main goals are:
- To be easy to integrate and use as a library in various codebases.


Latest release: ``v3.5.0``
Latest release: ``v3.5.1``



Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.0
3.5.1
8 changes: 4 additions & 4 deletions dist/rx-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -11874,7 +11874,7 @@ object-assign
var index = this._index, _normalizeRange = normalizeRange(index, _up, _to), up = _normalizeRange.up, to = _normalizeRange.to;
if (to <= up) return [];
for (var duration = index.duration, startNumber = index.startNumber, timescale = index.timescale, mediaURL = index.mediaURL, segments = [], baseTime = up; baseTime <= to; baseTime += duration) {
var periodRelativeNumber = baseTime - this._periodStart * timescale, number = Math.floor(periodRelativeNumber / duration) + (null == startNumber ? 1 : startNumber), time = number * duration / timescale, args = {
var periodRelativeNumber = baseTime - this._periodStart * timescale, number = Math.floor(periodRelativeNumber / duration) + (null == startNumber ? 1 : startNumber), time = number * duration, args = {
id: "" + number,
number: number,
time: time,
Expand Down Expand Up @@ -14517,7 +14517,7 @@ object-assign
* @param {number} segmentPosition
* @returns {IRequestInfo|undefined}
*/ function getConcernedRequest(requests, segmentPosition) {
for (var currentRequestIds = Object.keys(requests), len = currentRequestIds.length, i = 0; i < len - 1; i++) {
for (var currentRequestIds = Object.keys(requests), len = currentRequestIds.length, i = 0; i < len; i++) {
var request = requests[currentRequestIds[i]], chunkTime = request.time, chunkDuration = request.duration;
// TODO review this
if (Math.abs(segmentPosition - chunkTime) < chunkDuration) return request;
Expand Down Expand Up @@ -20127,7 +20127,7 @@ object-assign
var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)), _parseConstructorOpti = parseConstructorOptions(options), initialAudioBitrate = _parseConstructorOpti.initialAudioBitrate, initialVideoBitrate = _parseConstructorOpti.initialVideoBitrate, limitVideoWidth = _parseConstructorOpti.limitVideoWidth, maxAudioBitrate = _parseConstructorOpti.maxAudioBitrate, maxBufferAhead = _parseConstructorOpti.maxBufferAhead, maxBufferBehind = _parseConstructorOpti.maxBufferBehind, maxVideoBitrate = _parseConstructorOpti.maxVideoBitrate, throttleWhenHidden = _parseConstructorOpti.throttleWhenHidden, videoElement = _parseConstructorOpti.videoElement, wantedBufferAhead = _parseConstructorOpti.wantedBufferAhead, stopAtEnd = _parseConstructorOpti.stopAtEnd;
// Workaround to support Firefox autoplay on FF 42.
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
return videoElement.preload = "auto", _this.version = /*PLAYER_VERSION*/ "3.5.0",
return videoElement.preload = "auto", _this.version = /*PLAYER_VERSION*/ "3.5.1",
_this.log = log.a, _this.state = "STOPPED", _this.videoElement = videoElement, _this._priv_destroy$ = new Subject.a(),
Object(events.d)(videoElement).pipe(Object(takeUntil.a)(_this._priv_destroy$)).subscribe(function() {
return _this.trigger("fullscreenChange", _this.isFullscreen());
Expand Down Expand Up @@ -21253,7 +21253,7 @@ object-assign
* Current version of the RxPlayer.
* @type {string}
*/
api_Player.version = "3.5.0";
api_Player.version = "3.5.1";
/* harmony default export */ var api = api_Player;
// CONCATENATED MODULE: ./src/features/initialize_features.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/rx-player.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rx-player",
"author": "Canal+",
"version": "3.5.0",
"version": "3.5.1",
"description": "Canal+ HTML5 Video Player",
"main": "./dist/rx-player.js",
"keywords": [
Expand Down Expand Up @@ -98,7 +98,6 @@
"test:watch": "cross-env RXP_TESTS_WATCH=true karma start tests/karma.conf.js",
"types": "tsc --noEmit --project .",
"update-version": "npm run version --git-tag-version=false",
"preversion": "npm run check",
"version": "./scripts/update-version"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.projectKey=rx-player
sonar.projectName=rx-player
sonar.projectVersion=3.5.0
sonar.projectVersion=3.5.1
sonar.sources=./src,./demo,./tests
sonar.exclusions=demo/full/bundle.js,demo/full/lib.js,demo/standalone/lib.js,demo/bundle.js
sonar.host.url=https://sonarcloud.io
4 changes: 2 additions & 2 deletions src/core/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class Player extends EventEmitter<PLAYER_EVENT_STRINGS, any> {
* Current version of the RxPlayer.
* @type {string}
*/
public static version = /*PLAYER_VERSION*/"3.5.0";
public static version = /*PLAYER_VERSION*/"3.5.1";
public readonly version : string;

/**
Expand Down Expand Up @@ -506,7 +506,7 @@ class Player extends EventEmitter<PLAYER_EVENT_STRINGS, any> {
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
videoElement.preload = "auto";

this.version = /*PLAYER_VERSION*/"3.5.0";
this.version = /*PLAYER_VERSION*/"3.5.1";
this.log = log;
this.state = "STOPPED";
this.videoElement = videoElement;
Expand Down

0 comments on commit 48f2294

Please sign in to comment.