Irev-Dev / cadhub

We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
https://cadhub.xyz
GNU General Public License v3.0
320 stars 60 forks source link

FEAT: Create basic model embed #588

Closed franknoirot closed 2 years ago

franknoirot commented 2 years ago

Creates a new /embed view for all projects, which shows the viewer with minimal overlays. Makes it possible to embed this view within blog posts via <iframe>, although future work is needed to incorporate the embed markup into the Share modal.

Screen Shot 2022-01-08 at 11 35 13 PM
Irev-Dev commented 2 years ago

I'll bring it up here since related to iframe, At one point I had an idea about using a twitter player card for a cadhub experience on twitter #97, but looking at their docs it says "Do not circumvent the intended use of the Card. Player Cards are reserved for linear audio and video consumption only." so I don't know how sketch fab got their player approved.

Maybe I should try and contact twitter's dev support 🤷

franknoirot commented 2 years ago

I'll bring it up here since related to iframe, At one point I had an idea about using a twitter player card for a cadhub experience on twitter #97, but looking at their docs it says "Do not circumvent the intended use of the Card. Player Cards are reserved for linear audio and video consumption only." so I don't know how sketch fab got their player approved.

Maybe I should try and contact twitter's dev support 🤷

Yeah that appears to have been a special partnership that came kind of out of nowhere and doesn't appear to have been repeated, maybe the sort of thing that came from people who work at each company knowing each other or something. But def worth a shot at some point.