Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Commit

Permalink
Release Version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
philipgiuliani committed Apr 13, 2015
1 parent c5b716e commit 591367b
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 27 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ CHANGELOG
=========

## HEAD (Unreleased)
*(no changes)*

## 1.1.1 (13.04.2014)
* The Chromecast will no longer stay paused after seeking. (#10)
* If casting is ended while playing, the browser seeks to the last position and plays. (#10)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "videojs-chromecast",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "https://github.com/kim-company/videojs-chromecast",
"author": {
"name": "KIM Keep In Mind GmbH, srl",
Expand Down
2 changes: 1 addition & 1 deletion dist/videojs.chromecast.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! videojs-chromecast - v1.1.0 - 2015-02-21
/*! videojs-chromecast - v1.1.1 - 2015-04-13
* https://github.com/kim-company/videojs-chromecast
* Copyright (c) 2015 KIM Keep In Mind GmbH, srl; Licensed MIT */

Expand Down
28 changes: 14 additions & 14 deletions dist/videojs.chromecast.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*! videojs-chromecast - v1.1.0 - 2015-02-21
/*! videojs-chromecast - v1.1.1 - 2015-04-13
* https://github.com/kim-company/videojs-chromecast
* Copyright (c) 2015 KIM Keep In Mind GmbH, srl; Licensed MIT */

(function() {
var __hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;

vjs.addLanguage("de", {
"CASTING TO": "WIEDERGABE AUF"
Expand All @@ -19,8 +19,8 @@
return this.controlBar.addChild(this.chromecastComponent);
});

vjs.ChromecastComponent = (function(_super) {
__extends(ChromecastComponent, _super);
vjs.ChromecastComponent = (function(superClass) {
extend(ChromecastComponent, superClass);

ChromecastComponent.prototype.buttonText = "Chromecast";

Expand All @@ -46,8 +46,8 @@

ChromecastComponent.prototype.timerStep = 1000;

function ChromecastComponent(player, settings) {
this.settings = settings;
function ChromecastComponent(player, settings1) {
this.settings = settings1;
ChromecastComponent.__super__.constructor.call(this, player, settings);
if (!player.controls()) {
this.disable();
Expand Down Expand Up @@ -101,16 +101,16 @@
};

ChromecastComponent.prototype.onSessionSuccess = function(session) {
var image, key, loadRequest, mediaInfo, value, _ref;
var image, key, loadRequest, mediaInfo, ref, value;
vjs.log("Session initialized: " + session.sessionId);
this.apiSession = session;
this.addClass("connected");
mediaInfo = new chrome.cast.media.MediaInfo(this.player_.currentSrc(), this.player_.currentType());
if (this.settings.metadata) {
mediaInfo.metadata = new chrome.cast.media.GenericMediaMetadata();
_ref = this.settings.metadata;
for (key in _ref) {
value = _ref[key];
ref = this.settings.metadata;
for (key in ref) {
value = ref[key];
mediaInfo.metadata[key] = value;
}
if (this.player_.options_.poster) {
Expand Down Expand Up @@ -290,8 +290,8 @@

})(vjs.Button);

vjs.ChromecastTech = (function(_super) {
__extends(ChromecastTech, _super);
vjs.ChromecastTech = (function(superClass) {
extend(ChromecastTech, superClass);

ChromecastTech.isSupported = function() {
return this.player_.chromecastComponent.apiInitialized;
Expand All @@ -314,7 +314,7 @@
ChromecastTech.prototype.createEl = function() {
var element;
element = document.createElement("div");
element.id = "" + this.player_.id_ + "_chromecast_api";
element.id = this.player_.id_ + "_chromecast_api";
element.className = "vjs-tech vjs-tech-chromecast";
element.innerHTML = "<div class=\"casting-image\" style=\"background-image: url('" + this.player_.options_.poster + "')\"></div>\n<div class=\"casting-overlay\">\n <div class=\"casting-information\">\n <div class=\"casting-icon\">&#58880</div>\n <div class=\"casting-description\"><small>" + (this.localize("CASTING TO")) + "</small><br>" + this.receiver + "</div>\n </div>\n</div>";
element.player = this.player_;
Expand Down
4 changes: 2 additions & 2 deletions dist/videojs.chromecast.min.css

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

Loading

0 comments on commit 591367b

Please sign in to comment.