<

Embedded Flash in HTML5

Posted on
6,102 Points
102 Views
Last Modified:
Experience Level: Beginner
4:07
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5.

Video Steps

1. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>"

2. Use the <object> tag to embed Flash content.

3. To specify that the object is Flash content, define its type using "type='application/x-shockwave-flash'"

4. Define the source of the Flash content by typing "data='Flash.swf'"

5. Other properties of the Flash content can be styled as well, such as width, height, and border

6. Close the object tag using </object>

7. Create a parameter defining the movie by typing <param name="movie". Set the value to the URL of your Flash content by typing value="Flash.swf". Close the tag the same way an <img> tag is close, by typing /> (there is no specific closing tag). Place this <param> tag before the closing </object> tag

8. Optional: Create a parameter defining the playback quality by typing <param name="quality". Set the value of the playback quality by typing value="" and placing either low, medium, or high within the quotation marks. Close the tag the same way an <img> tag is close, by typing /> (there is no specific closing tag). Place this <param> tag before the closing </object> tag

0
0 Comments

Featured Post

JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month