Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasperz committed Dec 2, 2022
1 parent 55973f9 commit 8898cdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
File renamed without changes.
3 changes: 2 additions & 1 deletion src/experiments/39.ffflauta-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Howl } from 'howler'
import { gsap } from 'lib/gsap'
import Image from 'next/image'
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { isSafari } from 'react-device-detect'

import { FullHeightWrapper } from '~/components/common/aspect-canvas'
import { Loader } from '~/components/common/loader'
Expand Down Expand Up @@ -427,7 +428,7 @@ const AudioButton = ({ interacted }) => {
var music = useMemo(
() =>
new Howl({
src: '/audio/flauta-loop.ogg',
src: isSafari ? '/audio/flauta-loop.mp3' : '/audio/flauta-loop.ogg',
autoplay: true,
loop: true,
mute: true,
Expand Down

1 comment on commit 8898cdc

@vercel
Copy link

@vercel vercel bot commented on 8898cdc Dec 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.