zhouzhuojie / hast

Hast, an on-the-fly presentation for everyone! Realtime broadcasting and hot push changes. Using Meteor, DeckJS, aceEditor, etc
hast.me
103 stars 18 forks source link

Is this embeddable? #3

Closed nadeemja closed 8 years ago

nadeemja commented 9 years ago

Hi,

Forgive the possibly stupid question, but is this embeddable?

Like embedded presentations on slideshare. (example: http://www.slideshare.net/andrewreedy/rapid-mobile-development-with-meteorjs)

sallespro commented 9 years ago

yes, when you get a link to a slidedeck, it will render the whole app to present the deck.

nadeemja commented 9 years ago

Thank you for answering me. I don't think I entirely understood.

Will it render the whole app inside a wrapper, for example, that doesn't fill the whole screen?

Could I do something like this:

  <div style='width:400px;height:400px'> embed here </div>
zhouzhuojie commented 9 years ago

@nadeemja Of course you can embed it. But try to use the <iframe> tag. For example,

 <iframe 
         src="http://www.hast.me/hast/KWcAQ9AL4EEMb3wqR" 
         frameborder="0" width=600 height=400>
</iframe>

test iframe