SvenTiigi / YouTubePlayerKit

A Swift Package to easily play YouTube videos 📺
https://sventiigi.github.io/YouTubePlayerKit/
MIT License
717 stars 64 forks source link

Ability to loop the same video again while video is muted & on Tap trigger full screen and unmute video #32

Closed RushanB closed 2 years ago

RushanB commented 2 years ago

Motivation

Load a single video, when video is finished it will restart from the beginning.

Solution

This will allow us to show small a preview of a video in a view, then when a user taps on it - it will expand into a full screen video.

Additional context

Current youtube app allows us to see previews while we hover over the video. My idea is similar but to have previews of a video playing in the background while the video is on mute. When the user taps on it it will go full screen and unmute.

SvenTiigi commented 2 years ago

Hi @RushanB,

Thanks for your feature request. Is there anything that would stop you from creating a component like you described in your issue by using the YouTubePlayerKit?

Adding a component that would replicate the video preview cell of the YouTube app is currently not in the context of this Swift Package.

SvenTiigi commented 2 years ago

Closing this issue due to inactivity. Feel free to re-open the issue at any time.