Skip to content

Commit 6fb752e

Browse files
committed
update
1 parent 3a1e90f commit 6fb752e

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

swiftui-loop-videoplayer-example/views/controls/VideoURLPicker.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct VideoURLPicker: View {
2929

3030
// Hope all the links work! :)
3131
fileprivate 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
}

swiftui-loop-videoplayer-example/views/video/Video2.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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"))

swiftui-loop-videoplayer-example/views/video/Video3.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ struct Video3 : VideoTpl{
3333
ExtVideoPlayer{
3434
VideoSettings{
3535
SourceName(Video3.sourceName)
36-
ErrorWidgetOff()
3736
Loop()
3837
}
3938
}

swiftui-loop-videoplayer-example/views/video/Video8.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)