diff --git a/data/com.github.rafostar.Clapper.gschema.xml b/data/com.github.rafostar.Clapper.gschema.xml
index 0854adef..2d5fe6e1 100644
--- a/data/com.github.rafostar.Clapper.gschema.xml
+++ b/data/com.github.rafostar.Clapper.gschema.xml
@@ -99,6 +99,12 @@
Set PlayFlags for playbin
+
+
+ false
+ Enable to use adaptive streaming
+
+
'[800, 490]'
diff --git a/src/youtube.js b/src/youtube.js
index c84b2010..325e9262 100644
--- a/src/youtube.js
+++ b/src/youtube.js
@@ -6,6 +6,7 @@ const Misc = imports.src.misc;
const YTDL = imports.src.assets['node-ytdl-core'];
const debug = Debug.ytDebug;
+const { settings } = Misc;
const InitAsyncState = {
NONE: 0,
@@ -358,7 +359,7 @@ var YouTubeClient = GObject.registerClass({
return null;
/* TODO: Options in prefs to set preferred video formats and adaptive streaming */
- const isAdaptiveEnabled = false;
+ const isAdaptiveEnabled = settings.get_boolean('yt-adaptive-enabled');
const allowedFormats = {
video: [
133,