private function getCustomMetaDataField($videoId, $customMetaDataField)
    {
        $customMetaData = $this->getVideo($videoId)->getCustomMetadata();

        return array_key_exists($customMetaDataField, $customMetaData)
            ? (float) $customMetaData[$customMetaDataField]
            : 0;
    }
private function getCustomMetaDataField($videoId, $customMetaDataField)
    {
        $customMetaData = $this->getVideo($videoId)->getCustomMetadata();

        return array_key_exists($customMetaDataField, $customMetaData)
            ? (float) $customMetaData[$customMetaDataField]
            : 0;
    }
private function getCustomMetaDataField ( $ videoId , $ customMetaDataField ) { $ customMetaData = $ this -> getVideo ( $ videoId ) -> getCustomMetadata ( ) ; return array_key_exists ( $ customMetaDataField , $ customMetaData ) ? ( float ) $ customMetaData [ $ customMetaDataField ] : 0 ; }
Returns a meta data field of a video always as a number.

@param $videoId
@param $customMetaDataField

@return float|int
Returns a meta data field of a video always as a number .