remove embed
This commit is contained in:
@@ -8,7 +8,7 @@ use crate::status::*;
|
||||
use crate::util::cache::VideoCache;
|
||||
use crate::util::parse_abbreviated_number;
|
||||
use crate::util::requester::Requester;
|
||||
use crate::videos::{ServerOptions, VideoEmbed, VideoFormat, VideoItem};
|
||||
use crate::videos::{ServerOptions, VideoFormat, VideoItem};
|
||||
use async_trait::async_trait;
|
||||
use chrono::DateTime;
|
||||
use error_chain::error_chain;
|
||||
@@ -1038,12 +1038,7 @@ sys.stdout.buffer.write(response.content)
|
||||
}
|
||||
}
|
||||
|
||||
if let Some((embed_html, iframe_url)) = selected_embed.or(fallback_embed) {
|
||||
item.embed = Some(VideoEmbed {
|
||||
html: embed_html,
|
||||
source: iframe_url.clone(),
|
||||
});
|
||||
|
||||
if let Some((_embed_html, iframe_url)) = selected_embed.or(fallback_embed) {
|
||||
let proxy_url = self.proxied_video(options, page_url);
|
||||
if Self::is_allowed_vidara_iframe_url(&iframe_url) {
|
||||
match self.resolve_vidara_stream(&iframe_url).await {
|
||||
|
||||
Reference in New Issue
Block a user