adds support for playing media programmatically without requiring user interaction first.