Eric Weiler
Eric Weiler

Reputation: 33

Does Youtube use <iframe> or <video> for the videos on their own domain?

If not, how do they implement their videos? I am specifically trying to access the playbackRate property on a non-embedded youtube video for a chrome extension.

Upvotes: 0

Views: 154

Answers (2)

Cédric Babeix
Cédric Babeix

Reputation: 139

They use the <video> tag if your browser implements it, if not they use flash. You can check it by looking at the source code of a video page.

Upvotes: -1

clota974
clota974

Reputation: 505

You could inspect their code. If the browser has HTML5 then it uses <video> (with a blob URL !) otherwise it will use Flash.

Upvotes: 2

Related Questions