Fix id of Items, saving
This commit is contained in:
@ -50,16 +50,16 @@ struct InsertableVideo: View, InsertableCommandView {
|
||||
var lines: [String] = []
|
||||
lines.append("```video")
|
||||
if let posterImage {
|
||||
lines.append("\(VideoBlock.Key.poster): \(posterImage.id)")
|
||||
lines.append("\(VideoBlock.Key.poster): \(posterImage.identifier)")
|
||||
}
|
||||
if let videoH265 {
|
||||
lines.append("\(VideoBlock.Key.h265): \(videoH265.id)")
|
||||
lines.append("\(VideoBlock.Key.h265): \(videoH265.identifier)")
|
||||
}
|
||||
if let videoH264 {
|
||||
lines.append("\(VideoBlock.Key.h264): \(videoH264.id)")
|
||||
lines.append("\(VideoBlock.Key.h264): \(videoH264.identifier)")
|
||||
}
|
||||
if let videoWebm {
|
||||
lines.append("\(VideoBlock.Key.webm): \(videoWebm.id)")
|
||||
lines.append("\(VideoBlock.Key.webm): \(videoWebm.identifier)")
|
||||
}
|
||||
if controls { lines.append(VideoBlock.Key.controls.rawValue) }
|
||||
if autoplay { lines.append(VideoBlock.Key.autoplay.rawValue) }
|
||||
|
Reference in New Issue
Block a user