Forum Replies Created
-
AuthorPosts
-
May 16, 2022 at 2:36 pm in reply to: Issues playing audio files – project works in Firefox but not Chrome #8189
aiveris
ParticipantHi Jeremy,
Sorry for the confusion, I had taken those tables down at some point while troubleshooting. But I believe you are correct, I found a mis-named audio file! Thank you again!
Aiden
-
This reply was modified 2 years, 11 months ago by
aiveris.
May 14, 2022 at 1:26 pm in reply to: Issues playing audio files – project works in Firefox but not Chrome #8181aiveris
ParticipantHi Jeremy,
Thanks for taking another look! The experiment seems to work fine for me now so I thought the issue had gone away, but most other people I’ve asked to try it report problems. Most people say the experiment freezes around the half-way point, although one person couldn’t get it past a handful of trials. I’ve noticed that the problems seems to prevent “trials_2.1 from running, regardless of whether I start at the beginning of the experiment, or I skip the first half of the experiment and start at “preload_examples_2.0”. If I start right on “preload_trials_2.1”, then the error occurs in “trials_2.2” instead.
I was using an outdated version of Chrome so I did update it to the most recent update, and I still see the same error in the PennElement_audio.js file. Here are the console error messages in both Firefox and Chrome in case that helps (sorry for the wall of text)!
In Firefox the error is:
Uncaught (in promise) DOMException: The media resource indicated by the src attribute or assigned media provider object was not suitable. PennElement_audio.js:177
play https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNmJNTEE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–41eb2bc617df89e1ef0d11b4298c39818323d0eb/PennElement_audio.js:177
o https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
u https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
AsyncFunctionNext self-hosted:638
(Async: async)
u https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
f/n[e]/< https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
i https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
AsyncFunctionNext self-hosted:638
(Async: async)
i https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
i https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
AsyncFunctionNext self-hosted:638
(Async: async)
i https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
d https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33
_init https://farm.pcibex.net/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeThoRFE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==–8fe275011ab723ccc5d9ce3c30d095bc689bd3d5/PennController.js:33Here is the same error in Chrome:
PennElement_audio.js:177 Uncaught (in promise) DOMException: The element has no supported sources.
play @ PennElement_audio.js:177
(anonymous) @ PennController.js:33
(anonymous) @ PennController.js:33
await in (anonymous) (async)
(anonymous) @ PennController.js:33
(anonymous) @ PennController.js:33
(anonymous) @ PennController.js:33
await in (anonymous) (async)
(anonymous) @ PennController.js:33
(anonymous) @ PennController.js:33
await in (anonymous) (async)
(anonymous) @ PennController.js:33
d @ PennController.js:33
(anonymous) @ PennController.js:33Sorry for the ongoing questions, and thanks for your patience!
Best,
Aiden-
This reply was modified 2 years, 11 months ago by
aiveris.
May 10, 2022 at 7:04 pm in reply to: Issues playing audio files – project works in Firefox but not Chrome #8172aiveris
ParticipantHi Jeremy,
Thank you so much for your quick response and help!
I think I have implemented these changes properly, but it still does not execute the experiment smoothly in Chrome, and stalls frequently. There is one alert message in the editor for the PennElement_audio.js file that might be relevant, but I’m not sure what it means, it reads: ‘async functions’ is only available in ES8 (use eversion: 8).
In case this is stemming from additional problem in my larger experiment code and you happen to have time to check it out, here is the full experiment link: https://farm.pcibex.net/r/SZqFpC/ If not I’ll keep working on it, and update the thread if I figure it out!
Thanks again!
Aiden -
This reply was modified 2 years, 11 months ago by
-
AuthorPosts