Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
During the use of downloaded mediaelementplayer local library, an error was encountered in the console: "Uncaught TypeError: $(...).mediaelementplayer is not a function". I have attached a screenshot for reference.
Steps to reproduce
- Add file field and use extension mp4 for video.
- Check the console error on display.
Proposed resolution
- Add check mediaelemetpalyer function in js file.
Comment | File | Size | Author |
---|---|---|---|
#4 | Selection_003.png | 54.66 KB | sumit-k |
Issue fork mediaelement-3426556
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
sumit-k CreditAttribution: sumit-k as a volunteer and at Specbee for Drupal India Association commentedComment #4
sumit-k CreditAttribution: sumit-k as a volunteer and at Specbee for Drupal India Association commented