gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
178 stars 134 forks source link

Valid video URL for lesson featured video does not display #2749

Closed brianhogg closed 1 week ago

brianhogg commented 3 weeks ago

Reproduction Steps

  1. Install and activate LifterLMS
  2. Upload any MP4 video to the media library. Make sure that that video is named a①b.mp4 before the upload.
  3. Create a brand-new course.
  4. Publish two brand-new lessons named Lesson 1 and Lesson 2 on that course.
  5. In the media library, copy the link to a①b.mp4 and then paste that to the Video Embed URL field of Lesson 1. You should have .../a①b.mp4 in the Video Embed URL field of Lesson 1. Save the changes.
  6. In the media library, copy the link to a①b.mp4, and then paste that to the URL bar of your browser. Copy the link in the URL bar and the paste that to the Video Embed URL field of Lesson 2. You should have .../a%E2%91%A0b.mp4 in the Video Embed URL field of Lesson 2. Save the changes.
  7. View Lesson 1 and Lesson 2 on the front end.

Expected Behavior

Both videos in Lesson 1 and Lesson 2 should display on the front-end.

Actual Behavior

The video in Lesson 1 does no display on the front end. But the video on Lesson 2 displays on the front-end.