Artesaos\SEOTools\OpenGraph::setVideoEpisode PHP Method

setVideoEpisode() public method

Set video episode properties.
public setVideoEpisode ( array $attributes = [] ) : Artesaos\SEOTools\Contracts\OpenGraph
$attributes array opengraph video.episode attributes
return Artesaos\SEOTools\Contracts\OpenGraph
    public function setVideoEpisode($attributes = [])
    {
        $validkeys = ['actor', 'actor:role', 'director', 'writer', 'duration', 'release_date', 'tag', 'series'];
        $this->setProperties('video.episode', 'videoEpisodeProperties', $attributes, $validkeys);
        return $this;
    }