function youtube_update_7103 in YouTube Field 7
Replace the youtube_playerid setting variable with youtube_player_class.
This is needed to fix issue of duplicate player IDs on the same page.
File
- ./
youtube.install, line 57 - Install, update, and uninstall functions for the youtube module.
Code
function youtube_update_7103() {
$legacy_player_id = variable_get('youtube_playerid');
if ($legacy_player_id) {
variable_set('youtube_player_class', $legacy_player_id);
}
variable_del('youtube_playerid');
}