#17108 closed enhancement (invalid)
YouTube iframe embed (HTML5)
Reported by: | ramoonus | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.1 |
Component: | Embeds | Keywords: | 2nd-opinion |
Focuses: | Cc: |
Description
Since July 2010 Youtube supports iframe`s for integrating youtube movies
for users this has two benefits:
html5 video support (still in beta - I know)
valid XHTML pages because of no flash
http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html
Change History (15)
#2
@
14 years ago
- Keywords close added
- Milestone Awaiting Review deleted
Agree with @nacin. Apart from the iframe support in the Visual editor (that is in trunk already) there's not much we can do.
#3
@
14 years ago
i think the new tinymce is good enough.
The iframe-Code is btw. no longer beta. it is the default code for embedding.
Maybe Wordpress or Automattic could contact Google and ask if they are going to provide the iframe code via oEmbed.
#4
@
14 years ago
- Keywords 2nd-opinion added; close removed
- Milestone set to Awaiting Review
Apparently you can add iframe=1 and you get the new embed code. Since this is the default code now, I'm fine with adding on that argument to YouTube requests.
Cross-referencing #16996 for custom parameter support.
#7
follow-up:
↓ 8
@
13 years ago
- Cc PowerKiKi added
Would there be any downside in forcing the iframe=1 parameter ? To me it's sounds like a good idea, but maybe I didn't think of special use-case.
#8
in reply to:
↑ 7
@
13 years ago
Replying to PowerKiKi:
Would there be any downside in forcing the iframe=1 parameter ? To me it's sounds like a good idea, but maybe I didn't think of special use-case.
iframe exploits and browsers plugins blocking iframes for safety
#11
follow-up:
↓ 12
@
13 years ago
There are plugins that will do this already.
The reason that Google has not made this the default behavior is because the Iframe embed code does not yet provide the same APIs for player integration that the Flash player allows.
While they may be edge cases, there are situations where returning the Iframe code when Flash is expected could break things.
#12
in reply to:
↑ 11
@
13 years ago
Replying to pathawks:
There are plugins that will do this already.
The reason that Google has not made this the default behavior is because the Iframe embed code does not yet provide the same APIs for player integration that the Flash player allows.
While they may be edge cases, there are situations where returning the Iframe code when Flash is expected could break things.
its better to include permanent fixes in the core instead of creating workarounds
#13
@
13 years ago
The YouTube team answered a question about this at Google I/O 2011
Google I/O 2011: YouTube's iframe Player: The Future of Embedding
They said that they were worried about breaking compatibility with existing systems that rely on Flash code being returned.
#14
@
13 years ago
- Resolution set to invalid
- Status changed from new to closed
Youtube now returns the iframe based code in their oembed responses by default. Thus, this ticket is now outdated.
No idea when they started doing this, but this gives me back an iframe response:
http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DoHg5SJYRHA0&format=json
Beyond iframe support in TinyMCE (in trunk), I don't see how that affects us. We use whatever HTML is provided via oEmbed.