Getting YouTube to serve VP8/VP9 MSE-compatible videos

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

We're developing an embeddable browser and at the moment we're in the process of adding MSE support (specifically targeting YouTube embedded videos, in order to be able to play higher quality videos).

We currently only support WebM (VP8/VP9 + vorbis) encoded videos. One of the issues we are facing right now is that YouTube refuses to serve us WebM videos and just falls back to non-MSE playback in most cases. This is an example of a video which is being served to us using MSE in WebM format. We are returning true to all video/webm and audio/webm (except opus) isTypeSupported calls.

How can we get YouTube to serve us WebM videos whenever possible? The way we're testing at the moment is either by directly opening a video through the YouTube website or by using an page which contains a single iframe for the video:




  
  MSE Demo


  


This is the user agent we are currently identifying as:

Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.86 Safari/537.36

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.