Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

scritch editor

A simple, customizable audio player designed for artists · By torcado

Problem with loading tracks in mobile browser

A topic by A\VA created Feb 28, 2023 Views: 238 Replies: 2
Viewing posts 1 to 3
(7 edits) (+1)

Hello! I understand that the Scritch editor and media player have just been released. Though while using it, I've run into a couple of issues.

The main issue:
When I load my project page on my phone (iPhone 7, iOS 15.7.3) only 74 tracks of the 143 tracks the project contains load.  I've tried to load the page in Safari and the DuckDuckGo's browserapp. I've tried refreshing the page on my phone and this doesn't seem to have any effect, as many tracks still don't load. I tried on a newer iPhone with the same result. I've also found that the native player has to be used for the tracks to be loaded on mobile at all, and that after a track has finished playing, the next track only starts playing when you touch the player at the top of the track list.

In order of occurrence: I press "Play Soundtrack" --> the media player loads and every track shows a blinking sun to the left of them --> then track lengths appear to the right of only some tracks, while others show a dimmed warning sign to their left. The blinking suns don't disappear, as they do on my PC (replaced by a play icon).

Background info:
The 143 tracks span about 2 hours. They're all .mp3 at 320kps, the itch player.zip has a size of 302MB. The tracks vary between a length of 7 seconds up to 3 minutes (this doesn't seem to have an impact, as both short and long tracks don't load).

I've also tried to load the page on a different computer (win 8.1) in Firefox. On the first go 3 tracks didn't load. I refreshed the page and then only one track didn't load. I refreshed again and every track loaded. I tried again and one didn't load. Again and a different one didn't load.

I hope this is enough information to reproduce the problem. I've also made the page public now.

Developer

Hi! Apologies for the delay, I missed this thread somehow :( I have noticed loading issues in the past, and have tried my best to resolve all of them. The most recent version added a new safeguard for track load failure, which was pushed in February (Only the online editor was updated), if you used a version of Scritch before that, I’d try it again. In any case, I can’t seem to reproduce the issue myself with your example page. I don’t have an ios device to test on, but desktop and mobile firefox/chrome all work fine. If the issue isn’t resolved with the new version, I have to suspect it’s an issue with (ios?) safari. With your troubleshooting on windows 8.1 firefox, that seems similar to previous loading issues I’ve since resolved (on my end, at least). If that persists, then I’m not sure what the issue may be.

Not sure if this is possible for ios safari, but if you open the browser’s devtools and see any errors as the tracks attempt to load, that may be helpful.

(3 edits)

I ran into this same issue. I only encounter this on iOS safari. I got the following error:

Blocked a frame with origin "https://stupidplusplus.itch.io" from accessing a frame with origin "https://y6p9d9t4.ssl.hwcdn.net". Protocols, domains and ports must match.