# Embedding CDF content in HTML page

**URL:** <https://community.wolfram.com/t/embedding-cdf-content-in-html-page/15975>\
**Category:** Questions\
**Tags:** computable-document-format, external-interfaces\
**Created:** [May 12, 2020, 11:35am UTC](https://community.wolfram.com/t/embedding-cdf-content-in-html-page/15975 "2020-05-12T11:35:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![radhikap](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/radhikap/32/19700_2.png) [@radhikap](https://community.wolfram.com/u/radhikap)\
**Post date:** [May 12, 2020, 11:35am UTC](https://community.wolfram.com/t/embedding-cdf-content-in-html-page/15975/1 "2020-05-12T11:35:14Z")

</div>

I tried following the steps for embedding cdf content in html page but it does not work. Please help.

Here is the exact code:

```
<html>
<body>
Hi
<script type="text/javascript" src="http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js"></script>
<script type="text/javascript">
var cdf = new cdfplugin();
cdf.setDefaultContent('<a href="http://www.wolfram.com/cdf-player/"><img src="manipulatesine.png"></a>');
cdf.embed('manipulatesine.cdf', 439, 346);
</script>
</body>
</html>

```
