8
$\begingroup$

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


Update

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

$\endgroup$
6
  • 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
    Commented Jan 25, 2014 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
    Commented Jan 25, 2014 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
    Commented Jan 26, 2014 at 7:06
  • $\begingroup$ @caya I've installed CDF player, it seems I can use CDF in my github page now? $\endgroup$ Commented Mar 15, 2014 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$ Commented Sep 16, 2015 at 14:15

1 Answer 1

1
$\begingroup$

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.

$\endgroup$
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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