src/Object/MediaObject.php
public function getParams($key = null) {
		if (!empty($this->_stub['iframe-player']) && $this->config['prefer'] === 'iframe') {
			if ($key === null) {
				return $this->_iframeParams;
			}
			if (!isset($this->_iframeParams[$key])) {
				return null;
			}
			return $this->_iframeParams[$key];
		}

		if ($key === null) {
			return $this->_objectParams;
		}
		if (!isset($this->_objectParams[$key])) {
			return null;
		}
		return $this->_objectParams[$key];
	}
public function getParams($key = null) {
		if (!empty($this->_stub['iframe-player']) && $this->config['prefer'] === 'iframe') {
			if ($key === null) {
				return $this->_iframeParams;
			}
			if (!isset($this->_iframeParams[$key])) {
				return null;
			}
			return $this->_iframeParams[$key];
		}

		if ($key === null) {
			return $this->_objectParams;
		}
		if (!isset($this->_objectParams[$key])) {
			return null;
		}
		return $this->_objectParams[$key];
	}
public function getParams ( $ key = null ) { if ( ! empty ( $ this -> _stub [ 'iframe-player' ] ) && $ this -> config [ 'prefer' ] === 'iframe' ) { if ( $ key === null ) { return $ this -> _iframeParams ; } if ( ! isset ( $ this -> _iframeParams [ $ key ] ) ) { return null ; } return $ this -> _iframeParams [ $ key ] ; } if ( $ key === null ) { return $ this -> _objectParams ; } if ( ! isset ( $ this -> _objectParams [ $ key ] ) ) { return null ; } return $ this -> _objectParams [ $ key ] ; }
Return object params about the video metadata

@param string|null $key
@return array|string|null Object params
Return object params about the video metadata