Addressing Video Playback Issues on Landing Page
The Issue
Users reported that embedded WebM videos on the landing page were not playing correctly across all browsers and devices. This was particularly noticeable with VP9-encoded WebM files.
The Solution
To ensure a consistent and reliable user experience, the decision was made to temporarily remove the problematic WebM video files and rely solely on MP4 versions for video playback.
The following files were removed:
public/assets/videos/devlog-promo-de.webmpublic/assets/videos/devlog-promo-en.webmpublic/assets/videos/devlog-promo-es.webmpublic/assets/videos/devlog-promo-fr.webmpublic/assets/videos/devlog-promo-mobile-de.webmpublic/assets/videos/devlog-promo-mobile-en.webmpublic/assets/videos/devlog-promo-mobile-es.webmpublic/assets/videos/devlog-promo-mobile-fr.webm
Justification
While WebM offers potential benefits in terms of compression and open-source compatibility, consistent playback across diverse environments is paramount. MP4, with its wider support, provides a more dependable solution for the immediate needs of the landing page.
Next Steps
Further investigation into the VP9 encoding and browser compatibility issues with the WebM videos is planned. This will involve:
- Testing different encoding settings for WebM.
- Analyzing browser-specific behavior.
- Considering alternative video formats or codecs for future implementation.
Once a reliable solution is identified, WebM support may be reintroduced to the landing page.