adds support for playing media programmatically without requiring user intervention