Skip to content

Commit

Permalink
Merge branch 'jb51471' into 'master'
Browse files Browse the repository at this point in the history
Update audio controls

See merge request mer-core/embedlite-components!89
  • Loading branch information
llewelld committed Oct 20, 2020
2 parents 899e097 + 3fc7689 commit 2698c4e
Show file tree
Hide file tree
Showing 28 changed files with 325 additions and 101 deletions.
3 changes: 2 additions & 1 deletion embedlite-components.pro
Expand Up @@ -9,5 +9,6 @@ OTHER_FILES += \
jsscripts/sync/*.js \
jscomps/*.js \
jscomps/*.jsm \
overrides/* \
overrides/*.* \
overrides/images/* \
configure.ac
23 changes: 15 additions & 8 deletions link_to_system.sh
Expand Up @@ -86,15 +86,22 @@ ln -s $(pwd)/overrides/aboutCertError.xhtml $TARGET_DIR/chrome/chrome/content/
ln -s $(pwd)/overrides/netError.xhtml $TARGET_DIR/chrome/chrome/content/
ln -s $(pwd)/overrides/netError.css $TARGET_DIR/chrome/chrome/skin/
ln -s $(pwd)/overrides/touchcontrols.css $TARGET_DIR/chrome/chrome/skin/
ln -s $(pwd)/overrides/images/mute-hdpi.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/pause-hdpi.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/play-hdpi.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/unmute-hdpi.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/clicktoplay-bgtexture.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/error.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/exitfullscreen-hdpi.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/fullscreen-hdpi.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/throbber.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/scrubber-hdpi.png $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/icon-m-pause.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/icon-m-play.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/icon-m-speaker-mute.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/icon-m-speaker-on.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videoClickToPlayButton.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-cast-active.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-cast-ready.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-exitfullscreen.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-fullscreen.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-mute.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-pause.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-play.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-scrubber.svg $TARGET_DIR/chrome/chrome/skin/images/
ln -s $(pwd)/overrides/images/videocontrols-unmute.svg $TARGET_DIR/chrome/chrome/skin/images/

rm -rf $TARGET_DIR/chrome/en-US/locale/branding;
rm -rf $TARGET_DIR/chrome/en-US/locale/en-US/browser;
Expand Down
27 changes: 17 additions & 10 deletions overrides/Makefile.am
Expand Up @@ -12,16 +12,23 @@ chromeskin_manifest_DATA = \

chromeskinimages_manifestdir=$(libdir)/mozembedlite/chrome/chrome/skin/images
chromeskinimages_manifest_DATA = \
images/error.png \
images/exitfullscreen-hdpi.png \
images/fullscreen-hdpi.png \
images/mute-hdpi.png \
images/pause-hdpi.png \
images/play-hdpi.png \
images/scrubber-hdpi.png \
images/throbber.png \
images/unmute-hdpi.png \
$(NULL)
images/clicktoplay-bgtexture.png \
images/error.png \
images/icon-m-pause.svg \
images/icon-m-play.svg \
images/icon-m-speaker-mute.svg \
images/icon-m-speaker-on.svg \
images/videoClickToPlayButton.svg \
images/videocontrols-cast-active.svg \
images/videocontrols-cast-ready.svg \
images/videocontrols-exitfullscreen.svg \
images/videocontrols-fullscreen.svg \
images/videocontrols-mute.svg \
images/videocontrols-pause.svg \
images/videocontrols-play.svg \
images/videocontrols-scrubber.svg \
images/videocontrols-unmute.svg \
$(NULL)

manifestsscript_manifestdir=$(libdir)/mozembedlite/chrome
manifestsscript_manifest_DATA = \
Expand Down
Binary file added overrides/images/clicktoplay-bgtexture.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified overrides/images/error.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed overrides/images/exitfullscreen-hdpi.png
Binary file not shown.
Binary file removed overrides/images/fullscreen-hdpi.png
Binary file not shown.
20 changes: 20 additions & 0 deletions overrides/images/icon-m-pause.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions overrides/images/icon-m-play.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions overrides/images/icon-m-speaker-mute.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions overrides/images/icon-m-speaker-on.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed overrides/images/mute-hdpi.png
Binary file not shown.
Binary file removed overrides/images/pause-hdpi.png
Binary file not shown.
Binary file removed overrides/images/play-hdpi.png
Binary file not shown.
Binary file removed overrides/images/scrubber-hdpi.png
Binary file not shown.
Binary file removed overrides/images/throbber.png
Binary file not shown.
Binary file removed overrides/images/unmute-hdpi.png
Binary file not shown.
30 changes: 30 additions & 0 deletions overrides/images/videoClickToPlayButton.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions overrides/images/videocontrols-cast-active.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions overrides/images/videocontrols-cast-ready.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions overrides/images/videocontrols-exitfullscreen.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions overrides/images/videocontrols-fullscreen.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions overrides/images/videocontrols-mute.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions overrides/images/videocontrols-pause.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2698c4e

Please sign in to comment.