private function storeCustomMetaData($customMetaData, $videoId)
    {
        // only update custom meta data fields related to rating
        $this->client->setCustomMetaData(
            $this->vmId,
            $videoId,
            $this->filterCustomMetaData($customMetaData)
        );

        // also store custom meta data fields locally, if video is fetched again by function $this->getVideo($videoId)
        $this->getVideo($videoId)->setCustomMetadata($customMetaData);
    }
private function storeCustomMetaData($customMetaData, $videoId)
    {
        // only update custom meta data fields related to rating
        $this->client->setCustomMetaData(
            $this->vmId,
            $videoId,
            $this->filterCustomMetaData($customMetaData)
        );

        // also store custom meta data fields locally, if video is fetched again by function $this->getVideo($videoId)
        $this->getVideo($videoId)->setCustomMetadata($customMetaData);
    }
private function storeCustomMetaData ( $ customMetaData , $ videoId ) { // only update custom meta data fields related to rating $ this -> client -> setCustomMetaData ( $ this -> vmId , $ videoId , $ this -> filterCustomMetaData ( $ customMetaData ) ) ; // also store custom meta data fields locally, if video is fetched again by function $this->getVideo($videoId) $ this -> getVideo ( $ videoId ) -> setCustomMetadata ( $ customMetaData ) ; }
Stores the custom meta data fields with the api client.

@param array  $customMetaData
@param string $videoId
Stores the custom meta data fields with the api client .