At the bottom of my page, I've added a piece of CDF js code, but it doesn't evoke the Wolfram CDF Player or Mathematica, so I can't play with it.

And I wonder whether it's possible, since I know GitHub pages are some static pages.

enter image description here


Today I found the cdf in my homepage could be aroused by CDF palyer. ???

  • 3
    $\begingroup$ In addition to the embedding code, one usually needs to ensure the webserver sends the right MIME type. And afaik, github does not allow this, see $\endgroup$ – carlosayam Jan 25 '14 at 11:24
  • 3
    $\begingroup$ It's always so funny for a european like me to look on an asian website. I feel like I'm in the middle of a color-storm. I can only guess how boring web-pages like stackexchange must be for you with their very clear and simple design. $\endgroup$ – halirutan Jan 25 '14 at 16:13
  • 1
    $\begingroup$ @halirutan Please No Prejudice! PLEASE! You're looking at the tail of a NormalDistribution! We asian can have less colorful site... (ok it's colorful as well, but hey they're from your code-prettify :P ) $\endgroup$ – Silvia Jan 26 '14 at 7:06
  • $\begingroup$ @caya I've installed CDF player, it seems I can use CDF in my github page now? $\endgroup$ – HyperGroups Mar 15 '14 at 16:02
  • $\begingroup$ Yes, it's possible, see here is one example chenminqi.github.io/%E9%BB%91%E7%99%BD%E6%A3%8B $\endgroup$ – HyperGroups Sep 16 '15 at 14:15

The answer appears no because github doesn't support the proper mimetype for cdf of documents.

Here is the actually list but although cdf is listed I don't believe it is referring to Mathematica's cdf.

Mimetypes are explained here.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.