# Embedding in more than one host

**URL:** <https://meta.discourse.org/t/embedding-in-more-than-one-host/62002>\
**Category:** Development\
**Created:** [May 2, 2017, 10:00pm UTC](https://meta.discourse.org/t/embedding-in-more-than-one-host/62002 "2017-05-02T22:00:21Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)\
**Post date:** [May 5, 2017, 6:20pm UTC](https://meta.discourse.org/t/embedding-in-more-than-one-host/62002/11 "2017-05-05T18:20:21Z")

</div>

Sweet merciful goodness I think I have something working.

I have added the necessary column to `:embeddable_hosts` and updated the admin UI for inputting that field.  
(I am not sure what the naming convention for this file should be, I went with `20170505_add_embed_class_name_to_embeddable_hosts.rb`).

I just need to add the `class_name` to the embed erb template, but am not sure how to access it within the template. Any pointers?

Ideally I’d like to add it to the `<html>` tag of the embed as a class…

---

_[View the full topic](https://meta.discourse.org/t/embedding-in-more-than-one-host/62002)._
