import * as React from "react"; import {PlayerHeader} from "./PlayerItemList"; import "jQuery"; import {ReproductionBar} from "./ReproductionBar"; import {RecordingSummary, RecorderData} from "../../../Shared/Shared"; declare let smartformsrecordingparams:any; export class Reproduction extends React.Component{ public $Iframe:JQuery; public $loadingContainer:JQuery; public $iframeContainer:JQuery; private internalWidth:number=0; private internalHeight:number=0; private reproductionBar:ReproductionBar=null; constructor(){ super(); this.state={ HeaderItems:[], Summary:null }; } render(){ if(this.props.ItemToReproduce) { return (
{this.reproductionBar=element}} Summary={this.state.Summary}/>
{this.$iframeContainer=jQuery(node);}} id="playerContainer" style={{overflow:'hidden', minWidth:'300px',minHeight:'200px',position:'relative',textAlign:'center',backgroundColor:"#eee",borderStyle:'solid',borderWidth:'1px',borderColor:'#ddd'}}>