adding support for styles.
updating to support videos