You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
# SwiftUI video player iOS 14+, macOS 11+, tvOS 14+
2
2
### Please star the repository if you believe continuing the development of this package is worthwhile. This will help me understand which package deserves more effort.
Apple’s VideoPlayer offers a quick setup for video playback in SwiftUI but for example it doesn’t allow you to hide or customize the default video controls UI, limiting its use for custom scenarios. In contrast, this solution provides full control over playback, including the ability to disable or hide UI elements, making it suitable for background videos, tooltips, and video hints. Additionally, it supports advanced features like seamless looping and real-time filter application, adding vector graphics upon the video stream etc. This package uses a declarative approach to declare parameters for the video component based on building blocks. This implementation might give some insights into how SwiftUI works under the hood. You can also pass parameters in the common way.
@@ -33,15 +33,15 @@ You can reach out the effect via mask modifier
33
33
}
34
34
```
35
35
36
-

36
+

37
37
38
38
### By the way
39
-
[Perhaps that might be enough for your needs](https://github.com/igor11191708/swiftui-loop-videoPlayer/issues/7#issuecomment-2341268743)
39
+
[Perhaps that might be enough for your needs](https://github.com/swiftuiux/swiftui-loop-videoPlayer/issues/7#issuecomment-2341268743)
40
40
41
41
42
42
## Testing
43
43
44
-
The package includes unit tests that cover key functionality. While not exhaustive, these tests help ensure the core components work as expected. UI tests are in progress and are being developed [in the example application](https://github.com/igor11191708/swiftui-loop-videoplayer-example). The run_tests.sh is an example script that automates testing by encapsulating test commands into a single executable file, simplifying the execution process. You can configure the script to run specific testing environment relevant to your projects.
44
+
The package includes unit tests that cover key functionality. While not exhaustive, these tests help ensure the core components work as expected. UI tests are in progress and are being developed [in the example application](https://github.com/swiftuiux/swiftui-loop-videoplayer-example). The run_tests.sh is an example script that automates testing by encapsulating test commands into a single executable file, simplifying the execution process. You can configure the script to run specific testing environment relevant to your projects.
45
45
46
46
## Disclaimer on Video Sources like YouTube
47
47
Please note that using videos from URLs requires ensuring that you have the right to use and stream these videos. Videos hosted on platforms like YouTube cannot be used directly due to restrictions in their terms of service. Always ensure the video URL is compliant with copyright laws and platform policies.
@@ -286,9 +286,9 @@ struct VideoView: View {
286
286
## Practical idea for the package
287
287
You can introduce video hints about some functionality into the app, for example how to add positions to favorites. Put loop video hint into background or openas popup.
0 commit comments