Changes between Initial Version and Version 1 of Ticket #62634
- Timestamp:
- 04/12/2025 09:54:45 PM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62634
- Property Keywords changes-requested removed
- Property Focuses coding-standards removed
-
Property
Component
changed from
Quick/Bulk EdittoMedia -
Property
Summary
changed from
Bug Report: Error in mediaelement-and-player.jstoError in mediaelement-and-player.js
-
Ticket #62634 – Description
initial v1 1 1 **Summary** 2 2 When using bulk select in the WordPress Media Library, selecting different types of media files (e.g., switching from a cloud-hosted video to an image) causes a console error: 3 Uncaught TypeError: Cannot read properties of null (reading 'length'). 4 This issue is traced to the file mediaelement-and-player.js, line 4480.3 `Uncaught TypeError: Cannot read properties of null (reading 'length').` 4 This issue is traced to the file `mediaelement-and-player.js`, line 4480. 5 5 6 6 **Steps to Reproduce** … … 13 13 **Observed Behavior** 14 14 The console logs the error: 15 > Uncaught TypeError: Cannot read properties of null (reading 'length') 16 at mediaelement-and-player.js:4480 15 > `Uncaught TypeError: Cannot read properties of null (reading 'length') at mediaelement-and-player.js:4480` 17 16 18 17 **Expected Behavior** … … 30 29 31 30 **Additional Notes** 32 Issue is likely related to how mediaelement-and-player.jshandles media metadata for files hosted on the cloud vs. locally.33 Potential fix might involve adding a nullcheck or handling edge cases for cloud-hosted media.34 Would you like assistance debugging this further or crafting a patch for mediaelement-and-player.js?31 Issue is likely related to how `mediaelement-and-player.js` handles media metadata for files hosted on the cloud vs. locally. 32 Potential fix might involve adding a `null` check or handling edge cases for cloud-hosted media. 33 Would you like assistance debugging this further or crafting a patch for `mediaelement-and-player.js`?