Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitmovin-player-react-native

Package Overview
Dependencies
Maintainers
0
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitmovin-player-react-native - npm Package Compare versions

Comparing version 0.29.0 to 0.30.0

2

package.json
{
"name": "bitmovin-player-react-native",
"version": "0.29.0",
"version": "0.30.0",
"description": "Official React Native bindings for Bitmovin's mobile Player SDKs.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -46,2 +46,55 @@ import { PictureInPictureConfig } from './pictureInPictureConfig';

playbackSpeedSelectionEnabled?: boolean;
/**
* The UI variant to use for the Bitmovin Player Web UI.
*
* Default is {@link SmallScreenUi}
*/
variant?: Variant;
/**
* Whether the WebView should be focused on initialization.
*
* By default this is enabled only for the TV UI variant, as it's needed there to
* initiate spatial navigation using the remote control.
*
* @platform Android
*/
focusUiOnInitialization?: boolean;
}
export abstract class Variant {
/**
* Specifies the function name that will be used to initialize the `UIManager`
* for the Bitmovin Player Web UI.
*
* The function is called on the `window` object with the `Player` as the first argument and
* the `UIConfig` as the second argument.
*
* Example:
* When you added a new function or want to use a different function of our `UIFactory`,
* you can specify the full qualifier name including namespaces.
* e.g. `bitmovin.playerui.UIFactory.buildDefaultSmallScreenUI` for the SmallScreenUi.
* @see UIFactory https://github.com/bitmovin/bitmovin-player-ui/blob/develop/src/ts/uifactory.ts#L60
*
* Notes:
* - It's not necessary to use our `UIFactory`. Any static function can be specified.
*/
constructor(public readonly uiManagerFactoryFunction: string) {}
}
export class SmallScreenUi extends Variant {
constructor() {
super('bitmovin.playerui.UIFactory.buildDefaultSmallScreenUI');
}
}
export class TvUi extends Variant {
constructor() {
super('bitmovin.playerui.UIFactory.buildDefaultTvUI');
}
}
export class CustomUi extends Variant {
constructor(uiManagerFactoryFunction: string) {
super(uiManagerFactoryFunction);
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc