# Incompatibility between CDF document and reveal.js

I am making some reveal.js-based slides with a CDF document embedded. The minimal example include the files:

<!-- test.md -->
# Title
<embed src="test.cdf"/>

(* test.cdf *)
Export["test.cdf", ParametricPlot3D[{Sin[u], Cos[u], u/10}, {u, 0, 20}]]


then convert test.md to test.html with pandoc via

pandoc -t revealjs -s test.md -o test.html


if you have put the folder reveal.js at the same place.

In my case, the CDF content is invisible in Firefox 39.0, but fine in IE 11. But if you remove the folder reveal.js, you can see the spiral in Firefox. So I guess there is some incompatibility between CDF and reveal.js.

Any ideas to get this around? Thank you.

And the slides also have the same problem (except that IE 11 works) if generated with dzslides: putting the downloaded folder dzslides the same place as test.md, and similarly run
pandoc -t dzslides -s test.md -o test.html

to generate test.html. It may be easier to dig the lighter dzslides.
• @Pickett Thanks for your interest. I added the download link for the test files. In the main text, reveal.js is the name of the slide framework that contains both *.js files and *.css files, and it is also the local name of the folder that keeps the files. Sorry for the confusion. – ziyuang Sep 21 '15 at 15:44