# Google Drive video link does not embed video

**URL:** <https://meta.discourse.org/t/google-drive-video-link-does-not-embed-video/59719>\
**Category:** Bug\
**Created:** [Mars 22, 2017, 11:19 UTC](https://meta.discourse.org/t/google-drive-video-link-does-not-embed-video/59719 "2017-03-22T23:19:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [Mars 22, 2017, 11:32 UTC](https://meta.discourse.org/t/google-drive-video-link-does-not-embed-video/59719/2 "2017-03-22T23:32:14Z")

</div>

The opengraph tags for that link look like this:

```plaintext
<meta property="og:video" content="https://video.google.com/get_player?docid=0BwkewGYgOeyIVWhRY2pjTi1LQmM&amp;ps=docs&amp;partnerid=30&amp;cc_load_policy=1">
<meta property="og:video:type" content="application/x-shockwave-flash">

```

So google is supplying an flash format video 🙄

The current “generic onebox” behavior is to assume it’s an html embed, unless it’s an MP4 embed:

[https://github.com/discourse/onebox/blob/master/lib/onebox/engine/whitelisted\_generic\_onebox.rb#L292](https://github.com/discourse/onebox/blob/master/lib/onebox/engine/whitelisted_generic_onebox.rb#L292)

Personally I don’t think Onebox should add logic for flash embeds, they’re not gonna be around much longer anyway. Probably worth just adding a check for video:type=flash, and not oneboxing things that try to use flash.  
If that’s the correct course of action I can make a PR?

---

_[View the full topic](https://meta.discourse.org/t/google-drive-video-link-does-not-embed-video/59719)._
