HTML5 video
Support for HTML5 video has been steadily increasing. In June 2013, Netflix added support for HTML5 video. In January 2015, YouTube switched to using HTML5 video instead of Flash by default. In December 2015, Facebook switched from Flash to HTML5 for all video content.
Adobe Flash
Firefox (from version 46) rewrites old Flash-only YouTube embed code into YouTube's modern embedded player that is capable of using either HTML5 or Flash. Such embed code is used by non-YouTube sites to embed YouTube's videos, and can still be encountered, for example, on old blogs and forums.