Skip to content

Commit

Permalink
DT-548 Fix video and audio in epiphany (#3)
Browse files Browse the repository at this point in the history
When accesing a web page with video (like youtube), epiphany
shown several warnings, notifying that it can't load several
GST plugins.

This patch fixes that, thus allowing to play videos. Also add
the necessary interfaces for video, audio and webcam.

Fix #2
  • Loading branch information
sergio-costas authored Sep 6, 2022
1 parent bd388d3 commit 8df0dbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ apps:
command: bin/snapcraft-preload $SNAP/usr/bin/epiphany
extensions: [ gnome ]
plugs:
- audio-playback
- audio-record
- browser-support
- camera
- cups
- hardware-observe
- home
Expand All @@ -43,15 +47,14 @@ apps:
- network-status
- opengl
- password-manager-service
- pulseaudio
- removable-media
- screen-inhibit-control
- upower-observe
desktop: usr/share/applications/org.gnome.Epiphany.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
GIO_MODULE_DIR: $SNAP/snap/epiphany/current/gnome-platform/usr/lib/$CRAFT_ARCH_TRIPLET/gio/modules/
LD_LIBRARY_PATH: ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/epiphany
LD_LIBRARY_PATH: ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/epiphany:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/blas

parts:
# epiphany needs access to /dev/shm/
Expand Down

0 comments on commit 8df0dbd

Please sign in to comment.