Skip to content

Commit c9e5bf1

Browse files
committed
feat(video-player): add getOriginalCurrentSource method to retrieve original source
1 parent 4679d67 commit c9e5bf1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • packages/video-player/javascript

packages/video-player/javascript/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ class ImageKitVideoPlayerPlugin extends Plugin {
147147
getCurrentSource: () => {
148148
return this.currentSource_;
149149
},
150+
getOriginalCurrentSource: () => {
151+
return this.originalCurrentSource_;
152+
},
150153
onSourceUpdate: (source: SourceOptions) => {
151154
this.currentSource_ = source;
152155
},

0 commit comments

Comments
 (0)