import videojs from 'video.js' ; import Player from '../index' ; function generatePlayerOptions ( props , autoPlugins ? ) { const playerOptions = { ... props . playerOptions , ... props . resources , ... props . videojsOptions , plugins : autoPlugins , } ; return playerOptions ; } export default generatePlayerOptions ;