OEmbed (remote video) is already handled similarly to other media components,...

Contribution Date
Technology
Contribution Project
Contribution Details

OEmbed (remote video) is already handled similarly to other media components, with:

civictheme_preprocess_media__civictheme_remote_video for Remote Video
civictheme_preprocess_media__civictheme_video for Video.

Is there a specific reason to use civictheme_media_get_variables() for this case?
In the current setup, this function is used only for attachments (Documents), and an image which always include an associated file.

Issue Status
Active
Contribution Author
Files count
0
Patches count
0