Skip to content

Commit ebea6f4

Browse files
committed
Updated README.md
1 parent 69235ff commit ebea6f4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,7 @@ youTubePlayer.stop()
277277
youTubePlayer.seek(to: 60, allowSeekAhead: false)
278278

279279
// Closes any current picture-in-picture video and fullscreen video
280-
await youTubePlayer.closeAllMediaPresentations
281-
282-
// Take a snapshot image from the current video
283-
let snapshotImage = try await youTubePlayer.takeSnapshot()
280+
await youTubePlayer.closeAllMediaPresentations()
284281
```
285282

286283
#### Events

0 commit comments

Comments
 (0)