Skip to content

Commit

Permalink
(ios): add bg color & bg image. fix indentation. add aspectstretch op…
Browse files Browse the repository at this point in the history
…tion. (#138)

Increment to v2.1.0 for minor change.
  • Loading branch information
shamilovtim authored Jun 30, 2018
1 parent 5f5218f commit f4df91a
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 179 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ cordova plugin add https://github.com/nchutchind/cordova-plugin-streaming-media
var options = {
bgColor: "#FFFFFF",
bgImage: "<SWEET_BACKGROUND_IMAGE>",
bgImageScale: "fit", // other valid values: "stretch"
bgImageScale: "fit", // other valid values: "stretch", "aspectStretch"
initFullscreen: false, // true is default. iOS only.
keepAwake: false, // prevents device from sleeping. true is default. Android only.
successCallback: function() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-streaming-media",
"version": "2.0.0",
"version": "2.1.0",
"description": "This plugin allows you to stream audio and video in a fullscreen, native player on iOS and Android.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-streaming-media"
version="2.0.0">
version="2.1.0">

<name>StreamingMedia</name>

Expand Down
Loading

0 comments on commit f4df91a

Please sign in to comment.