Opened 6 months ago
Closed 4 months ago
#36759 closed enhancement (fixed)
Upgrade MediaElement to 2.21.2
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.6 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | External Libraries | Keywords: | has-patch needs-testing |
| Focuses: | Cc: |
Description
Media Elements JS will not play YouTube video's on FireFox v44. This is a known issue by Media Elements JS and is fixed with version 2.19.0. Here is a direct link to the known issue: https://github.com/johndyer/mediaelement/issues/1684. Is it possible to get Media Elements in WP Core updated from 2.18.1 to latest which does resolve the issue?
Attachments (1)
Change History (11)
#1
@swissspidy
4 months ago
#2
@swissspidy
4 months ago
- Component changed from General to External Libraries
#3
@flyplugins
4 months ago
Yes, 2.21.2 does solve the issue.
I've setup an example in which I dequeue/deregister the current version of MEJS and enqueue the working version. Simply open FireFox and navigate to:
http://s3mm.staging.wpengine.com/youtube-example-with-mejs-version-2-21-2/ <--Issue resolved with 2.21.2
http://s3mm.staging.wpengine.com/youtube-example-with-mejs-version-2-18-1/ <--Issue exists with 2.18.1
Shortcode examples are listed on page.
@swissspidy
4 months ago
#4
@swissspidy
4 months ago
- Keywords has-patch needs-testing added
- Milestone changed from Awaiting Review to 4.6
- Summary changed from MediaElements JS Player Bug with YouTube on FireFox to Upgrade MediaElement to 2.21.2
- Type changed from defect (bug) to enhancement
#5
@ocean90
4 months ago
- Owner set to ocean90
- Status changed from new to accepted
- Version trunk deleted
We also have to update the Flash and Silverlight files others the player would be broken in IE8.
#8
@sakibmoon
4 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
For me youtube share link works, but the full URL do not
[video src="https://www.youtube.com/watch?v=mhnuES3Zgr4"] do not work for me but [video src="https://youtu.be/mhnuES3Zgr4"] works. Note that both of them are same url.
#9
@flyplugins
4 months ago
I just tested with version 38002 an it worked as expected for both Chrome and FireFox. As @sakibmoon mentioned, you must use the "share URL":
[video src="https://youtu.be/57MKxz4pJKE"]
The current version of MediaElement.js is 2.21.2. Does that version indeed solve the issue with YouTube videos? Because the issue you linked to is still open and hasn't been updated since April.