aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Page.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 0d45b9e..2d10d50 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -117,13 +117,15 @@ namespace QuickMedia {
std::string get_url() { return url; }
// Returns empty string for no timestamp or if the video doesn't support timestamps
virtual std::string get_url_timestamp() { return ""; }
- // Falls back to |get_url| if this and |get_audio_url| returns empty strings
+ // Falls back to |get_url| if this and |get_audio_url| returns empty strings.
+ // Might do a network request.
virtual std::string get_video_url(int max_height, bool &has_embedded_audio) {
(void)max_height;
has_embedded_audio = true;
return "";
}
- // Only used if |get_video_url| sets |has_embedded_audio| to false
+ // Only used if |get_video_url| sets |has_embedded_audio| to false.
+ // Might do a network request.
virtual std::string get_audio_url() { return ""; }
virtual std::string url_get_playable_url(const std::string &url) { return url; }
virtual bool video_should_be_skipped(const std::string &url) { (void)url; return false; }