Camtasia Icon

Embed a Flash video on a webpage or blog

FMPEG-4 videos are ideal for sharing your video content within a web browser or if your audience is on different operating systems. You can create a Flash video (MPEG-4) in Camtasia to embed on a webpage or blog.

Embed a video (MPEG-4) on a webpage or blog

1

Open the source code for the index.html file by completing any of the following:

  • Open the .html file in an HTML editor, such as Adobe Dreamweaver.
  • Control-click the .html file and select Open With > TextEdit.
  • Double-click the .html file. In a web browser, select the View Source option. In Safari, select View > View Source.

 

2

Copy the following highlighted code from the index.html file and paste the code under the <head> tag on your webpage:
HTML code to insert under head tag

3

Copy the following highlighted code from the index.html file and paste the code into the body of your webpage where you want to embed the video:

HTML code to insert within the body

If your website or blog does not support javascript or certain tags, copy the simple embed code from the index.html instead:

Simple HTML code to insert within the body

4

Copy the following files into your webpage's directory: index.html and the Media folder. Note: In some websites or blogs, you may need to edit the code to point to the correct directory path.

If the viewer has the required version of the Flash Player installed, the embedded video displays within the webpage or blog.

You can also embed a video on a blog by uploading your video to Screencast.com and copying the video's embed code,see Share to Screencast.com.

See also

Share to Screencast.com

Export a Flash video