In the TPL files, the audio player seems to be populated by this line of code:

<a href="<?php print $audio_file; ?>"><?php print $audio_title; ?></a>

I'm wondering where in the code the $audio_file variable pulls the URL to embed via href in the code. In short, I'm wanting to change the source so I can print the URL from a text field into the $audio_file variable. So, instead of pulling the $audio_file URL from the uploaded file, it populates it from "textbox1" field.

Comments

TechDude created an issue. See original summary.

ssimdev’s picture

Status: Active » Fixed

This could be related to issue Support for external Media files - support link field. To give you short help for customization: In your custom module with hook_field_formatter_view() you can try to overwrite $items['uri'].

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.