platform/video.videojs/dist/video.es.js
function parseOptionValue(value, parser) {
  if (parser) {
    value = parser(value);
  }

  if (value && value !== 'none') {
    return value;
  }
}
function parseOptionValue(value, parser) {
  if (parser) {
    value = parser(value);
  }

  if (value && value !== 'none') {
    return value;
  }
}
Get the actual value of an option.

@param  {string} value
The value to get

@param  {Function} [parser]
Optional function to adjust the value.

@return {Mixed}
- Will be `undefined` if no value exists
- Will be `undefined` if the given value is "none".
- Will be the actual value otherwise.

@private