diff --git a/app/javascript/components/PlaylistRamp.jsx b/app/javascript/components/PlaylistRamp.jsx
index c74f1fb61d..8961e90699 100644
--- a/app/javascript/components/PlaylistRamp.jsx
+++ b/app/javascript/components/PlaylistRamp.jsx
@@ -50,6 +50,9 @@ const Ramp = ({
let interval;
+ const USER_AGENT = window.navigator.userAgent;
+ const IS_MOBILE = (/Mobi/i).test(USER_AGENT);
+
React.useEffect(() => {
let url = `${base_url}/playlists/${playlist_id}/manifest.json`;
setManifestUrl(url);
@@ -86,7 +89,7 @@ const Ramp = ({
{activeItemTitle}
- { activeItemSummary &&