File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed
swiftui-loop-videoplayer-example/views Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ struct VideoURLPicker: View {
2929
3030// Hope all the links work! :)
3131fileprivate let videoOptions = [
32- " Apple HLS Stream from URL" : " https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8 " ,
32+ " HLS Apple Stream from URL " : " https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8 " ,
3333 " Big Buck Bunny from URL " : " https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 " ,
3434 " Elephant's Dream from URL " : " https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4 " ,
3535 " Sintel " : " https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 " ,
@@ -42,5 +42,5 @@ extension VideoURLPicker{
4242
4343 static let subtitlesFromFileVideo = " https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4 "
4444
45- static let initVideo = " https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master .m3u8 "
45+ static let initVideo = " https://devstreaming-cdn.apple.com/videos/streaming/examples/adv_dv_atmos/main .m3u8 "
4646}
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ struct Video2 : VideoTpl{
2020 VideoSettings {
2121 SourceName ( " swipe " )
2222 Loop ( )
23- ErrorGroup {
24- EFontSize ( 27 )
25- }
2623 }
2724 } . accessibilityIdentifier ( Self . videoPlayerIdentifier)
2825 } . background ( Color ( " app_blue " ) )
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ struct Video3 : VideoTpl{
3333 ExtVideoPlayer {
3434 VideoSettings {
3535 SourceName ( Video3 . sourceName)
36- ErrorWidgetOff ( )
3736 Loop ( )
3837 }
3938 }
Original file line number Diff line number Diff line change @@ -101,6 +101,6 @@ fileprivate func getSettings(for name: String) -> VideoSettings{
101101 SourceName ( name)
102102 Gravity ( . resizeAspectFill)
103103 TimePublishing ( )
104- // Mute()
104+ Mute ( )
105105 }
106106}
You can’t perform that action at this time.
0 commit comments