mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Support loading external subtitles and multiple videos
This commit is contained in:
@@ -147,6 +147,14 @@ class ClapperPlayer extends PlayerBase
|
||||
return this._playlist;
|
||||
}
|
||||
|
||||
set_subtitles(uri)
|
||||
{
|
||||
this.set_subtitle_uri(uri);
|
||||
this.set_subtitle_track_enabled(true);
|
||||
|
||||
debug(`applied subtitle track: ${uri}`);
|
||||
}
|
||||
|
||||
set_visualization_enabled(value)
|
||||
{
|
||||
if(value === this.visualization_enabled)
|
||||
|
Reference in New Issue
Block a user