Skip to main content

Getting Started

Plugins are array of core features that are integrated into the Lura Player to help elevate your business, monetize your content and increase the customer experience.

Getting started with LuraPlayer plugins is very easy. Just add plugins key to your config object and start experimenting.

import React, { useRef } from "react";
import { LuraPlayer, LuraPlayerProps } from "lura-react-native-core";

export default function MySampleComponent() {
const playerRef = useRef<LuraPlayer>(null);

const config = {
token:
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2aWQiOiI0MzY2NjIzIiwiaXNzIjoiM1FMWjdaV0JsRko1Vk16Y2pyczJPbTd3VTdEanIzNFkifQ.CruM1W3gIEyQTBTqfaY5gTdf7b_2SSNg4gj6JGOj4Mg",
plugins: {
...
PLUGIN_CONFIG_NAME: {
...
PLUGIN_PARAM : VALUE
...
}
...
},
};

return (
<View>
<LuraPlayer ref={playerRef} config={config} />
</View>
);
}

Lura Plugins

Lura Plugins are seamlessly integrated tools developed or managed by Lura Player developers to effortlessly add functionality, such as advertisements and analytics, to Lura Player. These plugins are made to simplify the commonly used measuring and monetization tools in the industry into Lura Player.

Custom Plugins

Lura Player offers a way to implement your custom logic into Lura Player. Custom plugins are designed and maintained by you, providing a personalized solution tailored to your business.