update iframebinding function to handle embed objects too
STUD-823