What is <object>tag ?
The <object> tag defines an embedded object within an HTML document. Use this element to embed multimedia (like audio, video, Java applets, ActiveX, PDF, and Flash) in your web pages.
You can also use the <object> tag to embed another webpage into your HTML document.
Please refer this example to know Object Tag – Example
What is embed tag ?
The tag defines a container for an external application or interactive content (a plug-in).
Find object name coloredSquare help to find flash object on HTML web page.
check out object name myFlashMovie which is used to locate flash object on webpage.
check out for movie_player name of the object. which is useful for automate youtube player