summarylogtreecommitdiffstats
path: root/enable_mse.patch
blob: 08211e660561ed84631f3857f97eb59f4793752b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 55011a974c375adacd8178532a56b18315026a7a Mon Sep 17 00:00:00 2001
From: Giovanni Santini <giovannisantini93@yahoo.it>
Date: Wed, 15 Aug 2018 15:45:48 +0200
Subject: [PATCH] Enabling MSE (Media Source Extensions) and EME (Encrypted
 Media Extensions) MSE and EME support has been merged already within
 WebkitGTK+ and is useful for many video and audio streaming websites (one to
 mention, Youtube). This simple tweak enables MSE and EME when WebkitGTK+ is
 built with the proper flags.

---
 embed/ephy-embed-prefs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 0ce447f30..830d0b58f 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -432,6 +432,8 @@ ephy_embed_prefs_init (gpointer user_data)
                                                        "enable-javascript", TRUE,
                                                        "enable-dns-prefetching", TRUE,
                                                        "javascript-can-open-windows-automatically", TRUE,
+                                                       "enable-mediasource", TRUE,
+                                                       "enable-encrypted-media", TRUE,
                                                        NULL);

   for (i = 0; i < G_N_ELEMENTS (webkit_pref_entries); i++) {
--
2.18.0