We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Functionality missing after publishing project

Home Forums General Questions Functionality missing after publishing project

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #52906
    gdoes
    Participant

    Hey guys and gals!

    So I got my first project up and running.
    I hit the publish button and mostly it works fine – except for two things. :scratch:

    #1 I embedded custom fonts. 3 Typefaces. Two of them show up fine. They are all predefined via @font-face, all are included in the project as files and path’s are perfectly fine. Yet one typeface doesn’t show up in the published project. It’s only used in h1 and h2. Does that make a problem?

    #2 I have background music running. When I start the App locally the track plays and is responding to the HTML mute/unmute button. Yet, when the project is published the sound-file won’t run until after I mute3d and unmuted it once. :wacko:

    I can’t figure out why the published project is not running as locally. Why the differences? :scratch:

    Thats the link >>>
    https://v3d.net/8ct

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:1ee46e38db/applications/GDOES_RMM_RetroMediaMuseum/index.html

    >>>>>
    https://www.gdoesinger.at
    Take-Off? Ready when you are!

    #52908
    kdv
    Participant

    #2

    The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu

    requires an interaction before playing sounds…

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #52909
    gdoes
    Participant

    About #1 SOLVED >>> I found out that when you define a typeface via @font-face and publish a project the link to the font-file is case-sensitive! That goes for the whole filename.

    One had the OTF-extension in lower-case and was referred to in the CSS in upper-case. The filename must be exact, letter for letter, sign for sign. :scratch: :yahoo:

    >>>>>
    https://www.gdoesinger.at
    Take-Off? Ready when you are!

    #53188

    Hi gdoes,

    Regarding the question 2: that’s what kdv77kdv said – the browser generally needs user interaction before it can play sounds on a webpage. One possible solution here is to create a “launch” button that starts your whole application. Clicking it is a user action that can be used to start background music.

    Co-founder and lead developer at Soft8Soft.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.