Whether a song that has a video opens as the video. A listener's own choice of the song or the video, and a browser that saves data, come first.
Parameters
$videobool- True to open as the video, false for the song.
More Information
Usage
add_filter( 'riff_video_first', function ( $video ) {
return $video;
} );Source
'video' => (bool) apply_filters( 'riff_video_first', true ),plugins/riff/src/class-player.phpView on GitHub
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |