Reply To: Issues playing audio files – project works in Firefox but not Chrome

PennController for IBEX Forums Bug Report Issues playing audio files – project works in Firefox but not Chrome Reply To: Issues playing audio files – project works in Firefox but not Chrome

#8181
aiveris
Participant

Hi 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:33

Here 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:33

Sorry for the ongoing questions, and thanks for your patience!

Best,
Aiden

  • This reply was modified 1 year, 11 months ago by aiveris.