/**
 * Video.tsx
 *
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT license.
 *
 * Windows-specific implementation of the cross-platform Video abstraction.
 */ import * as React from 'react' ; import * as RN from 'react-native' ; import * as RX from 'reactxp' ; import extend = require ( 'lodash/extend' ) ; import * as Types from '../common/Types' ; export interface VideoState { isPlaying ? : boolean ; duration ? : number ; } class Video extends RX . Component < Types . VideoProps , VideoState > { render ( ) { const combinedStyles = extend ( RX . Styles . combine ( this . props . style ) , { backgroundColor : 'red' , } ) ; return ( < RN . View style = { combinedStyles } > < RN . Text > Video < /RN.Text> < /RN.View>); } seek ( position ) { } seekPercent ( percentage ) { } play ( ) { } pause ( ) { } stop ( ) { this . pause ( ) ; this . seek ( 0 ) ; } mute ( muted ) { } } export default Video ;