render() {
        return (
            <div>
                { this.state.groupflag ==='True' ?
                    <div className="container">
                        <div className="mybox">
                            <div className="row">
                                <div className="col-sm-12">
                                    {
                                        this.state.cluster.length > 0 ? this.state.cluster.map((data)=> {
                                            return (
                                                <div className="col-sm-6">
                                                    <div className="col-sm-2">
                                                    <button disabled={data.loggedIn == 0} onClick={ () => this.PayVideo(data.displayId) } className ='myButton' >
                                                    <img src={require('../../src/image/play2.png')} className="playimg" />
                                                    </button>
                                                    </div>
                                                    
                                                    <div className="col-sm-2">
                                                    <img src={require('../../src/image/icons8-eye-48.png')} className="playimg" onClick="#" data-tip="Under Development" style={{"pointer-events":"all"}} /><ReactTooltip />
                                                    </div>
                                                    <div className={data.loggedIn == 1 ?  "box" : "box-red" }>
                                                        {data.display}
                                                    </div>
                                                </div>
                                            )
                                        }) : "Data Not Available."
                                    }
                                </div>
                            </div>
                        </div>
                    </div> :
                   <div>   
                </div>
                }
            </div>
        );
    }
/***************  Render function to load the html content**********************/
Render function to load the html content
Render function to load the html content
render() {
        return (
            <div>
                { this.state.groupflag ==='True' ?
                    <div className="container">
                        <div className="mybox">
                            <div className="row">
                                <div className="col-sm-12">
                                    {
                                        this.state.cluster.length > 0 ? this.state.cluster.map((data)=> {
                                            return (
                                                <div className="col-sm-6">
                                                    <div className="col-sm-2">
                                                    <button disabled={data.loggedIn == 0} onClick={ () => this.PayVideo(data.displayId) } className ='myButton' >
                                                    <img src={require('../../src/image/play2.png')} className="playimg" />
                                                    </button>
                                                    </div>
                                                    <div className="col-sm-2">
                                                    <img src={require('../../src/image/icons8-eye-48.png')} className="playimg" onClick="#" data-tip="Under Development" style={{"pointer-events":"all"}} /><ReactTooltip />
                                                    </div>
                                                    <div className={data.loggedIn == 1 ?  "box" : "box-red" }>
                                                        {data.display}
                                                    </div>
                                                </div>
                                            )
                                        }) : "Data Not Available."
                                    }
                                </div>
                            </div>
                        </div>
                    </div> :
                   <div>   
                </div>
                }
            </div>
        );
    }
render ( ) { return ( < div > { this . state . groupflag === 'True' ? < div className = "container" > < div className = "mybox" > < div className = "row" > < div className = "col-sm-12" > { this . state . cluster . length > 0 ? this . state . cluster . map ( ( data ) => { return ( < div className = "col-sm-6" > < div className = "col-sm-2" > < button disabled = { data . loggedIn == 0 } onClick = { ( ) => this . PayVideo ( data . displayId ) } className = 'myButton' > < img src = { require ( '../../src/image/play2.png' ) } className = "playimg" / > < / button > < / div > < div className = "col-sm-2" > < img src = { require ( '../../src/image/icons8-eye-48.png' ) } className = "playimg" onClick = "#" data-tip = "Under Development" style = { { "pointer-events" : "all" } } / > < ReactTooltip / > < / div > < div className = { data . loggedIn == 1 ? "box" : "box-red" } > { data . display } < / div > < / div > ) } ) : "Data Not Available." } < / div > < / div > < / div > < / div > : < div > < / div > } < / div > ) ; }
Render function to load the html content
Render function to load the html content