Your html code looks like correct, here is a sample:
http://www.w3schools.com/TAGS/tag_object.asp
I would try to set a breakpoint to the property getter and check whether it is called. Getters are always called before setters during control initialization. If it is not called, probably you forgot to add your prop to property map or something like that…