Added player functionality based on iframe