Comment history
Versions of a comment on YouTube livestream embeds do not embed correctly if used with share link ( https://youtube.com/live/ ), newest first.
Current version | Edited by Nsgr
Changes
Can be fixed by adding /live/ to the paths in the youtube resolver like this:Added: ```Added: if path.starts_with("/live/") {Added: return pathAdded: .strip_prefix("/live/")?Added: .split('/')Added: .next()Added: .map(|s| s.to_owned());Added: }Added: ```Added: Tested locally.
Show
Can be fixed by adding /live/ to the paths in the youtube resolver like this:
Tested locally.
if path.starts_with("/live/") {
return path
.strip_prefix("/live/")?
.split('/')
.next()
.map(|s| s.to_owned());
}
Edited by Nsgr
Changes
Can be fixed by adding /live/ to the paths in the youtube resolver like this:Added: Added: Tested locally.
Show
Can be fixed by adding /live/ to the paths in the youtube resolver like this:
Tested locally.
Original by Nsgr
Show
Can be fixed by adding /live/ to the paths in the youtube resolver like this: