# How to embed flash as onebox

**URL:** <https://meta.discourse.org/t/how-to-embed-flash-as-onebox/40366>\
**Category:** Product Support\
**Created:** [March 1, 2016, 3:48am UTC](https://meta.discourse.org/t/how-to-embed-flash-as-onebox/40366 "2016-03-01T03:48:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [March 1, 2016, 11:32pm UTC](https://meta.discourse.org/t/how-to-embed-flash-as-onebox/40366/3 "2016-03-01T23:32:42Z")

</div>

Looking at the regular expression URL matching I believe is in play here:

> <https://github.com/discourse/discourse/blob/0f7aaf5ab19f593416a0012f223e2f91e6cb0329/lib/onebox/engine/flash_video_onebox.rb#L6>

You may get it to work by modifying the URL from:  
`https://static-s.bilibili.com/live-static/swf/LivePlayerEx_1.swf?room_id=10694&cid=10694&state=LIVE2`  
to:  
`https://static-s.bilibili.com/live-static/swf/LivePlayerEx_1.swf?room_id=10694&cid=10694&state=LIVE2&.swf`

But really this is not something I’ve tried.

---

_[View the full topic](https://meta.discourse.org/t/how-to-embed-flash-as-onebox/40366)._
